Re: Disallowed characters in XML

Couple of times this has come up.
If it is an itch, could a character map function provide the solution?
https://www.w3.org/TR/xslt-30/#element-character-map

Not sure how it might integrate neatly.


regards

On Sun, 19 Dec 2021 at 15:24, Steven Pemberton <steven.pemberton@cwi.nl> wrote:
>
> While reading the JSON test set
> (https://seriot.ch/projects/parsing_json.html) I realised that ixml doesn't
> care about which characters are part of content, and XML does.
> So we need to add a comment along the lines of it being the grammar
> author's responsibility to ensure that characters that are not permitted in
> XML are not part of content to be serialized from ixml.
>
> Steven
>
>
>


-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.

Received on Monday, 20 December 2021 08:13:10 UTC