Test http://www.w3.org/2001/DOM-Test-Suite/level3/core/domconfigurationcansetparameter02

<test name='domconfigurationcansetparameter02' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-3 dom3.xsd'>
     <metadata>
          <title>domconfigurationcansetparameter02</title>
          <creator>IBM</creator>
          <description> The canSetParameter method checks if setting a parameter to a specific value is supported. The parameter cdata-section is turned on by default. Check to see if this feature can be set to false by invoking canSetParameter method. Also check that this method does not change the value of parameter by checking if the two cdata-section nodes still exist in the document. </description>
          <contributor>Jenny Hsu</contributor>
          <date qualifier='created'>2003-11-06</date>
          <subject resource='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#DOMConfiguration'/>
</metadata>
     <implementationAttribute name='namespaceAware' value='true'/>
     <var name='doc' type='Document'/>
     <var name='domConfig' type='DOMConfiguration'/>
     <var name='strongList' type='NodeList'/>
     <var name='childList' type='NodeList'/>
     <var name='strongElem' type='Node'/>
     <var name='cdata1' type='Node'/>
     <var name='cdata2' type='Node'/>
     <var name='nodeType' type='int'/>
     <var name='canSet' type='boolean'/>
     <load var='doc' href='hc_staff' willBeModified='false'/>
     <domConfig obj='doc' var='domConfig' interface='Document'/>
     <canSetParameter obj='domConfig' var='canSet' name='"cdata-sections"' value='false'/>
     <assertTrue actual='canSet' id='domconfigurationcansetparameter02_1'/>
     <normalizeDocument obj='doc'/>
     <getElementsByTagNameNS var='strongList' obj='doc' localName='"strong"' namespaceURI='"*"' interface='Document'/>
     <item var='strongElem' obj='strongList' index='1' interface='NodeList'/>
     <childNodes var='childList' obj='strongElem' interface='Node'/>
     <item var='cdata1' obj='childList' index='1' interface='NodeList'/>
     <nodeType var='nodeType' obj='cdata1'/>
     <assertEquals actual='nodeType' expected='4' id='domconfigurationcansetparameter02_2' ignoreCase='false'/>
     <item var='cdata2' obj='childList' index='3' interface='NodeList'/>
     <nodeType var='nodeType' obj='cdata2'/>
     <assertEquals actual='nodeType' expected='4' id='domconfigurationcansetparameter02_3' ignoreCase='false'/>
</test>

Copyright (c) 2001-2004 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. This program is distributed under the W3C's Software Intellectual Property License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See W3C License http://www.w3.org/Consortium/Legal/ for more details.