I am validating an xml against xsd, which has a parameter, say "code" with datatype as integer.
I was expecting a validation error if I give "code", any value that starts with "0" such as "05" since it's not a valid integer as far as I know.
But the validation was successful. I wanted to know how is this possible? Or my understanding is wrong with respect to the valid values that integer can take.