[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xalan-dev
Subject:    DO NOT REPLY [Bug 22777] New:  -
From:       bugzilla () apache ! org
Date:       2003-08-28 0:56:08
[Download RAW message or body]

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: xalan-dev@xml.apache.org
        ReportedBy: grchiu@ca.ibm.com


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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic