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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: DOM CDATA vs Normalization

[ Lists Home | Date Index | Thread Index ]
  • From: Lauren Wood <lauren@sqwest.bc.ca>
  • To: "'XML Developers' List'" <xml-dev@ic.ac.uk>
  • Date: Wed, 24 Mar 1999 09:51:37 -0800

Bill la Forge wrote:
> Normalization of an element combines various text objects into a single
> text object. Does it then merge text and CDATA objects to a single object?
> And what about ignorable whitespace?

Normalization merges only adjoining Text nodes, regardless of their
content. It does not merge Text nodes with CDATA Section nodes,
comments or PIs.

You will notice in the latest draft of the DOM Level 2, at
that one of the items on the list of issues to be addressed in Level
2 is
Conversion of a CDATASection node to a TEXT node.

This could include merging adjacent Text and CDATA Section nodes.

Might I suggest this discussion take place on the public DOM mailing
list? www-dom@w3.org, to subscribe send email to
www-dom-request@w3.org with the subject line "subscribe".



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