(type: CharacterReferenceType, entityStr: string)
| 123 | } |
| 124 | |
| 125 | function _unparsableEntityErrorMsg(type: CharacterReferenceType, entityStr: string): string { |
| 126 | return `Unable to parse entity "${entityStr}" - ${type} character reference entities must end with ";"`; |
| 127 | } |
| 128 | |
| 129 | enum CharacterReferenceType { |
| 130 | HEX = 'hexadecimal', |