[jdom-interest] JDOM + Xerces 2.2?
Elliotte Rusty Harold
elharo at metalab.unc.edu
Sun Oct 20 19:05:47 PDT 2002
At 2:29 PM -0700 10/20/02, Mark Woon wrote:
>Yes:
>
> SAXBuilder builder = new SAXBuilder(true);
> document = builder.build(inStream);
In that case, I think the answer's obvious. Your document is not
valid according to its schema. JDOM is reporting this by throwing an
exception. Isn't this what you would expect to happen? Or am I
missing something?
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
More information about the jdom-interest
mailing list