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

Error: DTD file not found if XML file name contains character such as "%"





------- Additional Comments From [EMAIL PROTECTED]  2002-01-11 06:32 -------
i think this is the right behavior of the parser, actually as per XML 1.0 spec,
all the system identifier has to be URI reference.

http://www.w3.org/TR/2000/REC-xml-20001006#sec-external-ent

URI reference requires encoding and escaping of certain characters that are 
disallowed.
The disallowed characters include all non-ASCII characters, plus the excluded 
characters listed in Section 2.4 

http://www.ietf.org/rfc/rfc2396.txt

As per XML 1.0 spec disallowed characters must be escaped as follows..

1. Each disallowed character is converted to UTF-8 [IETF RFC 2279] as one or 
more bytes.
2. Any octets corresponding to a disallowed character are escaped with the URI 
escaping mechanism (that is, converted to %HH, where HH is the hexadecimal 
notation of the byte value).
3. The original character is replaced by the resulting character sequence.

So i think u need to properly escape the string in standard URI format before 
feeding it to parser.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to