Module: REXML::Parsers::BaseParser::Private

Defined in:
lib/rexml/parsers/baseparser.rb

Constant Summary collapse

PEREFERENCE_PATTERN =
/#{PEREFERENCE}/um
TAG_PATTERN =
/((?>#{QNAME_STR}))\s*/um
CLOSE_PATTERN =
/(#{QNAME_STR})\s*>/um
ATTLISTDECL_END =
/\s+#{NAME}(?:#{ATTDEF})*\s*>/um
NAME_PATTERN =
/#{NAME}/um
GEDECL_PATTERN =
"\\s+#{NAME}\\s+#{ENTITYDEF}\\s*>"
PEDECL_PATTERN =
"\\s+(%)\\s+#{NAME}\\s+#{PEDEF}\\s*>"
ENTITYDECL_PATTERN =
/(?:#{GEDECL_PATTERN})|(?:#{PEDECL_PATTERN})/um
CARRIAGE_RETURN_NEWLINE_PATTERN =
/\r\n?/
CHARACTER_REFERENCES =
/&#((?:\d+)|(?:x[a-fA-F0-9]+));/
DEFAULT_ENTITIES_PATTERNS =
{}
XML_PREFIXED_NAMESPACE =
"http://www.w3.org/XML/1998/namespace"