<?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>29921</bug_id>
          
          <creation_ts>2016-10-07 00:17:31 +0000</creation_ts>
          <short_desc>[XSLT30] Abstract modes</short_desc>
          <delta_ts>2016-10-13 17:18:52 +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>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abel Braaksma">abel.braaksma</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>127680</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-10-07 00:17:31 +0000</bug_when>
    <thetext>The syntax for xsl:mode does not presently allow it to have abstract visibility, however, the syntax for xsl:accept allows us to use abstract visibility with a mode.

Also, xsl:expose has syntax that makes it possible to declare it abstract.

We do say, however, on xsl:expose:

[ERR XTSE3010] It is a static error if the explicit exposed visibility of a component is inconsistent with its declared visibility...

It puzzled me. I can see why we do not allow abstract modes, but perhaps this could be made a tad clearer, esp. in the sections on xsl:expose/xsl:accept?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127760</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-10-13 14:32:29 +0000</bug_when>
    <thetext>The syntax for xsl:mode makes it clear that you can&apos;t declare a mode as abstract, and the tables in 3.5.3.1 and 3.5.3.2 make it clear (in my view) that you can&apos;t expose/accept something as abstract unless it was declared abstract in the first place.

I&apos;m reluctant to work on the basis that we should include a rule twice because readers are more likely to spot it.

I think the rule is clear and no change is needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127769</commentid>
    <comment_count>2</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2016-10-13 17:11:58 +0000</bug_when>
    <thetext>The WG agreed to close this as WONTFIX.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>