- From: David Brownell <db@Eng.Sun.COM>
- Date: Wed, 24 Feb 1999 15:32:44 -0800
- To: Oliver Becker <obecker@informatik.hu-berlin.de>
- CC: www-dom@w3.org
Oliver Becker wrote: > > Am I right in assuming that the structure model of a XML document > created by a non-validating DOM implementation should be isomorph > to that created by a validating one? > (With exceptions regarding DocumentType of course, default values > of attributes, entities ...) The "create a structure model from this XML" step is out of scope of DOM, so I'd say the spec doesn't address this. Just like it can't address whether various artifacts of that process must show up (like ignorable whitespace, CDATA boundaries, EntityReference nodes, comments, and so forth). > My first opinion was that those Text nodes "\n" are unnecessary. The XML spec requires "ignorable" whitespace to be reported as such by "validating XML Processors" in certain circumstances, but they don't apply in that particular example (no DTD!) ... so it's not possible to get rid of them. - Dave
Received on Wednesday, 24 February 1999 18:33:06 UTC