@object-datatype

The attribute object-datatype specifies the type of data that the object must take. This attribute is intended to specify that a particular verb governs raw units, not entities definable by the IRI + name pattern. Use this attribute if and only if the verb may not govern objects defined in <definitions>.

Formal Definition

string (pattern string|boolean|decimal|float|double|duration|dateTime|time|date|gYearMonth|gYear|gMonthDay|gDay|gMonth|hexBinary|base64Binary|anyURI|QName|normalizedString|token|language|NMTOKEN|NMTOKENS|Name|NCName|ID|IDREF|IDREFS|ENTITY|ENTITIES|integer|nonPositiveInteger|negativeInteger|long|int|short|byte|nonNegativeInteger|unsignedLong|unsignedInt|unsignedShort|unsignedByte|positiveInteger)

Defined at: TAN-A-div.rng

Used by: ~object-constraint

[Caution]Caution

Claims involving verbs whose object is constrained must use <object>, not @object.

[Caution]Caution

Verbs that have object constraints must not be combined with other verbs in @verb.

[Caution]Caution

<object>s taking strings must match the predefined @object-datatype for the verb.

Example 8.49. @object-datatype

      <definitions>
         .........
         <verb xml:id="agrees" which="agrees"/>
         <verb xml:id="replaces" which="replaces" object-datatype="string"/>
         <verb xml:id="quotes" which="quotes"/>
         .........
      </definitions>


[Note]Note

Taken from ar.cat.tan-a-div.claims