W3C home > Mailing lists > Public > www-dom@w3.org > January to March 1999

Re: "Empty" Text Nodes

From: Mike Champion <mike.champion@aliaron.com>
Date: Thu, 25 Feb 1999 09:22:44 -0500
Message-ID: <002f01be60ca$501b9dc0$54ac45d1@mcc.aliaron>
To: "Oliver Becker" <obecker@informatik.hu-berlin.de>, <db@Eng.Sun.COM>
Cc: <www-dom@w3.org>

-----Original Message-----
From: Oliver Becker <obecker@informatik.hu-berlin.de>
To: db@Eng.Sun.COM <db@Eng.Sun.COM>
Cc: www-dom@w3.org <www-dom@w3.org>
Date: Thursday, February 25, 1999 9:08 AM
Subject: Re: "Empty" Text Nodes

>The spec states (just after the TABLE example on page 11):
>    One important property of DOM structure models is structural
>    isomorphism: if any two Document Object Model implementations
>    are used to create a representation of the same document, they
>    will create the same structure model, with precisely the same
>    objects and relationships.
>If *any* two DOM implementations shall create the same structure model,
>then this model must be well defined. So I think it's not out of scope.

One clarification, which we may or may not state in the spec but we
definitely discussed -- a validating parser and a non-validating parser may
produce two different structure models from the same document, for the
reasons noted in the original posting.  This is more properly in the realm
of XML than the DOM -- the DOM just reflects the output of the XML
processor, which can differ depending on whether it is validating or not.

Mike Champion
Received on Thursday, 25 February 1999 09:22:58 UTC

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