Oracle® Database SQL Language Reference 11g Release 2 (11.2) E41084-02 |
|
|
PDF · Mobi · ePub |
The XML data type in the standard is XML
. The Oracle equivalent data type is XMLType
. A feature of the standard is considered to be fully supported if the only difference between Oracle and the standard is the spelling of the data type name.
Table C-3 describes Oracle's support for the features of SQL/XML:2008.
Table C-3 Oracle Support for Features of SQL/XML:2008
Feature ID, Feature | Support |
---|---|
X010, XML type |
Oracle fully supports this feature. |
X011, Arrays of XML types |
Oracle supports this feature using named array types (in the standard, array types are anonymous) |
X012, Multisets of XML type |
The Oracle equivalent of a multiset of XML type is a nested table with a single column of XML type. |
X013, Distinct types of XML |
A distinct type can be emulated using an object type with a single attribute. |
X014, Attributes of XML type |
In Oracle, attributes of object types may be of type |
X016, Persistent XML values |
Oracle fully supports this feature. |
X020, XML Concatenation |
Oracle fully supports this feature. |
X025, |
Oracle provides equivalents for the following elements of this feature:
Since Oracle has only one XML type, there is no need to cast from XML to XML. |
X031, |
Oracle fully supports this feature. |
X032, |
Oracle fully supports this feature. |
X034, |
Oracle fully supports this feature. |
X035, |
Oracle fully supports this feature. |
X036, |
Oracle fully supports this feature. |
X036, |
Oracle fully supports this feature. |
X038, |
The Oracle |
X040, Basic table mapping |
Oracle table mappings are available through a Java interface and through a package. Oracle table mappings have been generalized to map queries and not just tables. To map only a table:
Oracle does not support the following element of this feature:
|
X060, |
Oracle does not support the { |
X061, |
Oracle does not support the { |
X070, |
Oracle fully supports this feature. |
X071, |
Oracle fully supports this feature. |
X072, |
Oracle fully supports this feature. |
X076, |
Use |
X080, Namespaces in XML publishing |
In the Oracle implementation of |
X086, XML namespace declarations in |
Oracle fully supports this feature. |
X090, XML document predicate |
In Oracle, you can test whether an XML value is a document by using the |
X096, |
Use |
X120, XML parameters in SQL routines |
Oracle fully supports this feature. |
X121, XML parameters in external routines |
Oracle supports XML values passed to external routines using a non-standard interface. |
X141, |
The |
X142, |
The |
X143, |
The |
X144, |
The |
X145, |
The |
X151, |
The |
X156, |
The |
X157, |
The |
X160, Basic Information Schema for registered XML Schemas |
The Oracle static data dictionary view |
X161, Advanced Information Schema for registered XML Schemas |
Oracle does not have static data dictionary views corresponding to |
X191, |
Oracle does not support this syntax. However, a column of a table can be constrained by a registered XML Schema, in which case all values of the column will be of |
X200, XMLQuery |
Oracle fully supports the following elements of this feature:
Oracle does not support the following elements of this feature:
|
X221, XML passing mechanism |
Oracle supports only value semantics, but does not support the explicit |
X232, |
Oracle does not support this syntax as a type modifier, but the Oracle |
X241, |
Oracle does not support this syntax. In Oracle, the behavior of the publishing functions ( |
X251, Persistent XML values of |
Oracle fully supports this feature. |
X252, Persistent values of type |
Oracle fully supports this feature. |
X256, Persistent values of |
Oracle fully supports this feature. |
X260, XML type, |
Oracle does not support this syntax. However, a column of a table may be constrained by a top-level element in a registered XML Schema. |
X262, XML type, optional |
Oracle does not support this syntax. However, a column of a table may be constrained by a top-level element in a namespace other than the target namespace of a registered XML Schema. |
X263, XML type: |
Oracle does not support this syntax. However, a column of a table may be constrained by a top-level element in the "no name" namespace of a registered XML Schema. |
X264, XML type: schema location |
Oracle does not support this syntax. However, a column of a table may be constrained by a registered XML Schema that is identified by a schema location. |
X271, XMLValidate: data driven case |
The |
X272, XMLValidate: |
The |
X273, XMLValidate: |
The |
X274, XMLValidate: schema location |
The |
X281, XMLValidate with |
The |
X285, XMLValidate: optional |
The |
X286, XMLValidate: |
The |
X300, |
Oracle does not support reverse axes in the column path expressions. Aside from that restriction, Oracle fully supports the following elements of this feature:
Oracle does not support the following elements of this feature:
|