<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>24548</bug_id>
          
          <creation_ts>2009-03-12 08:20:40 -0700</creation_ts>
          <short_desc>createElementNS(&quot;&quot;, name) should create an element in null namespace</short_desc>
          <delta_ts>2019-02-06 09:03:42 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>cdumez</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>mike</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>113393</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-12 08:20:40 -0700</bug_when>
    <thetext>This is a change in DOM 3 Core over DOM 2 Core - empty strings are converted to null when used for namespace URIs. Firefox and Opera both work this way.

See &lt;http://lists.w3.org/Archives/Public/public-webapps/2009JanMar/0720.html&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113398</commentid>
    <comment_count>1</comment_count>
      <attachid>28530</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-12 09:11:29 -0700</bug_when>
    <thetext>Created attachment 28530
fix it radically</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113559</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-13 00:15:36 -0700</bug_when>
    <thetext>We had bug 15172 filed about the same issue with setAttributeNS already.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113560</commentid>
    <comment_count>3</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2009-03-13 00:49:53 -0700</bug_when>
    <thetext>I think your change will have the side effect of changing how createAttributeNS(&quot;&quot;, name) works. Is it covered by other test case(s) or am I missing something?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113563</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-13 01:02:12 -0700</bug_when>
    <thetext>Yes, this is why I called it a radical fix - it will fix all NS APIs at once (and they should all have this behavior per DOM 3 Core).

Is createAttributeNS a special case that shouldn&apos;t be fixed for some reason?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113565</commentid>
    <comment_count>5</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2009-03-13 01:26:30 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Yes, this is why I called it a radical fix - it will fix all NS APIs at once
&gt; (and they should all have this behavior per DOM 3 Core).
&gt; 
&gt; Is createAttributeNS a special case that shouldn&apos;t be fixed for some reason?

I have not tested so I would say no. createAttributeNS was just a example of other NS methods that would be impacted: I was just interested in why you were only testing one among them as it may have have given a compatibility reason to not fix one (note that I would rather keep a uniform behaviour in NS methods as you are doing).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113661</commentid>
    <comment_count>6</comment_count>
      <attachid>28530</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-03-13 12:34:03 -0700</bug_when>
    <thetext>Comment on attachment 28530
fix it radically

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113755</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-14 04:57:00 -0700</bug_when>
    <thetext>Committed &lt;http://trac.webkit.org/changeset/41700&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113758</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-14 04:57:57 -0700</bug_when>
    <thetext>(I&apos;ve added a test for setAttributeNS).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503018</commentid>
    <comment_count>9</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2019-02-06 09:03:42 -0800</bug_when>
    <thetext>Mass moving XML DOM bugs to the &quot;DOM&quot; Component.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>28530</attachid>
            <date>2009-03-12 09:11:29 -0700</date>
            <delta_ts>2009-03-13 12:34:03 -0700</delta_ts>
            <desc>fix it radically</desc>
            <filename>EmptyNamespaceURI.txt</filename>
            <type>text/plain</type>
            <size>3697</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0MTYyOCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTUgQEAKKzIwMDktMDMtMTIgIEFsZXhleSBQcm9za3VyeWFrb3YgIDxhcEB3ZWJr
aXQub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAg
IGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD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19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fCk5hbWU6IHN2bjptaW1lLXR5cGUKICAgKyB0ZXh0L2h0bWwKCg==
</data>
<flag name="review"
          id="14016"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>