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 1423 - [FO] Editorial: Wrong example results due to whitespace in results
Summary: [FO] Editorial: Wrong example results due to whitespace in results
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2005-05-13 21:28 UTC by Michael Rys
Modified: 2005-09-29 11:10 UTC (History)
0 users

See Also:


Description Michael Rys 2005-05-13 21:28:58 UTC
Many function results seem to have spurious spaces after and before the " 
delimiting the string results (This was not the case in earlier drafts). 

For example, one example says:

- fn:normalize-space(()) returns " ".
instead of
- fn:normalize-space(()) returns "".


 - fn:substring-before ( "tattoo", "attoo") returns " t ". (should be "t")
- fn:substring-before ( "tattoo", "tatto") returns " ". ("")
- fn:substring-before ((), ()) returns " ". ("")

There are many more.
Please fix the underlying problem (stylesheet?).
Comment 1 Ashok Malhotra 2005-05-18 21:50:41 UTC
Fixed!  Thanks!