<?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>15734</bug_id>
          
          <creation_ts>2007-10-28 05:29:33 -0700</creation_ts>
          <short_desc>fast/xpath/namespace-vs-predicate.xhtml fails unexpectedly in no-SVG build</short_desc>
          <delta_ts>2019-02-06 09:03:08 -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>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Rowe (bdash)">mrowe</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>ap</cc>
    
    <cc>cdumez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59694</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-10-28 05:29:33 -0700</bug_when>
    <thetext>http://build.webkit.org/results/trunk-mac-intel-nosvg/2750/results.html shows that fast/xpath/namespace-vs-predicate.xhtml is failing on the no-SVG buildbot.  The actual output contains the following error:
CONSOLE MESSAGE: line 38: TypeError: Null value

This is emitted by the following line of code:
        // Remove this node from the document so it doesn&apos;t make the DumpRenderTree output
        // different when SVG is enabled and disabled.
        document.getElementById(&quot;r_00&quot;).parentNode.removeChild(document.getElementById(&quot;r_00&quot;));

As the comment describes, this is intended to ensure that the &lt;svg:g&gt; node is removed to maintain identical rendering in SVG and no-SVG builds.  It is not clear why this is throwing an exception.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59700</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-10-28 10:22:35 -0700</bug_when>
    <thetext>Do you know when this regressed? I&apos;m not quite sure what kind of a bug this is: Firefox seems to have a similar problem with elements in unknown namespaces.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59701</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-10-28 10:28:38 -0700</bug_when>
    <thetext>Sorry I don&apos;t.  It&apos;s probably been like that for quite a while now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59707</commentid>
    <comment_count>3</comment_count>
      <attachid>16916</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-10-28 12:45:48 -0700</bug_when>
    <thetext>Created attachment 16916
unknown namespace test case

Firefox and TOT WebKit behave identically on this test (actually, Tiger WebKit does the same). I still don&apos;t see why.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65477</commentid>
    <comment_count>4</comment_count>
      <attachid>18150</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-12-28 12:27:00 -0800</bug_when>
    <thetext>Created attachment 18150
fix the test

It&apos;s actually clear: we do not support xml:id (see bug 16505), and plain &quot;id&quot; is only treated as ID in HTML and SVG content (unless a doctype says that some attribute is an ID, but it doesn&apos;t in this case, and we don&apos;t even support that, bug 12971).

A no-SVG build isn&apos;t supposed to know about SVG id attribute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65478</commentid>
    <comment_count>5</comment_count>
      <attachid>18150</attachid>
    <who name="">mitz</who>
    <bug_when>2007-12-28 12:33:10 -0800</bug_when>
    <thetext>Comment on attachment 18150
fix the test

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65570</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-12-28 23:52:33 -0800</bug_when>
    <thetext>Committed revision 29024.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1502910</commentid>
    <comment_count>7</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2019-02-06 09:03:08 -0800</bug_when>
    <thetext>Mass moving XML DOM bugs to the &quot;DOM&quot; Component.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16916</attachid>
            <date>2007-10-28 12:45:48 -0700</date>
            <delta_ts>2007-10-28 12:46:22 -0700</delta_ts>
            <desc>unknown namespace test case</desc>
            <filename>unknown-namespace.xhtml</filename>
            <type>application/xhtml+xml</type>
            <size>554</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGh0bWwgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiCiAgICB4bWxuczpmb289
