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

Error resolving imports/includes with a baseURI of a full Windows path

           Summary: Error resolving imports/includes with a baseURI of a
                    full Windows path
           Product: XalanJ2
           Version: CurrentCVS
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xml.utils
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This is a regression that appears to be caused by the patch for bug 21893. 
Imports and includes are incorrectly resolved when the location of the original 
stylesheet was specified with a full Windows path.

For example,

java org.apache.xalan.xslt.Process -xsl c:\tests\impincl01.xsl
  -in c:\tests\impincl01.xml
causes an IO Exception.

This appears to be because the new isAbsoluteURI() classifies 
c:\tests\impincl01.xsl as an absolute URI (with scheme 'c').

A work-around is to prepend file:/// to the path on the command line.

Reply via email to