Closed philidem closed 11 years ago
There are two existing solutions:
If support for new entities were added, the entities will have been decoded to unicode characters during XML parsing and unless the compiler re-encodes the special unicode characters using entities, the unicode character would be included as part of the output (encoded as UTF-8).
The SAX parser that raptor is using only supports these entities by default:
&
<
>
'
"
Other entities (such as
) are not supported. Maybe configure the parser to not decode the entities and just let them pass through as text. Maybe you could also support something like<xml:entity value="nbsp" />
.See https://github.com/isaacs/sax-js#regarding-doctypes-and-entitys