[Webkit-unassigned] [Bug 5262] XMLSerializer drops Namespace information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 4 16:51:44 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=5262


lamargoddard at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13938|0                           |1
        is obsolete|                            |
  Attachment #13953|                            |review?
               Flag|                            |




------- Comment #20 from lamargoddard at gmail.com  2007-04-04 16:51 PDT -------
Created an attachment (id=13953)
 --> (http://bugs.webkit.org/attachment.cgi?id=13953&action=view)
patch for fix and test case

I've added [ConvertNullToNullString] for the namespaceURI parameters in
Document's bindings of createAttributeNS, createElementNS and
getElementsByTagNameNS.

The dom/xhtml/level3/core/nodeisequal14.xhtml test now fails because an Attr
created from createAttribute is supposed to have a null prefix, localName and
namespaceURI.  See:
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-1084891198
This was only passing before because the namespaceURI that was being used by
createAttributeNS(null, ...) was "null".

The dom/xhtml/level3/core/nodeisequal15.xhtml test now succeds as attributes
with no namespace from the page and attributes created explicitly with a
namespace of null have the same namespace.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list