I have a question regarding canonical
representation handling in xerces-c, specifically, if I define an element of
simple type integer in a schema, according to the schema data type specification,
the canonical representation for integer
is defined by prohibiting certain options from the Lexical
representation (§3.3.13.1). Specifically, the preceding optional
"+" sign is prohibited and leading zeroes are prohibited, I would
expect that if in the instance document, the element value is +1234 or 01234 or
+01234, then this would be invalid against the schema definition, it is
correct? In short, is canonical representation is enforced when xerces-c does
validation? Thanks much. Frank |
- Re: canonical representation Xiaofan Zhou
- Re: canonical representation Neil Graham