Represents text nodes in an XML document
Constants
SPECIALS = [ /&(?!#?[\w-]+;)/u, //u, /"/u, /'/u, /\r/u ]
SUBSTITUTES = ['&', '<', '>', '"', ''', ' ']
SLAICEPS = [ '<', '>', '"', "'", '&' ]
SETUTITSBUS = [ /</u, />/u, /"/u, /'/u, /&/u ]
ILLEGAL = /(<|&(?!(#{Entity::NAME})|(#0*((?:\d+)|(?:x[a-fA-F0-9]+)));))/um
NUMERICENTITY = /*((?:\d+)|(?:x[a-fA-F0-9]+));/
REFERENCE = /#{Entity::REFERENCE}/
EREFERENCE = /&(?!#{Entity::NAME};)/
Attributes
[RW] | raw |