ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: which xml parse package that ant use?
Date Mon, 17 Nov 2008 15:46:33 GMT
Ant uses a SAX parser, not a DocumentBuilder (see
javax.xml.parsers,SAXParser), this alone may explain the difference.

It will use whatever JAXP provides, but Ant ships with a pretty recent
version of Apache Xerces.

Finally, the error message you cite comes from Ant, not the parser.
If the documents wasn't at least well-formed, Ant wouldn't get a
chance to say which element was different from the one it expected.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message