[whatwg/dom] Consider more name validation loosening (Issue #1373)

domenic created an issue (whatwg/dom#1373)

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

After #1079, the following parts of the spec will still reference XML name stuff:

- `createProcessingInstruction()` checks against the XML `Name` production
- `createDocumentType()` checks against the XML Namespaces `QName` production

(Additionally, there are historical references to the `Char` and `Name` production, and how we _don't_ validate against them.)

I suspect in both cases you can create PIs/doctypes that violate these rules using the HTML parser, so we could consider doing something similar to #1079.

However, the priority here is significantly lower than for attributes and elements.

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

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

Received on Monday, 19 May 2025 08:00:40 UTC