XSLT3.0への道(29) ついにXSLT3.0は勧告となりました.

XSLT 3.0は2017年7月8日にW3C勧告となりました.以下はxsl-listに投稿されたEditorのMichael Kayのものです.せっかくなので日本語訳してみました.

Subject: [ANN] XSLT 3.0 and Saxon 9.8
From: Michael Kay <mike@saxonica.com>
Date: 2017/06/09 2:26
To: xsl-list <xsl-list@lists.mulberrytech.com>

XSLT 3.0 becomes a Recommendation today!
XSLT 3.0は本日(W3C)勧告となりました!

We kept you waiting for ten years, but it has finally happened.
10年にわたってお待たせましたが、ついに完了したのです.

A reminder of some of the key features:
主な特色の一覧は次のようになるでしょう.

* Streaming
* ストリーミング(訳中:入力をすべて読み込まなくとも順に出力を生成できる機能)

* Separately compiled packages
* パッケージの分割コンパイル

* Higher-order functions

* JSON, maps, and arrays
* JSONとmap、arraysのサポート

and of course lots of goodies like trigonometric functions, dynamic XPath evaluation, a string concatenation operator, text value templates, a random number generator, and a function chaining operator.

そして、もちろん多くのすばらしいお土産があります.三角関数、動的なXPath評価(訳注: xsl:evaluate)、文字列の結合オペレータ(訳注:"||"オペレータ)、テキスト値テンプレート(訳注: https://www.w3.org/TR/xslt-30/#text-value-templates)、ランダム番号の生成、関数の~オペレータ(訳注:https://www.w3.org/TR/xpath-31/#id-arrow-operator )など.

As a bonus, we thought you'd like an open-source implementation.
ボーナスとして、オープンソースのインプリメンテーションが好まれことを考えています.

So Saxon 9.8 is released today, and the open source Saxon-HE version now includes core support for XSLT 3.0 with XPath 3.1.
このためSaxon 9.8は今日リリースされ、オープンソースのSaxon-HE(Hpme Edotion)はXSLT 3.0とX`ath 3.1のコア部分のサポートを行っています.

There are lots of other new things in Saxon 9.8:
Saxon 9.8にはその他の多くの新しい特徴があります.

* just-in-time compilation to reduce the cost of loading vast stylesheets like DocBook and DITA when you're only using a fraction of the template rules
* ジャストインタイムコンパイルは、DocBookやDITAのような規模の大きいテンプレートで一部分しか使用していない場合、スタイルシートのロードのコストを減らすことが出来ます.

* hot-spot bytecode generation, again to put the compilation effort where it's needed
* ホットスポットバイトコード生成機能は、必要な時だけコンパイルの手間をかけることができます.

* optimization of template rule sets like those found in DITA where the matching is all on attribute values rather than element names
* DITAのようにマッチングが要素ではなくすべて属性について行われる場合、テンプレートの最適化が行われます.


* a new approach to processing of DOM trees, which are now only twice as slow as Saxon's native TinyTree compared with 5-10 times slower the old way
* DOMツリー処理への新しいアプローチはSaxonネイティブのTinyTreeに比べて5~10培遅かったものが、2倍の遅さに改善されました.

* some experimental syntax enhancements to enrich the type system: tuple types, union types, and type aliases
* いくつかの試験的な型システムを豊かにする拡張、タプルタイプ、ユニオンタイプ、型エイリアス

* bytecode generation for validation of user-defined simple types in XSD
* XML Schemaにおけるユーザー定義の単純型に対する検証のバイトコード生成

At the same time as moving foward to XSLT 3.0, we're dropping support for older versions of the specs, so you can no longer run in XQuery 1.0 or XSLT 2.0 mode, for example - your code should continue to work, because the specs have a high level of backwards compatibility. A particular decision that will affect some of you is that we're dropping XSLT 1.0 backwards compatibility mode from Saxon-HE, and hope to eliminate it entirely in due course.

XSLT 3.0への前身と時同じくして、過去のバージョンの仕様に対するサポートを打ち切っています.例えばXQuery 1.0やXSLT2.0モードはサポートされません.しかしあなたのコードは、引き続き動作するはずです、それは(訳注: XSLT 3.0がXSLT 2.0に対して)仕様が高いレベルの下位互換を持っているからです.あなたのコードに特に与える影響のあるものは、XSLT 1.0の下位互換をSaxon HEからなくしたことです.そしてそれは完全に予定された路線として削除されるでしょう.

Saxon-HE is available at http://saxon.sf.net/
Saxon-HEはhttp://saxon.sf.net/で入手できます.

Saxon-PE and -EE are at http://www.saxonica.com - follow the links to products, downloads, and documentation.

訳注: Saxon-HEでインプリメントされているのはXSLT 3.0のコア機能で、多くの機能を使用するには有償版のSaxon-PE. EEを使用する必要があります.

27.1 Basic XSLT Processor