ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
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.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message