You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2010/02/07 20:35:27 UTC

[jira] Resolved: (XERCESJ-420) Unable to locate DTD if it is in some Chinese Name Dir....

     [ https://issues.apache.org/jira/browse/XERCESJ-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich resolved XERCESJ-420.
------------------------------------------

    Resolution: Duplicate
      Assignee:     (was: Xerces-J Developers Mailing List)

Marking this as a duplicate of XERCESJ-1136 which is being used to track the more general issue of non-ASCII characters in URIs.

> Unable to locate DTD if it is in some Chinese Name  Dir....
> -----------------------------------------------------------
>
>                 Key: XERCESJ-420
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-420
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: DTD
>    Affects Versions: 2.0.2
>         Environment: Operating System: All
> Platform: All
>            Reporter: Venkat Kumar Reddy Barakam
>
> This could be a very special case, let me explain in detail...
> my xml and dtd files are packaged in jar file and kept in some  Chinese Name  
> Dir, I give the source path of the xml to the parser e.g. jar:file:///<Chinese 
> Name  Dir>/<jar file>!xmlfile.xml, xmlfile.xml is refering to some DtD which is 
> relatively to the xml file. It fails with an exception saying that it is not 
> able to locate the dtd file. The same thing works fine it is located in english 
> directory. One more thing I observed is base uri is not getting prepended to 
> the dtd file name. Its just trying find dtd file.
> jar has the following files...
> xmlfile.xml
> abc.dtd
> Contents of xml
> <?xml version="1.0" encoding="gb2312"?>
> <!DOCTYPE abc SYSTEM "abc.dtd">
> ......
> Can any one provide some inputs for this issue...
> Thanks in advance...

-- 
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@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org