ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37348] - XSLT transformation doesn't work if I run ANT from directory with NON-ASCII chars
Date Sat, 05 Nov 2005 02:39:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG∑
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37348>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND∑
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37348


antoine@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|antoine@apache.org          |dev@ant.apache.org




------- Additional Comments From antoine@apache.org  2005-11-05 03:39 -------
Hello Radim,
I think that a part of the problem might lie in the class
javax.xml.DocumentBuilder which is part of the JDK.
the method DocumentBuilder#parse does this :

        String uri = "file:" + f.getAbsolutePath();
        if (File.separatorChar == '\\') {
            uri = uri.replace('\\', '/');
        }

Instead, it should do this :

        String uri = f.toURI().toASCIIString();

At least, this change allows to parse a document containing an entity include
when like in your case both the main XML document and the entity include are
located in a path containing non ASCII chars, such as c:/šnt

I have filed a bug with Sun with what I have found.

I am closing this report as INVALID.
Reopen this report only if you can prove that ant is faulty.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

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


Mime
View raw message