logo       

[jira] Commented: (XERCESJ-1156) MalformedURLException occurs when SYSTEMID: msg#00005

Subject: [jira] Commented: (XERCESJ-1156) MalformedURLException occurs when SYSTEMID value is korean character relative url
    [ 
http://issues.apache.org/jira/browse/XERCESJ-1156?page=comments#action_12378828 
] 

Jongjin Choi commented on XERCESJ-1156:
---------------------------------------

I have found the same bug in SUN's bug database. The bug has a title "Xerces 
cannot handle relative entity includes with non-ASCII base URL". 

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6341770

It seems that this is fixed over mustang(b62). 
Do you have any plan to fix it over Apache xerces?



> MalformedURLException occurs when SYSTEMID value is korean character relative 
> url
> ---------------------------------------------------------------------------------
>
>          Key: XERCESJ-1156
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1156
>      Project: Xerces2-J
>         Type: Bug

>     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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe