<?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>24050</bug_id>
          
          <creation_ts>2013-12-10 14:26:08 +0000</creation_ts>
          <short_desc>[XT3TS] Invalid test package-901</short_desc>
          <delta_ts>2015-05-06 21:19:35 +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 Test Suite</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="Vitaliy">vitaliy.yudenkov</reporter>
          <assigned_to name="Abel Braaksma">abel.online</assigned_to>
          <cc>abel.braaksma</cc>
          
          <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>97394</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaliy">vitaliy.yudenkov</who>
    <bug_when>2013-12-10 14:26:08 +0000</bug_when>
    <thetext>The test verifies that required @name attribute is defined. But according to the working draft @name attribute is optional, and must be defined only in the case when package will be used by other package. 

The test should probably be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97560</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2013-12-13 00:42:57 +0000</bug_when>
    <thetext>Hmm, if I recall correctly, it became optional to allow the principal stylesheet to be a package-in-disguise, otherwise the hidden xsl:package element above xsl:stylesheet would require a name, which is redundant. 

When a package is used by the principal stylesheet, it is in effect used by a package (disguised as the principal stylesheet). Hence, once the @name attribute isn&apos;t there, a package cannot be used by either another package that has the xsl:package declaration, or by a stylesheet, that has an xsl:package declaration implicitly.

That being said, if an unnamed package is semantically equivalent with a stylesheet having xsl:stylesheet at its root, would it be allowed with xsl:import/include?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97563</commentid>
    <comment_count>2</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2013-12-13 01:27:07 +0000</bug_when>
    <thetext>Correction on the previous comment: the current rules state that only stylesheets containing one ore more xsl:package declarations will be a &quot;simplified package&quot;.

And Vitaliy is correct in that the @name attribute is optional, so test package-901 can be removed or updated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119008</commentid>
    <comment_count>3</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-03-28 16:09:49 +0000</bug_when>
    <thetext>Fixed by renaming test to package-002 and expecting non-error outcome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120188</commentid>
    <comment_count>4</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-05-06 21:19:35 +0000</bug_when>
    <thetext>Was resolved &gt; 30 days ago, closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>