From: Tobias Reif Date: 2002-06-10T17:50:00+09:00 Subject: [OT] < and > (was RE: ANN: REXML 2.3.5 && 2.2.3) james@rubyxml.com wrote: > 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. Yes. > Bad: > ">" is OK. But "]]>" will cause trouble > > Good: > ">" is OK. So is "]]>" Huh? I didn't doubt any of these. Well, perhaps I should have added: "For more details, and complete discussion of XML's syntax, please see the XML spec." > And "for compatibility" is defined as "Marks a sentence describing a > feature of XML included solely to ensure that XML remains compatible with > SGML." Yes. But it's still a feature of XML: "The right angle bracket (>) may be represented using the string ">", and must, for compatibility, be escaped using ">"" ^^^^ Tobi -- http://www.pinkjuice.com/