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 19829] - Entity Reference not expanding ../ in <!Entity. No Protocol
Date Fri, 16 May 2003 06:05:48 GMT
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=19829>.
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=19829

Entity Reference not expanding ../ in <!Entity. No Protocol

bodewig@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From bodewig@apache.org  2003-05-16 06:05 -------
Actually I'm not entirely sure that you must always use the file protocol
when giving relative file URIs - but for Ant' built-in entitiy resolver to work,
this is necessary.

Either Crimson or Xerces, can't remember which, require file: as well.

That it works sometimes and sometimes doesn't means that you are using an XML
parser which doesn't require the file protocol.  Ant's entity resolver doesn't
handle the enitity because the protocol is missing and thus the default resolver
of the parser gets into the game.  And this default resolver will expand the path
relative to your current working directory instead of relative to your build file
- that's why you see different results depending on the directory you invoke
Ant from.

Mime
View raw message