Re: [w3c/DOM-Parsing] Serialization algorithm never preserves attribute prefixes (#29)

Ran across this bug as well.  Seems like a reference to this issue should be added to the WPT test "Check if an attribute with namespace and no prefix is serialized with the nearest-declared prefix"; an implementation following the spec as written will currently fail this assertion: https://github.com/web-platform-tests/wpt/blame/master/domparsing/XMLSerializer-serializeToString.html#L86 (since it will generate a new prefix instead of reusing one).

-- 
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-873164468

Received on Friday, 2 July 2021 17:53:54 UTC