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

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to