Re: xml parsing with “&”, “®”, but still getting errors
Posted: Wed Oct 03, 2018 7:32 am
Hi,
If you have an HTML document containing HTML-specific entity references probably a web browser knows how to expand and display those.
But a plain XML processor will know how to expand only 4 named entities: <, > &, " and '
And of course any XML processor also knows how to expand character entities (encoded either in hexadecimal or decimal format).
Regards,
Radu
If you have an HTML document containing HTML-specific entity references probably a web browser knows how to expand and display those.
But a plain XML processor will know how to expand only 4 named entities: <, > &, " and '
And of course any XML processor also knows how to expand character entities (encoded either in hexadecimal or decimal format).
Regards,
Radu