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


Help: OASIS Mailing Lists Help | MarkMail Help



   CDATA sections not valid in element content

[ Lists Home | Date Index | Thread Index ]
  • From: Tim Bray <tbray@textuality.com>
  • To: David Brownell <david-b@pacbell.net>, XML Dev <xml-dev@ic.ac.uk>
  • Date: Thu, 17 Jun 1999 13:13:01 -0700

At 11:36 AM 6/17/99 -0700, David Brownell wrote:
>> Clause 3.2.1 makes it clear that whitespace in element-content-model
>> elements must match the production S, which a CDATA section does not.
>Doesn't make it clear to me!  :-)

This a known erratum in the XML spec. The public errata doc, when it
is updated (Real Soon Now) will say that an empty or space-filled 
CDATA section in an element with an element content declaration is *not*
valid; the justification being that this flies in the face of the
intended use of CDATA sections, per the first paragraph of section 2.7.


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