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=14531>. 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=14531 XML Serialization: standalone attribute should not be suppressed when no public/system id ------- Additional Comments From [EMAIL PROTECTED] 2002-11-14 04:40 ------- >standalone="yes" --> the DTD must be read if-and-only-if validation is enabled. >(ie DTD can be ignored if validation disabled, a good optimisation!) This is incorrect. The document might not actually be standalone, which would only be a failure of a validity constraint, which a non-validating processor would not check. Therefore, the document can contain references to external markup declarations that change the infoset of the document, like default values for attributes that are not specified. If a non-validating processor reads those declarations then it is obligated to act on them. The fact that the standalone declaration is in error does not change this. Now obviously a non-validating processor is not obligated to read external markup declarations at all, but Xerces already has features defined to control this behavior. There is nothing in the XML specification that says that the presence of standalone="yes" should cause non-validating processors to change their behavior with respect to reading external entities. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
