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] New: - Style task does not use XMLCatalog as required
Date Sat, 18 Oct 2003 18:34:59 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

Style task does not use XMLCatalog as required

           Summary: Style task does not use XMLCatalog as required
           Product: Ant
           Version: 1.6Beta
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: j_a_fernandez@yahoo.com


The style task should expand the external entity declared in the xmlcatalog
this works fine in 1.5.3, but in 1.6b2 it does not look in the catalog but
in the SYSTEM location in the XML file. This fails since the SYSTEM location
is not visible during the build.

   <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="${cellectivity.descriptors}/HTMLEntities.dtd"/>
       </xmlcatalog>

   </style>

The problem is with the xmlcatalog being ignored. I have similar problems with
the <xmlvalidate> task saying it cannot validate a file. Again it is not 
finding the DTD definitions.
 To test use in the XML file a DTD with a SYSTEM ID that does not exists
and use xmlcatalog to point to the correct location based on PUBLIC ID.

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


Mime
View raw message