Chris Maden crism at
Tue Dec 16 17:21:26 GMT 1997

[Paul Prescod]
> Chris Maden wrote:
> > You are correct; ']]>' is forbidden in element content, as it
> > should be.
> The reason for this is not just SGML compatibility, it is
> robustness. A floating MDC is almost certainly an error in the
> document.

That's true; but I find it easier to argue from standards than from
philosophy, especially in cases like this where others will disagree:

[Michael Kay]
> I don't think you're being particularly user-friendly here. The most
> likely reason for a floating "]]>" is that the software-writer was
> lazy and forgot to escape it.

Then the writer *must* be warned.  See _The SGML FAQ Book_, question
2.9; the potential messy ramifications of stray marked section end
delimiters are many, and the potential damage quite high.

<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL> <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list