Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
  2. <!--
  3.  
  4. Copyright (c) 2001-2004 World Wide Web Consortium,
  5. (Massachusetts Institute of Technology, Institut National de
  6. Recherche en Informatique et en Automatique, Keio University).  All
  7. Rights Reserved.  This program is distributed under the W3C's Software
  8. Intellectual Property License.  This program is distributed in the
  9. hope that it will be useful, but WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE.  
  12.  
  13. See W3C License http://www.w3.org/Consortium/Legal/ for more details.
  14.  
  15. -->
  16.  
  17. <!DOCTYPE test SYSTEM "dom3.dtd">
  18. <test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-3" name="domconfigurationgetparameter01">
  19. <metadata>
  20. <title>domconfigurationgetparameter01</title>
  21. <creator>IBM</creator>
  22. <description>
  23.         The method getParameter returns the value of a parameter if known.
  24.        
  25.         Get the DOMConfiguration object of a document and verify that the default required features are set
  26.         to true.
  27. </description>
  28. <contributor>Jenny Hsu</contributor>
  29. <date qualifier="created">2003-11-07</date>
  30.         <subject resource="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#DOMConfiguration-getParameter"/>
  31. </metadata>
  32. <var name="doc" type="Document"/>
  33. <var name="domConfig" type="DOMConfiguration"/>
  34. <var name="param" type="DOMUserData"/>
  35. <load var="doc" href="hc_staff" willBeModified="false"/>
  36. <domConfig obj="doc" var="domConfig" interface="Document"/>
  37. <getParameter obj="domConfig" var="param" name='"comments"'/>
  38. <assertTrue actual="param" id="domconfigurationgetparameter01_1"/>
  39. <getParameter obj="domConfig" var="param" name='"cdata-sections"'/>
  40. <assertTrue actual="param" id="domconfigurationgetparameter01_2"/>
  41. <getParameter obj="domConfig" var="param" name='"entities"'/>
  42. <assertTrue actual="param" id="domconfigurationgetparameter01_3"/>
  43. <getParameter obj="domConfig" var="param" name='"namespace-declarations"'/>
  44. <assertTrue actual="param" id="domconfigurationgetparameter01_4"/>
  45. <getParameter obj="domConfig" var="param" name='"infoset"'/>
  46. <assertFalse actual="param" id="domconfigurationgetparameter01_5"/>
  47. </test>
  48.