W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2014

[Bug 24208] Please handle the case of XML attributes with namespaces but no prefix

From: <bugzilla@jessica.w3.org>
Date: Sun, 23 Mar 2014 00:11:27 +0000
To: www-dom@w3.org
Message-ID: <bug-24208-4009-5SjRrEBbRF@http.www.w3.org/Bugs/Public/>

Travis Leithead [MSFT] <travil@microsoft.com> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Travis Leithead [MSFT] <travil@microsoft.com> ---
OK, took a stab at this. Had to make some significant refactoring of the
algorithm, so make sure you review it all in context.

Unfortunately, I couldn't avoid a multi-pass through an element's attribute
list--hopefully you'll understand why when reading the steps. An implementation
can probably optimize this though :-).

Finally, I went with the easiest to spec approach of a single incrementing
integer (it only has scope within the execution of the algorithm, so that
multiple independent serializations may generate the overlapping "generated
prefixes". I think this is OK, because Firefox and IE do not enforce any kind
of global consistency here and the web is just fine (so I think this is already
a supreme edge-case).

You are receiving this mail because:
You are on the CC list for the bug.
Received on Sunday, 23 March 2014 00:11:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:22 UTC