On 08/03/06, James Turner <[EMAIL PROTECTED]> wrote:

> Does this require a CDATA section, the same as when JavaScript is embedded
> into (X)HTML? Since obviously may Nasal characters would confuse a
> validating XML parser....

While this won't come up often, it's important to remember that the
literal string "]]>" will mess up an XML CDATA section.  As Melchoir
suggested, escaping '<' with &lt; and '&' with &amp; is often a
simpler choice, as long as it doesn't happen enough to get annoying
(there's no need to escape '>' as '&gt;' in character data, though
many people do just to be consistent).


All the best,


David

--
http://www.megginson.com/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to