Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.1.1
-
Fix Version/s: 4.1.5
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
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.
Apologies for slow processing; added suggested work-around, will be in 4.1.5 (won't backport in 4.0)