Details
-
Bug
-
Status: Resolved
-
Resolution: Incomplete
-
2.7.1
-
None
-
None
-
Operating System: All
Platform: PC
-
9398
Description
I think I found a nasty regression, though I don't know when it could have
occured:
In my URIResolver.resolve code, my input is:
In URIResolver ==> href: /urltest/xsl/books.xsl, base:
file:///e:\urltest\javax.xml.transform.dom.DOMSource
When I call:
String urlString = org.apache.xml.utils.SystemIDResolver.getAbsoluteURI(href,
base);
I get:
resolved URI: file:///urltest/xsl/books.xsl
...which is clearly incorrect, because the drive letter is missing.
On my test program I then get:
test program --> Error! File
file:///e:\urltest\javax.xml.transform.dom.DOMSource, line# 0, column# 0; Had
IO Exception with stylesheet file: /urltest/xsl/books.xsl
If I hack in the drive letter, it runs fine.