W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1999

Re: splitText() and well-formedness

From: <keshlam@us.ibm.com>
Date: Thu, 4 Nov 1999 09:00:54 -0500
To: David Brownell <david-b@pacbell.net>
cc: "L. David Baron" <dbaron@fas.harvard.edu>, www-dom@w3.org
Message-ID: <8525681F.004CF89E.00@D51MTA03.pok.ibm.com>
Good question. The answer is "Not yet."

The issue of
     Document.createCDATASection ("]]>");
     Document.createComment ("--");
has existed since DOM Level 1; there's existing language which points out
that serializing a DOM out to XML syntax may require some care (breaking
the "]]>" across two successive CDATA Sections, for example).

There may be legitimate reasons to store something like this into the DOM
as an intermediate stage of processing, so there are serious questions
about when and how these well-formedness violations should be reported.
That design may wind up overlapping strongly with our design for

Level 2 is no worse than Level 1 in this regard, and solving it properly
really wants more attention than we can give it at this time. This issue
has been deferred to  Level 3.

Joe Kesselman  / IBM Research
Received on Thursday, 4 November 1999 09:01:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC