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 1516 - Editorial: example in 5.5.1 misleading
Summary: Editorial: example in 5.5.1 misleading
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 2.0 (show other bugs)
Version: Last Call drafts
Hardware: Other Linux
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 19:40 UTC by Frans Englich
Modified: 2005-07-14 18:54 UTC (History)
0 users

See Also:


Attachments

Description Frans Englich 2005-06-29 19:40:11 UTC
When reading section "5.5.1 Examples of Patterns" in the working draft of the 
4th April,[1] the following example is found: 
 
"id('W33') matches the element with unique ID." 
 
According to my interpretation, it says that the expression "id('W33')" matches 
any element which has a unique ID, regardless of what value. Perhaps the 
example should read: 
 
"id('W33') matches the element with unique ID W33." 
 
 
Cheers, 
Frans 
 
1. 
http://www.w3.org/TR/2005/WD-xslt20-20050404/#pattern-examples
Comment 1 Michael Kay 2005-07-14 18:54:17 UTC
Thanks for the comment, and sorry for the delay in responding to this. In fact,
I prepared a response, but obviously suffered finger trouble and it got lost.

I've made the change suggested. I've no idea how the XSLT 1.0 text got
corrupted: that must have been finger trouble too.

Michael Kay