OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: FW: XML Mail

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Fri, 19 Feb 1999 14:23:50 -0500

Robert Hanson wrote:

> Am I wrong in saying that the answer would be that the symbol ">" should not
> show up in the non-XML text anyway?  Wouldn't it be converted to an entity
> reference?  Like this...
> 
> "]]>" in the text body would become "]]&gt;"

The point was that conversions like ">" becomes "&gt;" aren't
necessary if you use CDATA sections, only the one bad case of
"]]>" which is illegal in plain XML character data as well as
terminating the CDATA section, and so must become something like
"]]]]><![CDATA[<", which is "]]" followed by "]]>" to end the
CDATA section plus "<![CDATA[" to start another CDATA section
plus ">".  There are other ways to do it, of course.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS