<?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>24235</bug_id>
          
          <creation_ts>2014-01-08 13:03:12 +0000</creation_ts>
          <short_desc>Definition of library package and top-level package</short_desc>
          <delta_ts>2014-02-18 19:25:49 +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>Last Call 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="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>cmsmcq</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>98128</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-01-08 13:03:12 +0000</bug_when>
    <thetext>On several occasions throughout the text of the LC, the terms &quot;library package&quot; and &quot;top-level package&quot; are used, sometimes normatively, for example in XTSE3080 and in the xsl:output description.

It is not clear from the get-go what a library package is. Though the term is largely self-explanatory, considering the impact of these terms on the specification, I think we should define these terms clearly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99394</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-01-29 10:41:33 +0000</bug_when>
    <thetext>Yes, I agree, we should define these terms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100133</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2014-02-10 11:31:30 +0000</bug_when>
    <thetext>The WG discussed this during the ftf meeting in Prague and accepted
the proposal made in the bug description.  It&apos;s error-prone enough to
want to see the definition when done (so we&apos;re marking this ASSIGNED,
not RESOLVED).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100323</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-11 20:20:52 +0000</bug_when>
    <thetext>Proposal:

(A) in 1.1, change the definition of stylesheet, currently:

[Definition: A transformation in the XSLT language is expressed in the form of a stylesheet, whose syntax is well-formed XML [XML 1.0] conforming to the Namespaces in XML Recommendation [Namespaces in XML].]

so that it is no longer a definition, and is changed to read:

A transformation in the XSLT language is expressed in the form of a stylesheet. A styleheet consists of one or more well-formed XML [XML 1.0] documents conforming to the Namespaces in XML Recommendation [Namespaces in XML].]

(B) Later in the section, change the last two paragraphs to:


Stylesheets have a modular structure; they may contain several packages developed independently of each other, and each package may consist of several stylesheet modules.

[Definition: A *stylesheet* consists of one or more packages: specifically, one top-level package and zero or more library packages.]

[Definition: For a given transformation, one package functions as the *top-level package*. The complete stylesheet is assembled by finding the packages referenced directly or indirectly from the top-level package using xsl:use-package declarations: see 3.6.1]

[Definition: Every package within a stylesheet, other than the top-level package, is
referred to as a *library package*]

[Definition: Within a package, one stylesheet module functions as the *principal stylesheet module*. The complete package is assembled by finding the stylesheet modules referenced directly or indirectly from the principal stylesheet module using xsl:include and xsl:import elements: see 3.12.2 Stylesheet Inclusion and 3.12.3 Stylesheet Import.]

(C) In 2.3.1, change &quot;principal stylesheet module for the transformation&quot; to &quot;principal stylesheet module of the package&quot;.

(D) In 2.3.3 after &quot;principal stylesheet module&quot; add &quot;of the top-level package&quot;.

(E) In 25 Serialization, change &quot;However, if the version attribute of the xsl:stylesheet element of the principal stylesheet module has the value 1.0...&quot; to &quot;However, if the effective version of the outermmost element of the principal stylesheet module in the top-level package has the value 1.0...&quot;

(F) Hyperlink all references to &quot;top-level package&quot; and &quot;library package&quot; as required.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100396</commentid>
    <comment_count>4</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2014-02-12 13:37:49 +0000</bug_when>
    <thetext>The WG discussed this again in Prague and accepted the resolution in comment 3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100814</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-18 19:25:49 +0000</bug_when>
    <thetext>Changes applied.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>