[JDEV] Funky crash today

Matthias Wimmer m at tthias.net
Tue Aug 6 23:32:57 CDT 2002


Hi Robert!

Robert Norris wrote:

><message type='groupchat' to='rob at cataclysm.cx/enigma' from='jdev at conference.jabber.org/theo'><body>I think it is &lt;![CDATA[...]]>, actually.</body></message>
>
>My first thought was to file a bug against Gabber, however, on looking
>at it, I'm not sure that Gabber is necessarily at fault.
>
>I would guess that the problem is the > char that isn't escaped.
>  
>
This is a bug in Gabber ... having litteral '>'s in XML documents is 
valid (but not very common). Read section 2.4 of the XML specification 
(http://www.w3.org/TR/1998/REC-xml-19980210#syntax):

The right angle bracket (>) may be represented using the string 
"|&gt;|", and must, for compatibility 
<http://www.w3.org/TR/1998/REC-xml-19980210#dt-compat>, be escaped using 
"|&gt;|" or a character reference when it appears in the string "|]]>|" 
in content, when that string is not marking the end of a CDATA section 
<http://www.w3.org/TR/1998/REC-xml-19980210#dt-cdsection>.

This is just "may" ... not "must".


Tot kijk
    Matthias

-- 
Fon: +49-700 77007770		http://matthias-wimmer.de/
Fax: +49-89 312 88654		jabber://mawis@charente.d





More information about the JDev mailing list