Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
XML Commons Resolver 1.1.0
-
None
-
None
-
Operating System: All
Platform: Macintosh
-
28719
Description
In order to create a URL object, org.apache.xml.resolver.Catalog.parseCatalogFile first constructs
a URL for the catalog's current working directory from the string
"file:"System.getProperty("user.dir")"/
basename". If the user.dir property is "/", the URL constructed appears to have the host name
"basename": "file://basename". This causes an unknown host error to be thrown later in the function.
The code should check for this case and avoid appending an additional
"/" before "basename".
Attachments
Attachments
Issue Links
- is duplicated by
-
XMLCOMMONS-60 The XML resolver generates invalid file scheme URLs
- Resolved