Details
-
Type:
Bug
-
Status:
In Progress
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 4.1.1
-
Fix Version/s: None
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
Description
Some CMSs on Windows export XML documents in such a way that the DTD's System ID contains a '|' to "escape" the ':' after the drive letter, e.g. "file:///c|/path/to/dtd". Of course, the '|' character is not a valid URI character and therefor processing such XML with Woodstox is currently not possible (throws URISyntaxException)
It would be great if you could extend com.ctc.wstx.util.URLUtil.uriFromSystemId(String) such that it can System IDs like the above.