Bug 20152 - [XT3TS] call-template-0106
Summary: [XT3TS] call-template-0106
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Working drafts
Hardware: PC Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2012-11-29 11:17 UTC by Tim Mills
Modified: 2012-12-13 10:29 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Tim Mills 2012-11-29 11:17:55 UTC
This test uses namespace prefix "xsl" which is not defined in the stylesheet.  I presume it should have been 't'.

<?xml version="1.0" encoding="UTF-8"?>
<t:transform xmlns:t="http://www.w3.org/1999/XSL/Transform" version="2.0">
<!-- Purpose: Test case to verify that an static error is raised if a reserved namespace is used in the name of a named template. -->

   <t:output method="xml" encoding="UTF-8" indent="no"/>

   <t:template match="/">
	     <t:call-template name="xsl:temp"/>

   <t:template name="xsl:temp">
	     <t:text> Do Nothing! </t:text>
Comment 1 Michael Kay 2012-12-11 22:58:00 UTC
Fixed as suggested.
Comment 2 Tim Mills 2012-12-13 10:29:59 UTC
Confirmed fixed.  Thanks.