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 14280 - [QT3TS] functx-fn-data-5
Summary: [QT3TS] functx-fn-data-5
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Benjamin Nguyen
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-24 18:45 UTC by Andrew Eisenberg
Modified: 2012-05-30 17:42 UTC (History)
2 users (show)

See Also:


Attachments

Description Andrew Eisenberg 2011-09-24 18:45:33 UTC
I believe that the query in functx-fn-data-5 returns:

"
  557
  Fleece Pullover
  navy black
 "

The test case contains the assertion (on a single line):

<assert-string-value normalize-space="true">557 Fleece Pullover navy black</assert-string-value>

The test suite documentation says that, "If the normalize-space attribute is present with the value true, then the value of the assert-string-value element should be processed as if by the XPath normalize-space() function before the comparison."

I believe that the test case should fail as written. It appears to assume that the normalize-space() function is applied to the actual result value.
Comment 1 Michael Kay 2012-05-17 15:43:58 UTC
I think the documentation of the test suite is incorrect. The intention was that normalize-space should cause both values to be normalized before the comparison. I propose to change the documentation to record this fact.