- From: C. Scott Ananian <notifications@github.com>
- Date: Sat, 03 Jul 2021 00:16:10 -0700
- To: w3c/DOM-Parsing <DOM-Parsing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 3 July 2021 07:16:23 UTC
Note also that the "Check if no special handling for XLink namespace unlike HTML serializer." test case in https://github.com/web-platform-tests/wpt/blame/master/domparsing/XMLSerializer-serializeToString.html#L218 also implicitly assumes the "firefox" behavior, not the spec behavior: ``` const root2 = (new Document()).createElement('root'); root2.setAttributeNS('http://www.w3.org/1999/xlink', 'xl:type', 'v'); assert_equals(serialize(root2), '<root xmlns:xl="http://www.w3.org/1999/xlink" xl:type="v"/>'); ``` The spec currently says the output should be `<root <root xmlns:ns1="http://www.w3.org/1999/xlink" ns1:type="v"/>` since the `xl` prefix on the attribute wouldn't be preserved. -- 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/29#issuecomment-873360953
Received on Saturday, 3 July 2021 07:16:23 UTC