A complexType to hold scalar data.

HAVE NOT YET WORKED OUT HOW TO EXTEND THIS!!

This defines scalar data under a single generic container. The semantics are usually resolved by linking to a dictionary. Its dataType defaults to xsd:string but has attributes which affect the type.

scalar does not necessarily reflect a physical object (for which object should be used). It may reflect a property of an object such as temperature, size, etc.

Note that normal Schema validation tools cannot validate the data type of scalar (it is defined as string), but that a temporary schema can be constructed from the type and used for validation. Also the type can be contained in a dictionary and software could decide to retrieve this and use it for validation.

STMML provides a generic instance of scalarType in scalar and this is a useful example of how to use the type.


&scalar1.html;