DO NOT REPLY [Bug 45207] New: Windows pathnames with drive letters not handled correctly

View: New views
1 Messages — Rating Filter:   Alert me  

DO NOT REPLY [Bug 45207] New: Windows pathnames with drive letters not handled correctly

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=45207

           Summary: Windows pathnames with drive letters not handled
                    correctly
           Product: XmlCommons
           Version: 1.x
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Resolver
        AssignedTo: commons-dev@...
        ReportedBy: earl@...


Created an attachment (id=22128)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22128)
Patches for Catalog.java and FileURL.java

While working with xml-commons-resolver, I discovered that the code
does not handle pathnames that utilize window's driver letters.  The code
appears to lose the "absoluteness" of the path, causing resolution of
other entities/files to fail that have it for a base.

Attached are patches to Catalog.java and FileURL.java that
handles Windows drive-letter pathnames.


--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
LightInTheBox - Buy quality products at wholesale price