<?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>24553</bug_id>
          
          <creation_ts>2014-02-06 00:47:08 +0000</creation_ts>
          <short_desc>Built-in template rule for maps</short_desc>
          <delta_ts>2014-02-24 14:55:12 +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>trivial</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>99871</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-02-06 00:47:08 +0000</bug_when>
    <thetext>Currently, there is no specific mention of what happens with maps if the built-in template rules kick in (see 6.8.1 Built-in Templates: Text-only Copy, http://www.w3.org/TR/xslt-30/#built-in-templates-text-only-copy, first paragraph under the Note).

We already mention function items, which do nothing, but one might expect that the value of a map item is to be returned. My suggestion is to make this explicit (even though the rules do already cover this).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100476</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2014-02-13 09:58:19 +0000</bug_when>
    <thetext>We discussed this in Prague.  ABr clarified that the current rules for function items do clearly have the consequence in text-only copy mode that nothing happens / the empty string is returned.  Since some users will expect a different behavior, however, it&apos;s worth saying explicitly that for maps nothing happens. No substantive change is now being requested (even by WG members who would have preferred that the built-in text-only copy templates return the text values of maps).  So this is essentially an editorial change to the exposition in the text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101106</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-21 14:13:06 +0000</bug_when>
    <thetext>Added clarification: whereever we say that the default rule for functions is to do nothing, we now say &quot;for functions (including maps)...&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>