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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
