[Webkit-unassigned] [Bug 244174] Dataset setter should throw InvalidCharacterError when the parsed name doesn't match XML Name production

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 21 17:52:14 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=244174

Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |annevk at annevk.nl,
                   |                            |cdumez at apple.com

--- Comment #3 from Alexey Proskuryakov <ap at webkit.org> ---
I'm not sure if the change we made in 246206 at main was a good one. Compatibility characters are a footgun, as they are canonically equivalent to other characters. So what are we supposed to do when both variants appear? Attribute names in dataset are a good example here.

Simply referring to QName production in the XML standard superficially seems like a simplification, but restrictions that are still implemented in Blink (https://github.com/chromium/chromium/blob/main/third_party/blink/renderer/core/dom/document.cc#L444) seem more author friendly - at least one can copy/paste code in the editor without changing its meaning.

Are any other browsers making this change?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220822/273db3fc/attachment.htm>


More information about the webkit-unassigned mailing list