InvalidEscapeAction

Defines different handler types what to do when invalid escape sequences are found inside unescapeString.

Values

ValueMeaning
keep0

keep the backslash character as well as the escape characters in the string like in the input string.

skip

Ignore and skip offending characters, drop them from the output. Named character entities are still being included like keep as they are not currently implemented.

error

Throw a ConvException on invalid escape sequences. Does not throw anything on unknown named character entities as they are not currently implemented but instead treats them like keep.

Meta