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 1446 - [XQuery] Editorial: boundary whitespace example
Summary: [XQuery] Editorial: boundary whitespace example
Status: CLOSED WONTFIX
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Don Chamberlin
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-14 01:04 UTC by Michael Rys
Modified: 2005-06-30 22:20 UTC (History)
0 users

See Also:


Attachments

Description Michael Rys 2005-05-14 01:04:13 UTC
It would be useful to understand what the following expression results in when 
boundary whitespace is set to strip.

<a> <![CDATA[ ]]> {"abc"}</a>
Comment 1 Don Chamberlin 2005-06-30 21:59:25 UTC
Michael,
In a meeting on 6/29/05, the Query Working Group considered your comment and 
decided that the following text in XQuery Section 3.7.1.4 is sufficiently 
clear: "For this purpose, characters generated by character references or by 
CDataSections are not considered to be whitespace characters." 

The result of your example expression is as follows:
<a>   {"abc"}</a>

The working group does not believe it is necessary to include this example in 
the XQuery specification. Since you labeled it as Editorial, I will mark the 
bug report as Closed.
Comment 2 Michael Rys 2005-06-30 22:16:39 UTC
Thanks. I assume that you mean the result is <a>   abc</a>.

Best regards
Michael
Comment 3 Don Chamberlin 2005-06-30 22:20:17 UTC
Of course you are right. Sorry for the error.