anyone help me ? rain.xk wrote: > > I have to parse a xsd file something likeļ¼ > <xsd:simpleType name="ID"> > <xsd:restriction base="xsd:nonNegativeInteger"> > <xsd:totalDigits value="15"/> > </xsd:restriction> > </xsd:simpleType> > But,I have some problems,First the castor mappingfile which generated by > "org.exolab.castor.tools.MappingTool" define the ID element like : > <field name="TEST" type="int" required="true"> > <bind-xml name="TEST" node="element" /> > </field> > but the int is -2147483648~2147483647 can't be <xsd:totalDigits > value="15"/>.If I hava a number like 400000000000002,it can't be parsed! > The second problem is <xsd:totalDigits value="15"/> mean the number must > has 15 digits or less than 15 digits? >
-- View this message in context: http://www.nabble.com/about-xsd-definition-tf2677453.html#a7486446 Sent from the Castor - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email