[Bug 29474] New: Named components and xsl:original

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29474

            Bug ID: 29474
           Summary: Named components and xsl:original
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: maxtoroq@gmail.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

In https://www.w3.org/TR/xslt-30/#named-components it says:

"A named declaration, for example a named template, a function, or a global
variable, may be overridden within the same package by another like-named
declaration having higher import precedence. When a declaration is overridden
in this way it cannot be referenced by name either from within its containing
package or from outside that package; it can however be referenced from the
overriding declaration using the special name xsl:original, as described in
3.5.3.4 Referring to Overridden Components."

I don't know if I'm missing something, but xsl:original refers to the
declaration with highest import precedence, the other ones are not visible from
a using package.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 16 February 2016 16:07:32 UTC