Hi, I have the Problem that xerces says the xml
<abc>0.0</abc> is valid to the schema <xsd:element name="abc" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:decimal"> <xsd:totalDigits value="64"/> <xsd:fractionDigits value="0"/> </xsd:restriction> </xsd:simpleType> </xsd:element> But the number have one fraction count. Ok if you do some kind of interpretation you can say 0.0 == 0 and so it is valid. But I think it is not the wanted behaviour. If you have 0.1 Xerces says it is unvalid. But the recommendation says a decimal is allowed to have a fractionDigits == 0. And so I think xerces does some kind of interpretation an value analyzing. Or? Normally I use for this an integer but a decimal with fractionDigits == 0 must be the same as an Integer? I use xerces-j 2_6_2 with sun jdk 1.4.2. Best Regards Robert Mederer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
