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

The following changes would make the algorithm match the expected behavior. I'll try to prepare a PR later.

* 3.5.3: Change to "Otherwise, the attribute namespace is not the XMLNS namespace. __If *candidate prefix* is null,__ run these steps:"
* 3.5.3.1: Change to "__Let *new prefix* be *attr*'s prefix attribute if the *local prefixes map* contains a key matching *attr*'s prefix, or__ the result of *generating a prefix* providing *map*, *attribute namespace*, and *prefix index* as input __otherwise__.
* 3.5.3.2.3: Change to "The value of __*new prefix*__;"

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

Received on Wednesday, 28 June 2017 14:14:54 UTC