Re: [w3c/DOM-Parsing] Error thrown when resetting the default namespace to null on a prefixed element (#48)

Ah yes, I saw that one. Looking at the tests in the linked PR it looks like they do not cover the case where the element having the `xmlns=""` declaration has a prefix (and is therefore not affected by this declaration, which now only applies to its children). In serialization, this causes the `ignore namespace definition attribute` flag to be set, which means the algorithm will skip the declaration before reaching the branch that throws the error mentioned here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/DOM-Parsing/issues/48#issuecomment-475666510

Received on Friday, 22 March 2019 15:32:52 UTC