xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] ParseException when not validating
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: "Bradley S. Huffman" <hip AT a.cs.okstate.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] ParseException when not validating
- Date: Thu, 19 Sep 2002 23:47:19 -0400
At 9:47 PM -0500 9/19/02, Bradley S. Huffman wrote:
I get the ParseException
Document root element "root", must match DOCTYPE root "null".
Hmmm, after looking in Builder constructor Builder(boolean validate) is
this(findParser(validate),true), should it be
this(findParser(validate),validate)?
Yep, that's a bug alright. Your suggested fix is correct. I'll have to get an update out soon, I think.
--
+-----------------------+------------------------+-------------------+
| 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/ |
+----------------------------------+---------------------------------+
-
[XOM-interest] ParseException when not validating,
Bradley S. Huffman, 09/19/2002
- Re: [XOM-interest] ParseException when not validating, Elliotte Rusty Harold, 09/19/2002
Archive powered by MHonArc 2.6.24.