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
validation.

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT