4 ms·
On the topic of "shocking deficiencies in markup/configuration languages": I only recently discovered there are some characters in XML that are outright illegal
by woodruffw 3y ago
On the topic of "shocking deficiencies in markup/configuration languages": I only recently discovered there are some characters in XML that are outright illegal, even when escaped[1]. Implementations vary on whether they actually honor these restrictions, making interoperability an additional issue.
As a result, user-supplied input can't just be escaped: it may also need to be base64 encoded or otherwise transformed into a safe alphabet.
[1]: https://www.w3.org/TR/xml/#charsets https://www.w3.org/TR/xml/#charsets