[12] XDM は、 XPath 2.0 以降と XQuery、 XSLT 2.0 以降が採用している XML のデータモデルです。
[13] XPath 1.0データモデルの後継に当たりますが、全面改訂されて大きく異なるものとなっています。
本項は歴史的事項を説明しています。本項の内容の一部または全部は、現在の状況とは異なるかもしれません。
(なお本項の内容の一部または全部は、互換性または歴史的連続性のために現在も有効な場合もあります。しかし新たに利用することは避けるべきです。)
[16] XML の衰退に伴い XDM もあまり使われていません。 Webブラウザーは XPath 1.0 と XSLT 1.0 を実装しているため、 XDM は使っていません。
[14] XDM (無印) は XPath 2.0 / XQuery 1.0 / XSLT 2.0 が採用しています。
[15] XDM 3.0 は XPath 3.0 / XQuery 3.0 / XSLT 3.0 が採用しています。
[27] XDM 3.1 は XPath 3.1 / XQuery 3.1 / XSLT 3.1 が採用しています。
[26] XDM は XML Schemaデータ型の世界を拡張するような形で規定されています。
[25] XPath and XQuery Functions and Operators 仕様書で XML Schemaデータ型と XDM の値に対する演算が規定されています。
[31] XML Schemaデータ型および XDM一族の応用は、 XML Schemaデータ型を参照。
[1]
XQuery 1.0 and XPath 2.0 Data Model (XDM) (2007-01-23 07:26:51 +09:00
版) http://www.w3.org/TR/2007/REC-xpath-datamodel-20070123/
(名無しさん 2007-01-27 05:01:03 +00:00)
[2] XQuery 1.0 and XPath 2.0 Data Model (XDM) (Second Edition) ( 版) http://www.w3.org/TR/2009/PER-xpath-datamodel-20090421/
[3] XQuery and XPath Data Model 1.1 ( 版) http://www.w3.org/TR/2009/WD-xpath-datamodel-11-20091215/
[4] XQuery and XPath Data Model 3.0 ( ( 版)) http://www.w3.org/TR/2010/WD-xpath-datamodel-30-20101214/
[5] XQuery and XPath Data Model 3.0 ( ( 版)) http://www.w3.org/TR/2010/WD-xpath-datamodel-30-20101214/
[6] XPath and XQuery Functions and Operators 3.0 ( ( 版)) http://www.w3.org/TR/2010/WD-xpath-functions-30-20101214/
[7] XQuery 1.0 and XPath 2.0 Data Model (XDM) (Second Edition) ( ( 版)) http://www.w3.org/TR/2010/REC-xpath-datamodel-20101214/
[8] XSLT 2.0 and XQuery 1.0 Serialization (Second Edition) ( ( 版)) http://www.w3.org/TR/2010/REC-xslt-xquery-serialization-20101214/#xslt20
[9] XQuery and XPath Data Model 3.0 ( ( 版)) http://www.w3.org/TR/2013/PR-xpath-datamodel-30-20131022/
[10] XQuery and XPath Data Model 3.0 ( ( 版)) http://www.w3.org/TR/2014/REC-xpath-datamodel-30-20140408/
[11] XQuery and XPath Data Model 3.0 ( ( 版)) http://www.w3.org/TR/xpath-datamodel-3/
[17] XQuery and XPath Data Model 3.1 ( 版) https://www.w3.org/TR/2014/CR-xpath-datamodel-31-20141218/
[18] XPath and XQuery Functions and Operators 3.1 ( 版) https://www.w3.org/TR/2014/CR-xpath-functions-31-20141218/
In order to be consistent with the XPath data model, all general and external parsed entities must be fully expanded in XML documents; they must not contain any representation of [Infoset] [unexpanded entity reference information items].
[20] XQuery and XPath Data Model 3.1 () https://www.w3.org/TR/2016/CR-xpath-datamodel-31-20161213/
[21] XQuery and XPath Data Model 3.1 () https://www.w3.org/TR/2017/PR-xpath-datamodel-31-20170117/
[22] XPath and XQuery Functions and Operators 3.1 () https://www.w3.org/TR/2017/PR-xpath-functions-31-20170117/
[23] XQuery and XPath Data Model 3.1 () https://www.w3.org/TR/2017/REC-xpath-datamodel-31-20170321/
[24] XPath and XQuery Functions and Operators 3.1 () https://www.w3.org/TR/2017/REC-xpath-functions-31-20170321/
XSLT 3.0 requires a processor to support XDM 3.0 as defined in [XDM 3.0], augmented with support for maps as described in 21 Maps.
A processor may also provide a user option to support XDM 3.1 as defined in [XDM 3.1], in which case it must do so as defined in 27.7 XPath 3.1 Feature.
Note:
The essential differences between XDM 3.0 (with the extensions defined in this specification) and XDM 3.1 are that XDM 3.1 adds support for arrays, and for the xs:numeric union type.
A processor may also provide a user option to support versions of XDM later than 3.1, in which case the way it does so is implementation-defined.
The description of the Unicode Collation Algorithm in this section is technically identical to the description found in [XPath 3.1]. The description here is to be used by a processor that does not implement the XPath 3.1 Feature; if the processor does implement the XPath 3.1 Feature, the description in [XPath 3.1] applies.
The extensions to XPath 3.0 defined in this section have been incorporated into XPath 3.1. Therefore, when an XSLT 3.0 processor implements the XPath 3.1 Feature, the relevant parts of this section can be ignored.
[32] RIF Datatypes and Built-Ins 1.0 (Second Edition) () https://www.w3.org/TR/2013/REC-rif-dtb-20130205/
[33] XDM も巨大仕様ですごい労力を費やしているのに、 誰も使っていないというのは悲惨だよなー。 せめて作った人達くらいは使えばいいのに、 今頃何をしてるんだろうか。
Google search: XPath and XQuery Functions and Operations