Imh0dHA6Ly93ZWJraXQub3JnL2Zvb2JhciIKICAgIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8aGVh
ZD4KICAgIDx0aXRsZS8+CjwvaGVhZD4KPGJvZHk+CiAgICA8Zm9vOmJhciBpZD0icl8wMCIgeG1s
OmlkPSJyXzAwIi8+CiAgICA8c2NyaXB0PgogICAgICAgIHRyeSB7CiAgICAgICAgICAgIGFsZXJ0
KCdkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZU5TKCJodHRwOi8vd2Via2l0Lm9yZy9mb29i
YXIiLCAiYmFyIilbMF06ICcgKyBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZU5TKCJodHRw
Oi8vd2Via2l0Lm9yZy9mb29iYXIiLCAiYmFyIilbMF0pOwogICAgICAgICAgICBhbGVydCgnZG9j
dW1lbnQuZ2V0RWxlbWVudEJ5SWQoInJfMDAiKTogJyArIGRvY3VtZW50LmdldEVsZW1lbnRCeUlk
KCJyXzAwIikpOwogICAgICAgIH0gY2F0Y2ggKGV4KSB7CiAgICAgICAgICAgIGFsZXJ0KGV4KTsK
ICAgICAgICB9CiAgICA8L3NjcmlwdD4KCjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>18150</attachid>
            <date>2007-12-28 12:27:00 -0800</date>
            <delta_ts>2007-12-28 12:33:10 -0800</delta_ts>
            <desc>fix the test</desc>
            <filename>15734r1_patch.txt</filename>
            <type>text/plain</type>
            <size>1308</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDI5MDExKQorKysgTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMDctMTItMjggIEFsZXhleSBQcm9za3VyeWFr
b3YgIDxhcEB3ZWJraXQub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEp
LgorCisgICAgICAgIGh0dHA6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE1NzM0
CisgICAgICAgIGZhc3QveHBhdGgvbmFtZXNwYWNlLXZzLXByZWRpY2F0ZS54aHRtbCBmYWlscyB1
bmV4cGVjdGVkbHkgaW4gbm8tU1ZHIGJ1aWxkCisKKyAgICAgICAgKiBmYXN0L3hwYXRoL25hbWVz
cGFjZS12cy1wcmVkaWNhdGUueGh0bWw6IFVzZSAoaG9wZWZ1bGx5KSBjb3JyZWN0IGNvZGUgdG8g
cmVtb3ZlIGFuIFNWRyBlbGVtZW50LgorCiAyMDA3LTEyLTI3ICBEYW4gQmVybnN0ZWluICA8bWl0
ekBhcHBsZS5jb20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgT2xpdmVyIEh1bnQuCkluZGV4OiBM
YXlvdXRUZXN0cy9mYXN0L3hwYXRoL25hbWVzcGFjZS12cy1wcmVkaWNhdGUueGh0bWwKPT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PQotLS0gTGF5b3V0VGVzdHMvZmFzdC94cGF0aC9uYW1lc3BhY2UtdnMtcHJlZGljYXRlLnho
dG1sCShyZXZpc2lvbiAyOTAxMSkKKysrIExheW91dFRlc3RzL2Zhc3QveHBhdGgvbmFtZXNwYWNl
LXZzLXByZWRpY2F0ZS54aHRtbAkod29ya2luZyBjb3B5KQpAQCAtMzUsNyArMzUsOCBAQAogCiAg
ICAgICAgIC8vIFJlbW92ZSB0aGlzIG5vZGUgZnJvbSB0aGUgZG9jdW1lbnQgc28gaXQgZG9lc24n
dCBtYWtlIHRoZSBEdW1wUmVuZGVyVHJlZSBvdXRwdXQKICAgICAgICAgLy8gZGlmZmVyZW50IHdo
ZW4gU1ZHIGlzIGVuYWJsZWQgYW5kIGRpc2FibGVkLgotICAgICAgICBkb2N1bWVudC5nZXRFbGVt
ZW50QnlJZCgicl8wMCIpLnBhcmVudE5vZGUucmVtb3ZlQ2hpbGQoZG9jdW1lbnQuZ2V0RWxlbWVu
dEJ5SWQoInJfMDAiKSk7CisgICAgICAgIHZhciBnID0gZG9jdW1lbnQuZ2V0RWxlbWVudHNCeVRh
Z05hbWVOUygiaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciLCAiZyIpWzBdOworICAgICAgICBn
LnBhcmVudE5vZGUucmVtb3ZlQ2hpbGQoZyk7CiAgICAgPC9zY3JpcHQ+CiAKIDwvYm9keT4K
</data>
<flag name="review"
          id="7883"
          type_id="1"
          status="+"
          setter="mitz"
    />
          </attachment>
      

    </bug>

</bugzilla>