Defines a number of tokens used for parsing XML. Not for general consumption.
Constants
REFERENCE = "(?:{NAME};|\\d+;|[0-9a-fA-F]+;)"
NMTOKENS = "#{NMTOKEN}(\\s+#{NMTOKEN})*"
NMTOKEN = "(?:#{NAMECHAR})+"
NAME = "([\\w:]#{NAMECHAR}*)"
NAMECHAR = '[\-\w\.:]'
NAME_STR = "(?:#{NCNAME_STR}:)?#{NCNAME_STR}"
NCNAME_STR = '[\w:][\-\w.]*'