From: Sean Russell Date: 2002-06-10T03:18:38+09:00 Subject: Re: ANN: REXML 2.3.5 && 2.2.3 Pierre Baillet wrote: > I know this is probably naive from me but I thought I was told that > "<",">" and "&" where the 3 characters that were never to be found in a > text node in xml in their normal form. they should be replaced by the > entities "<" ">" and "&". How can this bug be a bug then ? '>' is a legal character -- it is allowed, unquoted, in XML. The only ASCII characters that are required to be quoted in Text nodes are '<' and '&'. http://www.w3.org/TR/2000/REC-xml-20001006#syntax "The ampersand character (&) and the left angle bracket (<) may appear in their literal form only when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section. If they are needed elsewhere, they must be escaped using either numeric character references or the strings "&" and "<" respectively. 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." -- |.. "The Best way to accelerate a Macintosh is at 9.8m/sec/sec" <|> -- anon /|\ /| |