XDM

XDM

[12] XDM は、 XPath 2.0 以降と XQueryXSLT 2.0 以降が採用している XMLデータモデルです。

[13] XPath 1.0データモデルの後継に当たりますが、全面改訂されて大きく異なるものとなっています。

代替

[16] XML の衰退に伴い XDM もあまり使われていません。 WebブラウザーXPath 1.0XSLT 1.0 を実装しているため、 XDM は使っていません。

[14] XDM (無印) は XPath 2.0 / XQuery 1.0 / XSLT 2.0 が採用しています。

[15] XDM 3.0XPath 3.0 / XQuery 3.0 / XSLT 3.0 が採用しています。

[27] XDM 3.1XPath 3.1 / XQuery 3.1 / XSLT 3.1 が採用しています。

データ型

[26] XDMXML Schemaデータ型の世界を拡張するような形で規定されています。

[25] XPath and XQuery Functions and Operators 仕様書XML Schemaデータ型XDM の値に対する演算が規定されています。

XDM一族も参照。

[31] XML Schemaデータ型および XDM一族応用は、 XML Schemaデータ型を参照。

日時処理は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/

[19] XProc 2.0: An XML Pipeline Language () https://www.w3.org/TR/2016/NOTE-xproc20-20160721/#xml-documents

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/

[28] XSL Transformations (XSLT) Version 3.0 () https://www.w3.org/TR/2017/REC-xslt-30-20170608/#xdm-versions

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.

[29] XSL Transformations (XSLT) Version 3.0 () https://www.w3.org/TR/2017/REC-xslt-30-20170608/#uca-collations

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.

[30] XSL Transformations (XSLT) Version 3.0 () https://www.w3.org/TR/2017/REC-xslt-30-20170608/#map

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 も巨大仕様ですごい労力を費やしているのに、 誰も使っていないというのは悲惨だよなー。 せめて作った人達くらいは使えばいいのに、 今頃何をしてるんだろうか。

[34] 無理に時代に迎合しようとして JSON 対応とかやってたのも無駄だったか。

[35] 未だ頑張ってるのは XForms くらい? あれが XDM なのかどうかいまいちわからんが。