<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="changes" page="intro" subpage="xq30-94"/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: XQuery 3.0 changes</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: XQuery 3.0 changes"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>XQuery 3.0 changes</h1>
      <p>See also <a class="bodylink" href="../../changes/intro/xp30-94.xml">XPath 3.0 changes</a>.</p>
      <p>The function annotations <code>%public</code> and <code>%private</code> are implemented (they were available in 9.3
    without the "%" sign).</p>
      <p>The variable annotations <code>%public</code> and <code>%private</code> are implemented (they were not available in 9.3).</p>
      <p>A case clause in a <code>typeswitch</code> expression can list multiple alternative types separated by the "|" operator.</p>
      <p>In FLWOR expressions, the <code>count</code> clause is implemented; implementation of <code>group-by</code> has been completed,
    and sliding and tumbling windows are implemented. Implementation of XQuery 3.0 FLWOR expressions is thus functionally complete. To achieve this,
    a new internal design has been adopted, using tuple streams in a manner very close to that described in the specification.</p>
      <p>The implementation of the <code>-TP</code> option on the command line, which produces a timing profile, has been rewritten.
   Rather than producing a trace file containing all the events with timings, which could become very voluminous, it now aggregates the
   timing data in memory, and outputs the results directly in HTML rather than requiring a separate post-processing step.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="xsd-94.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>