Hi Everyone,
I have a peculiar problem. In my code am validating the incoming xml with a schema.
In the schema, its defined like this:
<xs:element name=“WeightDelivered” type=“lsse:Weight5Point2”>
So when the incoming data has “WeightDelivered” as ‘0.000’, its failing, which is obvious.
But when they are sending any other value in the place of trailing 0, suppose, ‘5.000’, its processing fine. But as per the validation, it should fail.
Could somebody please explain why its happening like that.
Regards
Jyoti