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 23913] - Wrong file location to URL conversion in XMLCatalog
Date Sat, 06 Dec 2003 18:20:15 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=23913>.
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=23913

Wrong file location to URL conversion in XMLCatalog

antoine@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Style task does not use     |Wrong file location to URL
                   |XMLCatalog as required      |conversion in XMLCatalog



------- Additional Comments From antoine@apache.org  2003-12-06 18:20 -------
The bug amounts for me to the absence of conversion of the location of the DTD
in the file system to a file:// URL.
I can confirm that it is a regression of ant1.6 compared to ant1.5.4.

this works :
  <style in='${airport-codes}' out='${airport-ni}'
           style='${airport-style}'
           processor='trax'
           classpathref='gen.classpath'>

       <xmlcatalog>
           <dtd publicId="-//W3C//ENTITIES Latin 1//EN//HTML"
                location="file:///c:/dev/testant/xmlcatalog/dtds/HTMLEntities.dtd"/>
       </xmlcatalog>

   </style>

If I replace this file:// URL by ${cellectivity.descriptors}/HTMLEntities.dtd,
and say :
    <property name="cellectivity.descriptors"
location="c:/dev/testant/xmlcatalog/dtds"/>
then it does not work any more.

I have had a look at the differences in code in
org.apache.tools.ant.types.XMLCatalog.java between ant 1.5.4 and HEAD, and it is
quite huge.

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


Mime
View raw message