XSD parsing 2003-01-27 - By Sergey Suhoruchkin
Hi, All
I'm parsing the following XML Schema:
<?xml version='1.0' encoding='UTF-8'?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="test"> <xs:restriction base="xs:integer"> <xs:minInclusive value="10"/> <xs:maxInclusive value="1000"/> </xs:restriction> </xs:simpleType>
</xs:schema>
and as a result of parsing I get "decimal" as base type (instead of "integer") and also two additional facets specified: - fractionDigits = 0 - whiteSpace = "replace"
Can anybody clarify why this happens and how it can be avoided? Or point me to some URLs...thanks in advance.
Best regards, Sergey
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|