22.9.2.15 ST_UniversalMeasure
This simple type specifies that its contents will contain measurement expressed using one of common measure units. The content of this type is a decimal number immediately followed by a unit identifier. Unit identifiers are case sensitive and shall be in lowercase. Conforming applications are not required to preserve units of measure between loading and saving a particular document.
The following table lists units of measure which are allowed together with their definition based on existing standard or expressed as a conversion from other unit of measure.
Unit Identifier
Definition
As defined in ISO 31.
As defined in ISO 31.
1 in = 2.54 cm (informative)
1 pt = 1/72 in (informative)
1 pc = 12 pt (informative)
1 pi = 12 pt (informative)
This simple type’s contents are a restriction of the W3C XML Schema string datatype.
This simple type also
specifies the following restrictions:
- This simple type’s contents shall match the following regular expression pattern: -?[0-9]+(.[0-
- 9]+)?(mm|cm|in|pt|pc|pi).
[Note: The W3C XML Schema definition of this simple type’s content model (ST_UniversalMeasure) is located in A.6.9. end note]