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 bu...@apache.org on 2002/08/03 06:54:23 UTC

DO NOT REPLY [Bug 11441] New: - Unable to locate DTD if it is in some Chinese Name Dir....

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11441>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11441

Unable to locate DTD if it is in some Chinese Name  Dir....

           Summary: Unable to locate DTD if it is in some Chinese Name
                    Dir....
           Product: Xerces2-J
           Version: 2.0.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: DTD
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: bvk_reddy@hotmail.com
                CC: bvk_reddy@hotmail.com


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...

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org