- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 21 May 2025 00:06:35 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 21 May 2025 07:06:39 UTC
domenic left a comment (whatwg/dom#1373) Alright, so what remains here is: - Processing instructions. Since you can't create these with the HTML parser, maybe it's fine to just keep using XML-level validation for them. It's a bit dissatisfying from a layering perspective to have this one strong DOM -> XML naming rules dependency left, but maybe the real sin is that DOM supports processing instructions at all. - Various historical references to how we don't validate things according to XML rules. We can keep these as-is, or maybe we should roll them into a general discussion at the top of the new name validation section. Something like a sentence or two saying that we have significantly loosened name validation and you shouldn't expect everything created with DOM APIs to follow XML rules or be serializable to XML in a lossless way. @annevk, any thoughts? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1373#issuecomment-2896837409 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1373/2896837409@github.com>
Received on Wednesday, 21 May 2025 07:06:39 UTC