Re: Disallowed characters in XML

I think at least a disclaimer is a good idea.  In the case of the XML schema crafted from the mmCIF file format, the original dictionary allowed [ and ] characters in data names which had to be removed when mapped to XML elements.

Michael

________________________________
From: Steven Pemberton <steven.pemberton@cwi.nl>
Sent: Sunday, December 19, 2021 9:24 AM
To: ixml <public-ixml@w3.org>
Subject: Disallowed characters in XML

While reading the JSON test set
(https://urldefense.com/v3/__https://seriot.ch/projects/parsing_json.html__;!!DZ3fjg!rlKJcGTlF5IxBWPYxNy8sqJ8l65t5e37UjPhfWgmTCR4kmMW2ssktuDbDzzq86AqSA$ ) 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

Received on Monday, 20 December 2021 15:49:22 UTC