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

process hangs up by resolving SYSTEM IDENTIFER URL

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2001-10-05 09:57 -------
Even when not validating, an XML parser _MUST_ attempt to use the DTD, if one is 
specified, since it may affect default attribute values, entity definitions, 
attribute type (normalization and IDs), etc. That behavior is specified by the 
XML Recommendation and implemented by the parser (eg Xerces) rather than by 
Xalan.

If your source document includes the "standalone" declaration (see 
http://www.w3.org/TR/REC-xml#sec-rmd), which promises that none of these 
dependencies exist, a parser may or may not attempt to skip reading the DTD when 
you aren't validating. You could try that and see if the parser is happier about 
your document with that flag set.

If not: The standard workaround is to write a SAX EntityResolver which 
recognizes attempts to read the DTD and returns an empty (harmless) one if it 
can't be found, and install that before you begin parsing the document. There's 
been lots of discussion of this in both the Xerces and Xalan mailing lists.

Reply via email to