<xs:simpleType name="globalId">
<xs:annotation>
<xs:documentation xml:lang="EN">
<p>A global identifier is unique within the file, not necessarily across files. It is composed of upper case and lower case letters as well as numbers. It shall not contain any whitespace.
Different parts may be separated by colon.</p>
<p>It is based on the XML Schema simple type
<code>xs:token</code>.</p>
<p>
<b>Remark:</b>The reason why the XML Schema type
<code>xs:ID</code>is not used for this purpose is that
<code>xs:ID</code>is bound to many restrictions with respect to the characters that are allowed to be used. Using
<code>xs:token</code>as basic type allows for more flexibility with respect to the use of Unicode characters and white spaces.</p>
<p>The uniqueness property of an attribute or element of type
<code>globalId</code>can be achieved by means of so called identity constraints, which is a feature of the XML Schema specification.</p>
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:pattern value="[0-9a-zA-Z_\-:.@]+" />
</xs:restriction>
</xs:simpleType>
|