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 = "(?:#{NAME_CHAR})+"
NAME = "(#{NAME_START_CHAR}#{NAME_CHAR}*)"
NAME_STR = "(?:#{NCNAME_STR}:)?#{NCNAME_STR}"
NCNAME_STR = "[#{ncname_start_chars.join('')}][#{ncname_chars.join('')}]*"
NAMECHAR = NAME_CHAR # deprecated. Use NAME_CHAR instead.
NAME_CHAR = "[#{name_chars.join('')}]"
NAME_START_CHAR = "[#{name_start_chars.join('')}]"