From: james@...
Date: 2002-06-10T06:56:06+09:00
Subject: < and > (was RE: ANN: REXML 2.3.5 && 2.2.3)
>
> > ">" is OK, though some (me) find it easier to read if all such
> markup is
> > escaped (rather than just the "<").
>
>
> "
> The right angle bracket (>) may be represented using the string ">",
> and must, for compatibility, be escaped using ">"
> "
The complete sentence is
The right angle bracket (>) may be represented using the string ">", and
must, for compatibility, be escaped using ">" or a character reference
when it appears in the string "]]>" in content, when that string is not
marking the end of a CDATA section.
Bad:
">" is OK. But "]]>" will cause trouble
Good:
">" is OK. So is "]]>"
And "for compatibility" is defined as "Marks a sentence describing a
feature of XML included solely to ensure that XML remains compatible with
SGML."
James