<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=630015114-16082005><FONT face=Arial
color=#0000ff size=2>Sorry, I had the wrong error. The problem is not that the
QuantityValue is not a double data type. The problem is that the element
QuantityValue cannot be a child element of its parent. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=630015114-16082005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=630015114-16082005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Kevin L. Cobb <BR><B>Sent:</B> Tuesday,
August 16, 2005 10:42 AM<BR><B>To:</B> jdom-interest@jdom.org<BR><B>Subject:</B>
Schema Validation Question - xs:double data type<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial size=2>I have an XML
element that looks like this:</FONT></SPAN></DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial size=2>
<QuantityValue>9999999</QuantityValue></FONT></SPAN></DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial size=2>My schema defines
this element like this:</FONT></SPAN></DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=322303414-16082005> <FONT face=Arial
size=2><xs:element name="QuantityValue"
type="xs:double"/></FONT></SPAN></DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial size=2>Schema Validation
errors with the parser org.apache.xerces.parsers.SAXParser, errors with this
message:</FONT></SPAN></DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial size=2>
Invalid content starting with element 'QuantityValue'. One of '{"":CP}' is
expected.</FONT></SPAN></DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=322303414-16082005><FONT face=Arial size=2>Could this be a bug
in SAXParser. If not, can anyone explain the error?</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<P style="MARGIN-BOTTOM: 0in"></P>
<DIV> </DIV></BODY></HTML>