<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23544</bug_id>
          
          <creation_ts>2013-10-17 09:17:22 +0000</creation_ts>
          <short_desc>[XSLT 3.0] Component binding and xsl:original</short_desc>
          <delta_ts>2014-05-15 14:00:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XSLT 3.0</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>94878</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-10-17 09:17:22 +0000</bug_when>
    <thetext>Suppose that package W uses package V, and a component P&apos; in W overrides a component P in V. Now suppose that P&apos; invokes P by use of the xsl:original mechanism. Suppose also that P contains a reference to component A. How is the reference to A bound?

In particular, suppose that A is public or abstract in V, and is overridden by a component A&apos; in W. Do we call A, or A&apos;? (Either would be possible if A is public; only the latter is possible if A is abstract.)

I think there will probably be fewer surprises if we treat xsl:original as invoking &quot;the component you would have invoked in the absence of the override&quot;. This means that xsl:original invokes a component P&quot; in which the reference to A is (re-)bound to A&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96926</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-11-28 23:32:42 +0000</bug_when>
    <thetext>Reading the text regarding xsl:original again, I think it is clear that the binding is to the &quot;hidden component&quot; in the using package, not the original component in the used package; indeed this is the only solution that makes sense.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>