(entitySrc: string)
| 119 | } |
| 120 | |
| 121 | function _unknownEntityErrorMsg(entitySrc: string): string { |
| 122 | return `Unknown entity "${entitySrc}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`; |
| 123 | } |
| 124 | |
| 125 | function _unparsableEntityErrorMsg(type: CharacterReferenceType, entityStr: string): string { |
| 126 | return `Unable to parse entity "${entityStr}" - ${type} character reference entities must end with ";"`; |