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 20152 - [XT3TS] call-template-0106
Summary: [XT3TS] call-template-0106
Status: CLOSED FIXED
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
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-29 11:17 UTC by Tim Mills
Modified: 2012-12-13 10:29 UTC (History)
1 user (show)

See Also:


Attachments

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>

   <t:template name="xsl:temp">
	     <t:text> Do Nothing! </t:text>
   </t:template>
</t:transform>
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.