[Webkit-unassigned] [Bug 15172] object fallback - empty string for first argument of setAttributeNS does not work like null

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 10 21:57:24 PDT 2007


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


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org




------- Comment #2 from ap at webkit.org  2007-09-10 21:57 PDT -------
>From DOM3Core: "Applications should use the value null as the namespaceURI
parameter for methods if they wish to have no namespace. In programming
languages where empty strings can be differentiated from null, empty strings,
when given as a namespace URI, are converted to null." Also: "applications must
use the value null as the namespaceURI parameter for methods if they wish to
have no namespace."

So, while null is the preferred form, both null and empty string should work.


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