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 29932 - spec examples contain extra whitespace
Summary: spec examples contain extra whitespace
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: O'Neil Delpratt
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
: 29884 29966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-11 18:59 UTC by Josh Spiegel
Modified: 2017-03-16 15:27 UTC (History)
2 users (show)

See Also:


Attachments

Description Josh Spiegel 2016-10-11 18:59:48 UTC
The following recently added tests are incorrect because the expected result has extra whitespace.

fo-test-d3e8480
fo-test-d3e8486
fo-test-d3e25667
fo-test-d3e25677
fo-test-d3e25682
Comment 1 O'Neil Delpratt 2016-10-18 15:12:33 UTC
Bug fixed and committed to cvs.
Comment 2 Tim Mills 2016-10-21 14:45:46 UTC
The expected results still aren't quite right.

They need to include the "ignore prefixes" flag.
Comment 3 Michael Kay 2016-10-25 14:07:59 UTC
Unfortunately the attempt to fix this was done simply by modifying the generated tests. This test set must not be manually modified, or the changes will simply disappear the next time the spec is rebuilt. The problem needs to be fixed at source by generating correct tests from the examples in the spec.
Comment 4 O'Neil Delpratt 2016-11-15 17:17:14 UTC
*** Bug 29884 has been marked as a duplicate of this bug. ***
Comment 5 Michael Kay 2016-11-16 14:58:49 UTC
*** Bug 29966 has been marked as a duplicate of this bug. ***
Comment 6 Michael Kay 2017-03-16 15:27:45 UTC
I have regenerated the test set to fix this problem. (The examples in the function catalog are marked with normalize-space="yes", and this causes the stylesheet generating the test set to remove ignorable whitespace.)