5.4 New OPC UA DataTypes for built-in XML data types

In Table 14, the mapping of built-in XML data types to OPC UA DataTypes is defined, where there is no corresponding built-in OPC UA DataType available. Those OPC UA DataTypes are defined in 6. In some cases, the range is smaller than possible in the XML data type.

Table 14 – New OPC UA DataTypes
OPC UA DataType XML DataType Comment
XmlQNameQName

Contains XML document specific prefix

Implementations might limit the maximum String size.

Array of XmlQNameNOTATION

Contains XML document specific prefixes

Implementations might limit the maximum String size.

XmlTokentokenImplementations might limit the maximum String size.
XmlNmTokenNMTOKENImplementations might limit the maximum String size.
Array of XmlNmTokenNMTOKENSImplementations might limit the maximum array length.
XmlNameNameImplementations might limit the maximum String size.
XmlNcNameNCNameImplementations might limit the maximum String size.
XmlIdIDImplementations might limit the maximum String size.
XmlIdRefIDREFImplementations might limit the maximum String size.
Array of XmlIdRefIDREFSImplementations might limit the maximum array length.
XmlEntityENTITYImplementations might limit the maximum String size.
Array of XmlEntityENTITIESImplementations might limit the maximum array length.
XmlIntegerintegerXmlInteger is a subtype of Int64 with a limited max. and min. value, whereas the size of integer is unlimited.
XmlNonPositiveIntegernonPositiveIntegerThe min. of XmlNonPositiveInteger is limited to min. of Int64, whereas the min. of nonPositiveInteger is unlimited.
XmlNegativeIntegernegativeIntegerThe min. of XmlNegativeInteger is limited to min. of Int64, whereas the min. of negativeInteger is unlimited.
XmlNonNegativeIntegernonNegativeIntegerThe max. of XmlNonNegativeInteger is limited to max. of UInt64, whereas the max. of nonNegativeInteger is unlimited.
XmlPositiveIntegerpositiveIntegerThe max. of XmlPositiveInteger is limited to max. of UInt64, whereas the max. of positiveInteger is unlimited.
XmlHexBinaryhexBinaryImplementations might limit the maximum ByteString size.
XmlYearMonthDurationyearMonthDurationImplementations might limit the maximum String size.
XmlGYearMonthgYearMonthImplementations might limit the maximum String size.
XmlDayTimeDurationdayTimeDurationImplementations might limit the maximum String size.
XmlGYeargYearImplementations might limit the maximum String size.
XmlGMonthgMonthImplementations might limit the maximum String size.
XmlGDaygDayImplementations might limit the maximum String size.
XmlGMonthDaygMonthDayImplementations might limit the maximum String size.
XmlTimetimeImplementations might limit the maximum String size.
XmlDatedateImplementations might limit the maximum String size.