DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13679>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13679 White Space in path kill SYSTEM tag [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Component|DTD |Antidote Product|Xerces2-J |Ant Version|2.2.0 |1.6Alpha (nightly) ------- Additional Comments From [EMAIL PROTECTED] 2002-10-17 17:11 ------- It's more an Ant's bug than Xerces'. Transferring it to Ant. When Ant calls the parser to parse build.xml, it stores a FileInputStream in the InputSource. It also sets a system ID for absolutizing relative URI's appearing in build.xml. But in the parse() method of the class org.apache.tools.ant.helper.ProjectHelperImpl, the file path is not fully converted to a URI. The result is, if the folder has a space ' ' in it, an invalid URI is passed to the parser, and the parser can't use it to abosolutize the references to project.dtd or paths.xml. Xerces recently fixed a similar bug in the JAXP code. You can refer to the class javax.xml.parsers.ConvertToURI for further detail. An alternative is to look at the getUserDir() method of class org.apache.xerces.xni.parser.XMLInputSource.XMLEntityManager. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
