W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2005

[Bug 1309] white space in the DM

From: <bugzilla@wiggum.w3.org>
Date: Mon, 03 Oct 2005 12:34:52 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1EMPWu-0006xO-GS@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1309





------- Additional Comments From richard@inf.ed.ac.uk  2005-10-03 12:34 -------
(In reply to comment #9)

> In both 1.0 and in 2.0, the XSLT specification places no constraints on the
> way in which source trees are constructed.

I dispute this assertion.  XSLT 1 refers to XPath for its data model, and XPath
describes the correspondence between its data model and an XML document.  In
particular, it says that "The children of an element node are the element nodes,
comment nodes, processing instruction nodes and text nodes for its content".
There is no doubt from the XML spec that the content of an element includes
whitespace characters regardless of the content model.

I therefore believe that when an XSLT 1 processor constructs a data model
from an XML document, it must not remove element content whitespace.

However, the XML Core WG is happy with your decision to solicit CR feedback
on this issue.
Received on Monday, 3 October 2005 12:34:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:26 UTC