[whatwg/dom] Issue with validate and extract (foo:bar:baz inputs) (Issue #1453)

annevk created an issue (whatwg/dom#1453)

### What is the issue with the DOM Standard?

In #1387 we discussed the `foo::bar` case and how that would throw, but we did not discuss that for `foo:bar:baz` you end up with a prefix `foo` and local name `bar` and an ignored part `:baz`. That seems really bad?

I think if we always split on the first `:` things are mostly okay. You could still get some re-parsing weirdness in XML, but I'm pretty sure that already exists with HTML and XML nodes mixed.

This came up in https://github.com/WICG/sanitizer-api/issues/373.

cc @josepharhar @domenic @shannonbooth @evilpie @sideshowbarker @otherdaniel @zcorpan 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1453
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1453@github.com>

Received on Wednesday, 4 March 2026 07:48:45 UTC