<?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="xp30-94"/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: XPath 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: XPath 3.0 changes"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>XPath 3.0 changes</h1>
      <p>Support for the primitive type <code>xs:precisionDecimal</code> has been dropped, since it has been removed from XSD 1.1.</p>
      <p>The XPath 3.0 string concatenation operator ("||", borrowed from SQL) is implemented.</p>
      <p>The XPath 3.0 simple mapping operator ("!") is implemented.</p>
      <p>Casting from strings (and <code>xs:untypedAtomic</code>) to union and list types is now supported. 
         The effect is the same as casting to an attribute with the given type, and then atomizing the attribute. For
               example casting to a type <code>list-of-integer</code> defined as a list type with an item type
               of <code>xs:integer</code> returns a sequence of <code>xs:integer</code> values.
               <i>XPath 3.0 also
      allows in some cases casting to a union type from types other than strings; this is not fully implemented in Saxon.</i></p>
      <p>Certain union types can now appear in a <code>SequenceType</code> (e.g as the declared type of a function argument).
    The union types accepted are those that are not derived by restriction from another union types, and whose
    membership includes only atomic types and other union types that meet the same criteria.</p>
      <p>The XQuery/XPath 3.0 parser has been extended to support partial function application ("?" as a function argument) in dynamic
        function calls. Previously this feature was supported only in direct function calls to a named function.</p>
      <p>The implementation of maps has been updated to match the draft XSLT 3.0 spec. The extensions for maps are available in XPath 3.0 and XQuery 3.0,
            rather than being restricted to XSLT. This may change as the W3C specifications evolve.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="xt30-94.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>