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 13351 - [XQFTTS] Whitespace in examples-222-q2, examples-222-q3
Summary: [XQFTTS] Whitespace in examples-222-q2, examples-222-q3
Status: NEW
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Full Text 1.0 (show other bugs)
Version: Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 12:19 UTC by Tim Mills
Modified: 2013-08-14 08:27 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2011-07-25 12:19:24 UTC
These two examples use a source document (ftbookexample) with a schema (ftbookexamplexsd).  The document element (book) is complex content, so the boundary whitespace shouldn't be appearing in the expected results.

examples-222-q2
examples-222-q3
Comment 1 Mary Holstege 2011-07-28 14:23:30 UTC
Personal response:

I disagree. The whitespace comes from the content, not from an XQuery constructor, so boundary whitespace setting is irrelevant. There is no reason
to believe that the whitespace is stripped from the content or from the serialization.
Comment 2 Tim Mills 2011-07-28 14:31:52 UTC
I'm not referring to the XQuery boundary whitespace setting (which is indeed irrelevant).

The source document (ftbookexample) contains whitespace.  When the content is parsed and validated, the (insignificant) whitespace is discarded in the (element-only) book element.  

It should therefore not appear in the expected results.
Comment 3 Tim Mills 2013-08-14 08:27:25 UTC
There is a similar problem in examples-23-q3 - specifically examples-23-q3-alt.txt.