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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>365</bug_id>
          
          <creation_ts>2003-10-20 19:27:54 +0000</creation_ts>
          <short_desc>DOM Level 1 Core node value test errors</short_desc>
          <delta_ts>2003-11-19 06:07:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>DOM TS</product>
          <component>DOM Level 1</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Bob Clary">bob</reporter>
          <assigned_to name="Curt Arnold">carnold</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>817</commentid>
    <comment_count>0</comment_count>
    <who name="Bob Clary">bob</who>
    <bug_when>2003-10-20 19:27:54 +0000</bug_when>
    <thetext>hc_nodevalue01, hc_nodevalue05, hc_nodevalue06 each test that the modified value
of a node.nodeValue should not change upon setting. Setting the value should
according to the referenced specification
&lt;http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080&gt;
throw a NO_MODIFICATION_ALLOWED_ERR exception which causes the tests to fail
with an error rather than testing if the value has changed. 

This test should be rewritten to test for the exception or at least trap the
exception before attempting to test the value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>818</commentid>
    <comment_count>1</comment_count>
    <who name="Bob Clary">bob</who>
    <bug_when>2003-10-20 19:43:28 +0000</bug_when>
    <thetext>The same error occurs in nodevalue01, nodevalue05, nodevalue06.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>831</commentid>
    <comment_count>2</comment_count>
    <who name="Bob Clary">bob</who>
    <bug_when>2003-11-03 16:25:20 +0000</bug_when>
    <thetext>Curt,

Even though the DOM Level 2 Core spec
&lt;http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-F68D080&gt; does say that if
the nodeValue is null, setting it should have no effect and should not therefore
throw an exception, the DOM Level 1 Core spec is not clear on this point.
Implementations which followed a reaonable interpretation of DOM Level 1 Core
would fail while those that followed DOM Level 2 Core would pass which would be
kind of odd for DOM Level 1 Core tests. 

For example, Mozilla 1.5 and prior will fail these tests since they throw the
exception but Mozilla 1.6 will pass since the behavior in this case was changed
to match the DOM Level 2 Core spec. 

I believe these tests are more appropriate in DOM Level 2 Core than in DOM Level
1 Core and should be moved there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>863</commentid>
    <comment_count>3</comment_count>
    <who name="Curt Arnold">carnold</who>
    <bug_when>2003-11-19 01:07:39 +0000</bug_when>
    <thetext>The WG resolution when this was raised earlier was posted to www-dom-ts as
http://lists.w3.org/Archives/Public/www-dom-ts/2002Mar/0088.html.  The tests
reflect that resolution and unless the WG reopens the issue and provides new
instructions, I&apos;m marking this bug as invalid.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>