A character range R identifies a set of characters C(R) containing all XML characters with Universal Character Set (UCS) code points in a specified range.
charRange ::= seRange | XmlCharRef | XmlCharIncDash
seRange ::= charOrEsc '-' charOrEsc
XmlCharRef ::= ( '&#' [0-9]+ ';' ) | ('&#x' [0-9a-fA-F]+ ';' )
charOrEsc ::= XmlChar | SingleCharEsc
XmlChar ::= [^\#x2D#x5B#x5D]
XmlCharIncDash ::= [^\#x5B#x5D]
A single XML character is a character range that identifies the set of characters containing only itself. All XML characters are valid character ranges expect as follows:
A character range may also be written in the form s-e, identifying the set that contains all XML characters with UCS code points that are greater than or equal to the code point of s, but not greater than the code point of e.
The form s-e is a valid character range if:
Note The code point of a single character escape is the code point of the single character in the set of characters that it identifies.
XML Schema Regular Expressions | XML Schema Regular Expressions Reference Chart | Negative Character Group | Data Type Facets | Positive Character Group