RestrictedString Simple Type

Description

The naming rules that must be followed when assigning values to Name attributes.

Important Information

A name can contain only English (Roman) letters, numbers, and underscores (A-Z, a-z, 0-9, _) and must not begin with a digit.

Note: In IdentificationProperty elements, names can also contain spaces.

Type

restriction of string

Facets

pattern[a-zA-Z_]([a-zA-Z_0-9])*

Source

<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RestrictedString">
    <xs:restriction base="xs:string">
        <xs:pattern value="[a-zA-Z_]([a-zA-Z_0-9])*" />
    </xs:restriction>
</xs:simpleType>