XML - NG
Chris Maden
crism at oreilly.com
Thu Jan 14 17:50:27 GMT 1999
> Date: Sat, 06 Feb 1999 17:09:01 -0800
> From: David LeBlanc <whisper at accessone.com>
>
> What I would like is a content type (call it UPDATA), that has a
> distinct start and stop tag (<UPDATA> ..... </UPDATA>) that is
> entirely unparsed. This would be useful for content that has lots
> of significant characters.. like xml itself. In fact, I was
> thinking that it could be <CDATA>.... </CDATA>, but I now realize
> that there's a lot of freight attached to that character combination
> :-).
>
> It seems blechy to have to declare content PCDATA and then do the
> <[CDATA[ ... ]]> thing in the document. It forces the author of a
> document rather then the designer of a document class to be
> responsible for "escaping" content.
Your proposal uses a fixed element type. What's the difference
between a fixed element type <UPDATA>...</UPDATA> and a fixed string
<![CDATA[...]]>? Why is requiring the author to insert an <UPDATA>
element less onerous than requiring the author to insert a CDATA
marked section?
If you want to allow *different* elements to be "UPDATA", then you
have a situation where reading or not reading the DTD results in
radically different interpretations of data, violating a major goal of
the XML effort.
-Chris
--
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>
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