Re: [whatwg/dom] Require PI attribute name/value to match the Name/Char production (PR #1524)

foolip left a comment (whatwg/dom#1524)

I added a check of the value against Char. At first this seemed wrong, that we should instead do more escaping in https://dom.spec.whatwg.org/#update-data-from-attributes, but the thing is that XML doesn't allow non-Char in values even if escaped. (A fact I've known and forgotten several times already.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1524#issuecomment-6770565263
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1524/c6770565263@github.com>

Received on Tuesday, 10 November 2026 14:54:33 UTC