[jdom-interest] Schema Validation Question - xs:double data type

Kevin L. Cobb kevin.cobb at emergint.com
Tue Aug 16 07:42:01 PDT 2005


I have an XML element that looks like this:
 
    <QuantityValue>9999999</QuantityValue>
 
My schema defines this element like this:
 
    <xs:element name="QuantityValue" type="xs:double"/>
 
Schema Validation errors with the parser
org.apache.xerces.parsers.SAXParser, errors with this message:
 
    Invalid content starting with element 'QuantityValue'. One of
'{"":CP}' is expected.
 
Could this be a bug in SAXParser. If not, can anyone explain the error?
 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050816/5eb2ee59/attachment.htm


More information about the jdom-interest mailing list