Invalid XML characters in JSON input #1667
Labels
Editorial
Minor typos, wording clarifications, example fixes, etc.
PR Pending
A PR has been raised to resolve this issue
XQFO
An issue related to Functions and Operators
We have changed the data model (§2.8.4) (see PR #546) so that implementations may allow characters that are not valid XML characters.
We have not explored the impact of this change on parse-json(), which is one of the obvious places where non-XML characters may arise. For example, JSON allows unescaped C1 control characters.
(Note however that the data model explicitly bans unpaired surrogates, and I think that rule should apply to parse-json() even though the JSON grammar allows it).
Hopefully it only requires clarification notes to be added to the spec, and not any substantive change.
The text was updated successfully, but these errors were encountered: