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 1492 - Section D.1.1 eg:if-empty example error
Summary: Section D.1.1 eg:if-empty example error
Status: CLOSED FIXED
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 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: 2005-06-09 12:46 UTC by Laurens Holst
Modified: 2007-02-25 23:39 UTC (History)
0 users

See Also:


Attachments

Description Laurens Holst 2005-06-09 12:46:02 UTC
In the XSLT implementation example of section D.1.1 eg:if-empty, there is the
following line:

  <xsl:param name="node()" type="node()?"/>

I think this should be:

  <xsl:param name="node" type="node()?"/>


~Grauw
Comment 1 Michael Kay 2005-06-09 13:19:40 UTC
Thanks for pointing it out.

Actually there's another error: it should be

<xsl:param name="node" as="node()?"/>

All the XSLT examples in this section should use "as" instead of "type" as the
attribute name on xsl:param.

Michael Kay
Comment 2 Ashok Malhotra 2005-06-09 15:26:30 UTC
Fixed both the typo pointed out by Grauw and the typo pointed out by Michael Kay.

Ashok Malhotra
Comment 3 Jim Melton 2007-02-25 23:39:39 UTC
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.