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 5668 - [FO] Extra spaces in fn:normalize-space, fn:concat, fn:replace examples
Summary: [FO] Extra spaces in fn:normalize-space, fn:concat, fn:replace examples
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Recommendation
Hardware: PC Windows XP
: P2 trivial
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Keywords: editorial
: 5669 (view as bug list)
Depends on:
Reported: 2008-04-29 13:28 UTC by Henry Zongaro
Modified: 2008-06-04 11:20 UTC (History)
0 users

See Also:


Description Henry Zongaro 2008-04-29 13:28:21 UTC
As with string-join (bug 5597), the result shown for the first example of fn:normalize-space in section contains extraneous space characters:  the result given is " The wealthy curled darlings of our nation. " but should be "The wealthy curled darlings of our nation."

In addition, the same mark-up problem occurs in section in the second and last examples for fn:concat, and in section in the seventh, eighth and ninth (the last three) examples for fn:replace, though in these examples the problem is much less likely to cause confusion.
Comment 1 Henry Zongaro 2008-04-29 15:11:57 UTC
*** Bug 5669 has been marked as a duplicate of this bug. ***
Comment 2 Michael Kay 2008-06-04 11:20:30 UTC
These corrections will be incorporated into the not-yet-published erratum E21 (which was raised in response to bug 5597). Since the problem is trivial, I will close the bug without further formality. Thank you for reporting it.