<?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>30234</bug_id>
          
          <creation_ts>2018-03-25 09:24:27 +0000</creation_ts>
          <short_desc>[XSLT30] Section 25.4.1.2 on [xsl:]type, and XTSE1520 talk about QName, but syntax allows EQName; enumeration of instructions is not complete</short_desc>
          <delta_ts>2019-02-19 21:16:55 +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>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Abel Braaksma">abel.online</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>129111</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.online</who>
    <bug_when>2018-03-25 09:24:27 +0000</bug_when>
    <thetext>Section 25.4.1.2 starts as:

&quot;The [xsl:]type attribute takes as its value a QName.&quot;

The error XTSE1520 is currently defined as:

&quot;[ERR XTSE1520] It is a static error if the value of the type attribute of an xsl:element, xsl:attribute, xsl:copy, xsl:copy-of, xsl:document, or xsl:result-document instruction, or the xsl:type attribute of a literal result element, is not a valid QName, or if it uses a prefix that is not defined in an in-scope namespace declaration, or if the QName is not the name of a type definition included in the in-scope schema components for the package. &quot;


I see two issues with this:

1) The definitions of the type attribute throughout the specification use consistently the eqname production. This error, nor this section, don&apos;t.

2) The list doesn&apos;t mention xsl:source-document, xsl:merge-source, which both can also take a type attribute.

I propose we add an item in our Erratum that the text should be updated to reflect that we allow an EQName, and that this error also applies to these other two instructions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129112</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.online</who>
    <bug_when>2018-03-25 09:25:01 +0000</bug_when>
    <thetext>&gt; don&apos;t.
doesn&apos;t ;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129114</commentid>
    <comment_count>2</comment_count>
    <who name="Abel Braaksma">abel.online</who>
    <bug_when>2018-03-25 09:48:20 +0000</bug_when>
    <thetext>Perhaps we should also mention that &quot;Q{}somename&quot; will not be bound to the default element/type namespace (at least, I think it shouldn&apos;t), where &quot;somename&quot; (i.e., name without prefix) would.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129134</commentid>
    <comment_count>3</comment_count>
    <who name="Abel Braaksma">abel.online</who>
    <bug_when>2018-04-03 23:36:24 +0000</bug_when>
    <thetext>Please disregard comment#2, this is described at length in sections 5.1.1 and 5.1.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129525</commentid>
    <comment_count>4</comment_count>
    <who name="Abel Braaksma">abel.online</who>
    <bug_when>2019-02-19 21:16:55 +0000</bug_when>
    <thetext>A draft erratum E20 was published on Feb 13, 2019, HTMl version: https://htmlpreview.github.io/?https://github.com/w3c/qtspecs/blob/master/errata/xslt-30/html/xslt-30-errata.html#E20</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>