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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML - NG

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • Date: Wed, 13 Jan 1999 10:07:06 -0500

David LeBlanc scripsit:

> At a minimum, a couple of things i'd like to see are CDATA element content

CDATA element content is Evil and Rude.  The only reason to have it
is to avoid using &lt;s.  Yet it doesn't do what you really want, because
it is terminated by *any* ETAGO ("</") followed by a name start
character, whether or not it's the matching one.  (If the wrong
name appears after the ETAGO, it's an error.)

All the purposes of CDATA element content are served much better
by wrapping the content in "<![CDATA[" ... "]]>" brackets.

> and CDATA attribute content.

XML *has* CDATA attributes.  What are you thinking of here?

OTOH I have now been convinced that leaving out data attributes
was a regrettable loss, although they can be sort of simulated
by ordinary attributes that just happen to go with the
unparsed entity.  (Essentially, they are attributes attached
directly to an unparsed entity; i.e. for a picture, the height
and width of the picture.)

-- 
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/
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)


  • References:
    • XML - NG
      • From: David LeBlanc <whisper@accessone.com>



 

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

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