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

Style task sends file:////ss.xsl to TraX--Breaks Saxon with xsl:import

           Summary: Style task sends file:////ss.xsl to TraX--Breaks Saxon
                    with xsl:import
           Product: Ant
           Version: 1.4.1
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Per 
org.apache.tools.ant.taskdefs.XSLTLiaison.FILE_PROTOCOL_PREFIX, 
"file:///" is prefixed to the absolute path of the stylesheet to form a system 
id with four (4) slashes (i.e.: file:////ss.xsl) on UNIX file systems.  This 
causes problems when an xslt engine like Saxon attempts to resolve a 
relative path for an xsl:import with the stylesheet's system id.  According to 
RFC2396, there should be a colon and two slashes (://) separating the 
protocol from the authority (or path since the authority is usually empty in 
the file:// protocol).

Warning:  It appears from the comments in XSLTLiaison that simply 
changing FILE_PROTOCOL_PREFIX to "file://" will probably break 
Windows.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to