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 4080 - [F+O] Backwards compatibility appendix
Summary: [F+O] Backwards compatibility appendix
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Proposed Recommendation
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-14 17:21 UTC by Michael Kay
Modified: 2007-02-25 23:43 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-12-14 17:21:00 UTC
The non-normative backwards compatibility appendix in F+O (Appendix D) lists some incompatibilities in string functions that no longer exist: they were removed during the last call period. Since this appendix is informative only, I suspect there is no objection to us correcting the information during PR.

Note also that in most of these cases, the function signature given in the appendix doesn't match that in the body text.

I haven't done a complete trawl, but the incorrect statements include:

concat(): If compatibility mode is off, an error will occur if ... argument is a number or a boolean.

starts-with(): In 1.0, returns false if the first argument is an empty node-set. In 2.0, returns ()

contains(): In 1.0, returns false if the first argument is an empty node-set. In 2.0, returns ()

substring-before(): In 1.0, returns "" if the first argument is an empty node-set. In 2.0, returns ()

substring-after(): In 1.0, returns "" if the first argument is an empty node-set. In 2.0, returns ()

substring(): In 1.0, returns "" if the first argument is an empty node-set. In 2.0, returns ().

normalize-space(): In 1.0, returns "" if the first argument is an empty node-set. In 2.0, returns ()
Comment 1 Ashok Malhotra 2007-01-10 15:44:45 UTC
On the Jan 9, 2007 telcon the WGs decided to accept the suggestions made by Michael Kay and make the editorial changes.
Comment 2 Jim Melton 2007-02-25 23:43:40 UTC
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.