Hello Antoine,

The fix you found here [1][2] applies to methods in JAXP: 
DocumentBuilder.parse(File) and SAXParser.parse(File). When you pass a 
File object to the parser it is converted into a URI and properly escaped. 
Sounds like this is what the Ant code does now. Note that this bug was 
only on the main branch in xml-commons, but was fixed almost 3 years ago 
on the JAXP 1.2 branch. The APIs distributed with Xerces have had the 
correct behaviour since Xerces-J 2.3.0.

Thanks.

[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=34913
[2] 
http://mail-archives.apache.org/mod_mbox/xml-commons-cvs/200506.mbox/[EMAIL 
PROTECTED]

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote on 11/17/2005 10:21:28 AM:

> Hello Joseph,
> 
> thanks for the link. I have had a hard time with this issue ...
> 
> Cheers,
> Antoine
> 
> Joseph Kesselman wrote:
> 
> >The System Identifier is defined by the XML Recommendation. See
> >http://www.w3.org/TR/xml11/#dt-sysid, which makes some mention of how
> >characters not supported by URI Reference syntax should be escaped.
> >______________________________________
> >Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
> >"The world changed profoundly and unpredictably the day Tim Berners Lee
> >got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk
> >
> >
> > 
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to