Closed: (XERCESJ-1156) MalformedURLException occurs when SYSTEMID value i 2007-04-29 - By Michael Glavassevich (JIRA)
[ https://issues.apache.org/jira/browse/XERCESJ-1156?page=com.atlassian .jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich closed XERCESJ-1156. -----------------------------------------
Resolution: Incomplete
Closing as per request of the reporter.
> MalformedURLException occurs when SYSTEMID value is korean character relative url > ----------------------------------------------------------------------------- ---- > > Key: XERCESJ-1156 > URL: https://issues.apache.org/jira/browse/XERCESJ-1156 > Project: Xerces2-J > Issue Type: Bug > Affects Versions: 2.6.2, 2.8.0 > Environment: Windows XP (korean edition), JDK 1.4, JDK 5.0, xerces 2 .6.0, xerces 2.8.2 > Reporter: Jongjin Choi > Attachments: XERCESJ-1156.jar, XMLEntityManager.patch, XMLEntityManager.patch.2 > > > If a xml file has a DOCTYPE and the SYSTEMID of DOCTYPE has a korean character relative url, > MalformedException occurs during parsing. > I guess that the same problem will occur if japanese or chinese character is used in SYSTEMID. > This does not occur in JDK 1.4.2 with its internal crimson parser. > I found that Xerces 2.6.2, Xerces 2.8.0 and JDK 1.5 have this problem. > This is related to XERCESJ-391 which seems to be fixed over Xerces 2.6.2 in my test. > The test case xml/dtd and patch for Xerces 2.6.2 will be uploaded. > The patch is simple. The SYSTEMID value which has non-us-ascii character needs to be escaped. > The escaping logic is from the XMLEntityManager#getUserDir(). > I think that xerces 2.8.0 can be patched in the same way.
-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
--------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscribe@(protected) For additional commands, e-mail: j-dev-help@(protected)
|
|