This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1303 - [DM] (from XML Core WG) Whitespace stripping
Summary: [DM] (from XML Core WG) Whitespace stripping
Status: CLOSED WONTFIX
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Data Model 1.0 (show other bugs)
Version: Last Call drafts
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: Norman Walsh
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-03 14:30 UTC by Richard Tobin for XML Core WG
Modified: 2005-10-03 12:36 UTC (History)
0 users

See Also:


Attachments

Description Richard Tobin for XML Core WG 2005-05-03 14:30:30 UTC
6.7.3, content
Why is the construction of text nodes consisting only of whitespace in
element content not described in terms of the [element content
whitespace] property?  Also note that only validating parsers are
required to return this information.  And it should be mentioned that
this is a big change from XPath 1.0, which did not remove element
content whitespace.
Comment 1 Norman Walsh 2005-05-17 13:52:09 UTC
The accessors of the data model

The accessors sometimes rely on the data type xs:anyURI, i.e. baseURI (5.2),
document-uri (5.4), unparsed-entity-system-id (5.16). xs:anyURI itself in its
latest version is defined in terms of IRI. I would be good if you could refer to
IRI itself, in addition to anyURI.

Based on Martin's review, comment [20]
Comment 2 Norman Walsh 2005-05-17 15:15:30 UTC
Comment #1 is a cut-and-paste error, ignore it.
Comment 3 Norman Walsh 2005-06-03 15:55:26 UTC
The WG has discussed this comment:

  http://lists.w3.org/Archives/Member/w3c-xsl-query/2005May/0069.html

and declines to make any changes. Please let us know if you accept this
resolution.
Comment 4 Richard Tobin for XML Core WG 2005-09-21 15:46:10 UTC
(In reply to comment #3)

We still find it surprising that, for example, an XSLT 2 identity
transform will strip element-content whitespace from a document.

But assuming you do not change this, we still believe that section
6.7.3 should be reworded to use infoset terminology (i.e. refer to
the [element content whitespace] property instead of referring to
text nodes occurring in element content).  The PSVI wording in 6.7.4
would need to be changed to match.
Comment 5 Norman Walsh 2005-09-27 12:02:54 UTC
With respect to

  We still find it surprising that, for example, an XSLT 2 identity
  transform will strip element-content whitespace from a document.

See bug #1309. With respect to the rest of your comment, we agree and will make
appropriate editorial changes.
Comment 6 Richard Tobin for XML Core WG 2005-10-03 12:36:38 UTC
(In reply to comment #5)

See our reply to bug #1309.  We accept your decision to request CR
comments on this issue.