<?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>30074</bug_id>
          
          <creation_ts>2017-03-09 16:08:02 +0000</creation_ts>
          <short_desc>Instruction for creating arrays</short_desc>
          <delta_ts>2017-04-03 18:12:58 +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>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>LATER</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="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>sca.w3c</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>128480</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2017-03-09 16:08:02 +0000</bug_when>
    <thetext>From Max Toro on public-qt-comments:

I&apos;m curious why there&apos;s no instruction for creating arrays in XSLT 3.0, but there is for maps and entries.

--
Max Toro</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128481</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2017-03-09 16:15:28 +0000</bug_when>
    <thetext>Personal response.

This is an unfortunate result of timing. In our efforts to get the spec finished, we put a freeze on new features and decided not to support XPath 3.1. Later, as it appeared that XPath 3.1 was making good progress, we allowed XSLT 3.0 processors to support 3.1, but did not make it mandatory, and did not add any explicit XSLT capability to support XPath 3.1 extensions such as arrays.

Instructions to create arrays would definitely be &quot;nice to have&quot; and in Saxon I will be plugging the gap with saxon:array and saxon:array-member extension instructions. But I&apos;m afraid we really have to ship the spec now; as with a software project, the more features you add the more you risk never getting the thing out of the door.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128515</commentid>
    <comment_count>2</comment_count>
    <who name="Sharon Adler">sca.w3c</who>
    <bug_when>2017-03-29 20:18:48 +0000</bug_when>
    <thetext>Thank you for your comment.  Michaels response is correct that this is a
result of timing, but he makes it sound as if we considered doing arrays
in XSLT.  Individuals may have wanted to add this feature but our
efforts were focused on Maps and JSON conversion.  In 2011, I chaired
a &quot;SWAT&quot; team from the joint Working Groups to see if we could resolve differences
that inhibited getting a clean design that would work for both groups,
again with the focus on maps and JSON.  The XSLT WG did not have an
advocate to include arrays in XSLT.  Since the work on XSLT 3.0 and
XPath 3.1 took considerable effort and time, those members who wanted
array functionality could get this feature through the XPath
3.1. optional feature in XSLT 3.0.  From the time of Last Call to CR the
last few years we could not attempt to add such a significant feature.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>