XML - NG

david at megginson.com david at megginson.com
Wed Jan 13 18:23:21 GMT 1999


Bill la Forge writes:

 > From: John Cowan <cowan at locke.ccil.org>
 > 
 > >XML *has* CDATA attributes.  What are you thinking of here?
 > 
 > And here I thought you could not include &'s in attribute data.

That's not what a CDATA attribute means in SGML or XML -- the
terminology is admittedly confusing, but for attributes CDATA means
"not a token", while for content it means "restricted delimiter
recognition".  Neither XML nor SGML allows literal '&' in an attribute
value (except that SGML has bizarre delimiter-in-context rules that
allow you to use literal '&' and '<' sometimes).


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list