You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/08/30 16:45:45 UTC

DO NOT REPLY [Bug 22834] New: - XSLT fails transforming file with doctype

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=22834>.
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=22834

XSLT fails transforming file with doctype

           Summary: XSLT fails transforming file with doctype
           Product: Ant
           Version: 1.5.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: mguillemot@yahoo.fr


I've a tld file with:
<!DOCTYPE taglib
  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">

when I try to transform it, it gets transformed as would it contain no data. If
I remove the doctype everything works fine.

It seems that under windows it works when a:
  <xmlcatalog>
    <dtd publicId="-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
      location="http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"/>
  </xmlcatalog>
but not under linux.

With the -debug option, I see:
resolveEntity: '-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN':
'http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd'
Matching catalog entry found for publicId: '-//Sun Microsystems, Inc.//DTD JSP
Tag Library 1.2//EN' location: 'http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd'
Couldn't load ResourceStream for http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
catalog entry matched as a URL: 'http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd'

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