diff --git a/dom.bs b/dom.bs index 70e5a8cc..0c81d339 100644 --- a/dom.bs +++ b/dom.bs @@ -245,10 +245,12 @@ U+0000 NULL, or U+003E (>).
  • Set prefix to splitResult[0].

  • Set localName to splitResult[1]. + +

  • If prefix is not a [=valid namespace prefix=], then [=throw=] an + "{{InvalidCharacterError}}" {{DOMException}}. -

  • If prefix is not a [=valid namespace prefix=], then [=throw=] an - "{{InvalidCharacterError}}" {{DOMException}}. +

  • Assert: prefix is either null or a [=valid namespace prefix=].

  • If context is "attribute" and localName is not a [=valid attribute local name=], then [=throw=] an "{{InvalidCharacterError}}" {{DOMException}}.