PCDATA vs CDATA
cowan at locke.ccil.org
Wed Jul 1 18:39:23 BST 1998
Tim Bray scripsit:
> Anyhow, the more I think about it, any of these schemes that depend
> on a magic end-delimiter, e.g. "</anything>" or "]]>" are just
> amateurish and broken. We've known for years how to do this;
> either escape delimiters or put in a byte count.
Byte counts lean over too far toward the "DP" view of XML.
Documents that can be edited with general editors shouldn't
contain counts of any sort.
As for escaping delimiters, this is just the dual of the current
scheme, with ">" as the representation of plaintext ">".
(IMHO the Recommendation should have made this mandatory.)
John Cowan cowan at ccil.org
e'osai ko sarji la lojban.
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;
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev