- From: Dan Robertson <notifications@github.com>
- Date: Sun, 11 Dec 2022 17:01:53 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 12 December 2022 01:02:05 UTC
Namespaces [validate and extract](https://dom.spec.whatwg.org/#validate-and-extract) uses strictly split a string in the following step: > 5. If qualifiedName contains a U+003A (:), then [strictly split](https://infra.spec.whatwg.org/#strictly-split) the string on it and set prefix to the part before and localName to the part after. [strictly-split](https://infra.spec.whatwg.org/#strictly-split) defines the result as a [list](https://infra.spec.whatwg.org/#lists), so "the part before" and "the part after" feels a bit vague. Due to the validation in step two and the branch condition the list will have two elements, but it would be a bit clearer to use list indexing. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1134 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1134@github.com>
Received on Monday, 12 December 2022 01:02:05 UTC