From 8f547c7bd349e0dc905e0dc5f32edbf1e01061ce Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 30 Jul 2009 11:06:01 +0000 Subject: Merge DOMTS tests -- they're causing havoc with review diffs. svn path=/trunk/dom/; revision=8910 --- test/testcases/tests/level1/core/.cvsignore | 2 + .../tests/level1/core/.nodeappendchild.xml.swp | Bin 0 -> 12288 bytes test/testcases/tests/level1/core/CVS/Entries | 531 ++++++++++++++++++++ test/testcases/tests/level1/core/CVS/Repository | 1 + test/testcases/tests/level1/core/CVS/Root | 1 + test/testcases/tests/level1/core/CVS/Template | 0 test/testcases/tests/level1/core/alltests.xml | 550 +++++++++++++++++++++ .../level1/core/attrcreatedocumentfragment.xml | 51 ++ .../tests/level1/core/attrcreatetextnode.xml | 51 ++ .../tests/level1/core/attrcreatetextnode2.xml | 50 ++ .../tests/level1/core/attrdefaultvalue.xml | 53 ++ .../tests/level1/core/attreffectivevalue.xml | 44 ++ .../tests/level1/core/attrentityreplacement.xml | 48 ++ test/testcases/tests/level1/core/attrname.xml | 47 ++ .../tests/level1/core/attrnextsiblingnull.xml | 44 ++ .../tests/level1/core/attrnotspecifiedvalue.xml | 48 ++ .../tests/level1/core/attrparentnodenull.xml | 44 ++ .../tests/level1/core/attrprevioussiblingnull.xml | 44 ++ .../tests/level1/core/attrremovechild1.xml | 45 ++ .../tests/level1/core/attrreplacechild1.xml | 47 ++ .../core/attrsetvaluenomodificationallowederr.xml | 69 +++ .../attrsetvaluenomodificationallowederrEE.xml | 65 +++ .../tests/level1/core/attrspecifiedvalue.xml | 45 ++ .../level1/core/attrspecifiedvaluechanged.xml | 47 ++ .../tests/level1/core/attrspecifiedvalueremove.xml | 55 +++ .../tests/level1/core/cdatasectiongetdata.xml | 45 ++ .../tests/level1/core/cdatasectionnormalize.xml | 49 ++ .../tests/level1/core/characterdataappenddata.xml | 48 ++ .../level1/core/characterdataappenddatagetdata.xml | 47 ++ ...acterdataappenddatanomodificationallowederr.xml | 59 +++ ...terdataappenddatanomodificationallowederrEE.xml | 47 ++ .../core/characterdatadeletedatabegining.xml | 45 ++ .../level1/core/characterdatadeletedataend.xml | 47 ++ .../core/characterdatadeletedataexceedslength.xml | 49 ++ .../characterdatadeletedatagetlengthanddata.xml | 54 ++ .../level1/core/characterdatadeletedatamiddle.xml | 47 ++ ...acterdatadeletedatanomodificationallowederr.xml | 59 +++ ...terdatadeletedatanomodificationallowederrEE.xml | 47 ++ .../tests/level1/core/characterdatagetdata.xml | 48 ++ .../tests/level1/core/characterdatagetlength.xml | 43 ++ ...cterdataindexsizeerrdeletedatacountnegative.xml | 48 ++ ...cterdataindexsizeerrdeletedataoffsetgreater.xml | 50 ++ ...terdataindexsizeerrdeletedataoffsetnegative.xml | 49 ++ ...cterdataindexsizeerrinsertdataoffsetgreater.xml | 49 ++ ...terdataindexsizeerrinsertdataoffsetnegative.xml | 48 ++ ...terdataindexsizeerrreplacedatacountnegative.xml | 49 ++ ...terdataindexsizeerrreplacedataoffsetgreater.xml | 50 ++ ...erdataindexsizeerrreplacedataoffsetnegative.xml | 50 ++ ...acterdataindexsizeerrsubstringcountnegative.xml | 49 ++ ...cterdataindexsizeerrsubstringnegativeoffset.xml | 49 ++ ...acterdataindexsizeerrsubstringoffsetgreater.xml | 50 ++ .../core/characterdatainsertdatabeginning.xml | 46 ++ .../level1/core/characterdatainsertdataend.xml | 47 ++ .../level1/core/characterdatainsertdatamiddle.xml | 47 ++ ...acterdatainsertdatanomodificationallowederr.xml | 59 +++ ...terdatainsertdatanomodificationallowederrEE.xml | 45 ++ .../core/characterdatareplacedatabegining.xml | 46 ++ .../level1/core/characterdatareplacedataend.xml | 47 ++ .../characterdatareplacedataexceedslengthofarg.xml | 48 ++ ...characterdatareplacedataexceedslengthofdata.xml | 46 ++ .../level1/core/characterdatareplacedatamiddle.xml | 47 ++ ...cterdatareplacedatanomodificationallowederr.xml | 60 +++ ...erdatareplacedatanomodificationallowederrEE.xml | 47 ++ ...haracterdatasetdatanomodificationallowederr.xml | 59 +++ ...racterdatasetdatanomodificationallowederrEE.xml | 44 ++ .../level1/core/characterdatasetnodevalue.xml | 43 ++ .../core/characterdatasubstringexceedsvalue.xml | 46 ++ .../level1/core/characterdatasubstringvalue.xml | 45 ++ .../tests/level1/core/commentgetcomment.xml | 56 +++ .../tests/level1/core/documentcreateattribute.xml | 45 ++ .../level1/core/documentcreatecdatasection.xml | 44 ++ .../tests/level1/core/documentcreatecomment.xml | 43 ++ .../level1/core/documentcreatedocumentfragment.xml | 47 ++ .../tests/level1/core/documentcreateelement.xml | 44 ++ .../core/documentcreateelementcasesensitive.xml | 46 ++ .../core/documentcreateelementdefaultattr.xml | 53 ++ .../level1/core/documentcreateentityreference.xml | 48 ++ .../core/documentcreateentityreferenceknown.xml | 51 ++ .../core/documentcreateprocessinginstruction.xml | 51 ++ .../tests/level1/core/documentcreatetextnode.xml | 43 ++ .../tests/level1/core/documentgetdoctype.xml | 49 ++ .../tests/level1/core/documentgetdoctypenodtd.xml | 34 ++ .../core/documentgetelementsbytagnamelength.xml | 36 ++ .../documentgetelementsbytagnametotallength.xml | 36 ++ .../core/documentgetelementsbytagnamevalue.xml | 44 ++ .../level1/core/documentgetimplementation.xml | 37 ++ .../tests/level1/core/documentgetrootnode.xml | 43 ++ ...entinvalidcharacterexceptioncreateattribute.xml | 44 ++ ...umentinvalidcharacterexceptioncreateelement.xml | 44 ++ ...cumentinvalidcharacterexceptioncreateentref.xml | 48 ++ ...umentinvalidcharacterexceptioncreateentref1.xml | 45 ++ .../documentinvalidcharacterexceptioncreatepi.xml | 48 ++ .../documentinvalidcharacterexceptioncreatepi1.xml | 45 ++ .../tests/level1/core/documenttypegetdoctype.xml | 44 ++ .../tests/level1/core/documenttypegetentities.xml | 68 +++ .../level1/core/documenttypegetentitieslength.xml | 43 ++ .../level1/core/documenttypegetentitiestype.xml | 45 ++ .../tests/level1/core/documenttypegetnotations.xml | 51 ++ .../level1/core/documenttypegetnotationstype.xml | 44 ++ .../core/domimplementationfeaturenoversion.xml | 33 ++ .../level1/core/domimplementationfeaturenull.xml | 35 ++ .../level1/core/domimplementationfeaturexml.xml | 32 ++ .../tests/level1/core/elementaddnewattribute.xml | 43 ++ .../level1/core/elementassociatedattribute.xml | 46 ++ .../level1/core/elementchangeattributevalue.xml | 46 ++ .../level1/core/elementcreatenewattribute.xml | 50 ++ .../tests/level1/core/elementgetattributenode.xml | 42 ++ .../level1/core/elementgetattributenodenull.xml | 41 ++ .../tests/level1/core/elementgetelementempty.xml | 49 ++ .../level1/core/elementgetelementsbytagname.xml | 39 ++ .../elementgetelementsbytagnameaccessnodelist.xml | 48 ++ .../core/elementgetelementsbytagnamenomatch.xml | 37 ++ .../elementgetelementsbytagnamespecialvalue.xml | 56 +++ .../tests/level1/core/elementgettagname.xml | 48 ++ .../tests/level1/core/elementinuseattributeerr.xml | 58 +++ .../core/elementinvalidcharacterexception.xml | 53 ++ .../tests/level1/core/elementnormalize.xml | 46 ++ .../tests/level1/core/elementnotfounderr.xml | 50 ++ .../tests/level1/core/elementremoveattribute.xml | 47 ++ .../core/elementremoveattributeaftercreate.xml | 49 ++ .../level1/core/elementremoveattributenode.xml | 43 ++ ...removeattributenodenomodificationallowederr.xml | 67 +++ ...moveattributenodenomodificationallowederrEE.xml | 61 +++ ...mentremoveattributenomodificationallowederr.xml | 62 +++ ...ntremoveattributenomodificationallowederrEE.xml | 53 ++ .../elementremoveattributerestoredefaultvalue.xml | 48 ++ .../core/elementreplaceattributewithself.xml | 42 ++ .../core/elementreplaceexistingattribute.xml | 48 ++ .../elementreplaceexistingattributegevalue.xml | 48 ++ .../level1/core/elementretrieveallattributes.xml | 46 ++ .../tests/level1/core/elementretrieveattrvalue.xml | 40 ++ .../tests/level1/core/elementretrievetagname.xml | 44 ++ ...entsetattributenodenomodificationallowederr.xml | 61 +++ ...tsetattributenodenomodificationallowederrEE.xml | 58 +++ .../level1/core/elementsetattributenodenull.xml | 45 ++ ...elementsetattributenomodificationallowederr.xml | 53 ++ ...ementsetattributenomodificationallowederrEE.xml | 53 ++ .../tests/level1/core/elementwrongdocumenterr.xml | 68 +++ .../tests/level1/core/entitygetentityname.xml | 46 ++ .../tests/level1/core/entitygetpublicid.xml | 55 +++ .../tests/level1/core/entitygetpublicidnull.xml | 45 ++ test/testcases/tests/level1/core/files/.cvsignore | 0 test/testcases/tests/level1/core/files/CVS/Entries | 16 + .../tests/level1/core/files/CVS/Repository | 1 + test/testcases/tests/level1/core/files/CVS/Root | 1 + .../testcases/tests/level1/core/files/CVS/Template | 0 .../tests/level1/core/files/hc_nodtdstaff.html | 10 + .../tests/level1/core/files/hc_nodtdstaff.svg | 10 + .../tests/level1/core/files/hc_nodtdstaff.xhtml | 10 + .../tests/level1/core/files/hc_nodtdstaff.xml | 10 + .../tests/level1/core/files/hc_staff.html | 48 ++ .../testcases/tests/level1/core/files/hc_staff.svg | 72 +++ .../tests/level1/core/files/hc_staff.xhtml | 60 +++ .../testcases/tests/level1/core/files/hc_staff.xml | 60 +++ test/testcases/tests/level1/core/files/staff.dtd | 17 + test/testcases/tests/level1/core/files/staff.svg | 72 +++ test/testcases/tests/level1/core/files/staff.xml | 57 +++ test/testcases/tests/level1/core/files/svgtest.js | 0 test/testcases/tests/level1/core/files/svgunit.js | 0 .../tests/level1/core/files/xhtml1-strict.dtd | 65 +++ .../tests/level1/core/hc_attrappendchild1.xml | 63 +++ .../tests/level1/core/hc_attrappendchild2.xml | 49 ++ .../tests/level1/core/hc_attrappendchild3.xml | 72 +++ .../tests/level1/core/hc_attrappendchild4.xml | 59 +++ .../tests/level1/core/hc_attrappendchild5.xml | 54 ++ .../tests/level1/core/hc_attrappendchild6.xml | 59 +++ .../tests/level1/core/hc_attrchildnodes1.xml | 51 ++ .../tests/level1/core/hc_attrchildnodes2.xml | 59 +++ .../tests/level1/core/hc_attrclonenode1.xml | 63 +++ .../level1/core/hc_attrcreatedocumentfragment.xml | 58 +++ .../tests/level1/core/hc_attrcreatetextnode.xml | 51 ++ .../tests/level1/core/hc_attrcreatetextnode2.xml | 50 ++ .../tests/level1/core/hc_attreffectivevalue.xml | 44 ++ .../tests/level1/core/hc_attrfirstchild.xml | 52 ++ .../tests/level1/core/hc_attrgetvalue1.xml | 45 ++ .../tests/level1/core/hc_attrgetvalue2.xml | 61 +++ .../tests/level1/core/hc_attrhaschildnodes.xml | 43 ++ .../tests/level1/core/hc_attrinsertbefore1.xml | 72 +++ .../tests/level1/core/hc_attrinsertbefore2.xml | 71 +++ .../tests/level1/core/hc_attrinsertbefore3.xml | 79 +++ .../tests/level1/core/hc_attrinsertbefore4.xml | 81 +++ .../tests/level1/core/hc_attrinsertbefore5.xml | 60 +++ .../tests/level1/core/hc_attrinsertbefore6.xml | 53 ++ .../tests/level1/core/hc_attrinsertbefore7.xml | 69 +++ .../tests/level1/core/hc_attrlastchild.xml | 52 ++ test/testcases/tests/level1/core/hc_attrname.xml | 48 ++ .../tests/level1/core/hc_attrnextsiblingnull.xml | 44 ++ .../tests/level1/core/hc_attrnormalize.xml | 65 +++ .../tests/level1/core/hc_attrparentnodenull.xml | 44 ++ .../level1/core/hc_attrprevioussiblingnull.xml | 44 ++ .../tests/level1/core/hc_attrremovechild1.xml | 62 +++ .../tests/level1/core/hc_attrremovechild2.xml | 49 ++ .../tests/level1/core/hc_attrreplacechild1.xml | 65 +++ .../tests/level1/core/hc_attrreplacechild2.xml | 74 +++ .../tests/level1/core/hc_attrsetvalue1.xml | 68 +++ .../tests/level1/core/hc_attrsetvalue2.xml | 71 +++ .../tests/level1/core/hc_attrspecifiedvalue.xml | 45 ++ .../level1/core/hc_attrspecifiedvaluechanged.xml | 47 ++ .../level1/core/hc_characterdataappenddata.xml | 48 ++ .../core/hc_characterdataappenddatagetdata.xml | 47 ++ .../core/hc_characterdatadeletedatabegining.xml | 45 ++ .../level1/core/hc_characterdatadeletedataend.xml | 47 ++ .../hc_characterdatadeletedataexceedslength.xml | 49 ++ .../hc_characterdatadeletedatagetlengthanddata.xml | 54 ++ .../core/hc_characterdatadeletedatamiddle.xml | 47 ++ .../tests/level1/core/hc_characterdatagetdata.xml | 48 ++ .../level1/core/hc_characterdatagetlength.xml | 43 ++ ...cterdataindexsizeerrdeletedatacountnegative.xml | 49 ++ ...cterdataindexsizeerrdeletedataoffsetgreater.xml | 50 ++ ...terdataindexsizeerrdeletedataoffsetnegative.xml | 49 ++ ...cterdataindexsizeerrinsertdataoffsetgreater.xml | 49 ++ ...terdataindexsizeerrinsertdataoffsetnegative.xml | 48 ++ ...terdataindexsizeerrreplacedatacountnegative.xml | 50 ++ ...terdataindexsizeerrreplacedataoffsetgreater.xml | 50 ++ ...erdataindexsizeerrreplacedataoffsetnegative.xml | 50 ++ ...acterdataindexsizeerrsubstringcountnegative.xml | 49 ++ ...cterdataindexsizeerrsubstringnegativeoffset.xml | 49 ++ ...acterdataindexsizeerrsubstringoffsetgreater.xml | 50 ++ .../core/hc_characterdatainsertdatabeginning.xml | 46 ++ .../level1/core/hc_characterdatainsertdataend.xml | 47 ++ .../core/hc_characterdatainsertdatamiddle.xml | 47 ++ .../core/hc_characterdatareplacedatabegining.xml | 46 ++ .../level1/core/hc_characterdatareplacedataend.xml | 47 ++ ..._characterdatareplacedataexceedslengthofarg.xml | 48 ++ ...characterdatareplacedataexceedslengthofdata.xml | 46 ++ .../core/hc_characterdatareplacedatamiddle.xml | 47 ++ .../level1/core/hc_characterdatasetnodevalue.xml | 43 ++ .../core/hc_characterdatasubstringexceedsvalue.xml | 46 ++ .../level1/core/hc_characterdatasubstringvalue.xml | 45 ++ .../tests/level1/core/hc_commentgetcomment.xml | 61 +++ .../level1/core/hc_documentcreateattribute.xml | 45 ++ .../tests/level1/core/hc_documentcreatecomment.xml | 43 ++ .../core/hc_documentcreatedocumentfragment.xml | 47 ++ .../tests/level1/core/hc_documentcreateelement.xml | 44 ++ .../core/hc_documentcreateelementcasesensitive.xml | 56 +++ .../level1/core/hc_documentcreatetextnode.xml | 43 ++ .../tests/level1/core/hc_documentgetdoctype.xml | 49 ++ .../core/hc_documentgetelementsbytagnamelength.xml | 36 ++ .../hc_documentgetelementsbytagnametotallength.xml | 135 +++++ .../core/hc_documentgetelementsbytagnamevalue.xml | 44 ++ .../level1/core/hc_documentgetimplementation.xml | 44 ++ .../tests/level1/core/hc_documentgetrootnode.xml | 40 ++ ...entinvalidcharacterexceptioncreateattribute.xml | 44 ++ ...ntinvalidcharacterexceptioncreateattribute1.xml | 36 ++ ...umentinvalidcharacterexceptioncreateelement.xml | 44 ++ ...mentinvalidcharacterexceptioncreateelement1.xml | 36 ++ .../core/hc_domimplementationfeaturenoversion.xml | 44 ++ .../core/hc_domimplementationfeaturenull.xml | 47 ++ .../level1/core/hc_domimplementationfeaturexml.xml | 43 ++ .../level1/core/hc_elementaddnewattribute.xml | 44 ++ .../level1/core/hc_elementassociatedattribute.xml | 44 ++ .../level1/core/hc_elementchangeattributevalue.xml | 46 ++ .../level1/core/hc_elementcreatenewattribute.xml | 51 ++ .../level1/core/hc_elementgetattributenode.xml | 39 ++ .../level1/core/hc_elementgetattributenodenull.xml | 41 ++ .../level1/core/hc_elementgetelementempty.xml | 50 ++ .../level1/core/hc_elementgetelementsbytagname.xml | 39 ++ ...c_elementgetelementsbytagnameaccessnodelist.xml | 61 +++ .../core/hc_elementgetelementsbytagnamenomatch.xml | 37 ++ .../hc_elementgetelementsbytagnamespecialvalue.xml | 56 +++ .../tests/level1/core/hc_elementgettagname.xml | 39 ++ .../level1/core/hc_elementinuseattributeerr.xml | 51 ++ .../core/hc_elementinvalidcharacterexception.xml | 45 ++ .../core/hc_elementinvalidcharacterexception1.xml | 38 ++ .../tests/level1/core/hc_elementnormalize.xml | 49 ++ .../tests/level1/core/hc_elementnormalize2.xml | 51 ++ .../tests/level1/core/hc_elementnotfounderr.xml | 50 ++ .../level1/core/hc_elementremoveattribute.xml | 40 ++ .../core/hc_elementremoveattributeaftercreate.xml | 50 ++ .../level1/core/hc_elementremoveattributenode.xml | 44 ++ .../core/hc_elementreplaceattributewithself.xml | 43 ++ .../core/hc_elementreplaceexistingattribute.xml | 48 ++ .../hc_elementreplaceexistingattributegevalue.xml | 49 ++ .../core/hc_elementretrieveallattributes.xml | 59 +++ .../level1/core/hc_elementretrieveattrvalue.xml | 40 ++ .../level1/core/hc_elementretrievetagname.xml | 44 ++ .../level1/core/hc_elementsetattributenodenull.xml | 46 ++ .../level1/core/hc_elementwrongdocumenterr.xml | 56 +++ .../level1/core/hc_entitiesremovenameditem1.xml | 44 ++ .../tests/level1/core/hc_entitiessetnameditem1.xml | 50 ++ .../level1/core/hc_namednodemapchildnoderange.xml | 60 +++ .../level1/core/hc_namednodemapgetnameditem.xml | 46 ++ .../core/hc_namednodemapinuseattributeerr.xml | 57 +++ .../level1/core/hc_namednodemapnotfounderr.xml | 50 ++ .../level1/core/hc_namednodemapnumberofnodes.xml | 45 ++ .../level1/core/hc_namednodemapremovenameditem.xml | 50 ++ .../level1/core/hc_namednodemapreturnattrnode.xml | 53 ++ .../level1/core/hc_namednodemapreturnfirstitem.xml | 63 +++ .../level1/core/hc_namednodemapreturnlastitem.xml | 65 +++ .../level1/core/hc_namednodemapreturnnull.xml | 47 ++ .../level1/core/hc_namednodemapsetnameditem.xml | 56 +++ .../hc_namednodemapsetnameditemreturnvalue.xml | 56 +++ .../core/hc_namednodemapsetnameditemthatexists.xml | 58 +++ .../hc_namednodemapsetnameditemwithnewvalue.xml | 51 ++ .../core/hc_namednodemapwrongdocumenterr.xml | 57 +++ .../tests/level1/core/hc_nodeappendchild.xml | 46 ++ .../level1/core/hc_nodeappendchildchildexists.xml | 72 +++ .../level1/core/hc_nodeappendchilddocfragment.xml | 74 +++ .../level1/core/hc_nodeappendchildgetnodename.xml | 47 ++ .../core/hc_nodeappendchildinvalidnodetype.xml | 49 ++ .../hc_nodeappendchildnewchilddiffdocument.xml | 53 ++ .../level1/core/hc_nodeappendchildnodeancestor.xml | 51 ++ .../level1/core/hc_nodeattributenodeattribute.xml | 46 ++ .../tests/level1/core/hc_nodeattributenodename.xml | 41 ++ .../tests/level1/core/hc_nodeattributenodetype.xml | 48 ++ .../level1/core/hc_nodeattributenodevalue.xml | 43 ++ .../tests/level1/core/hc_nodechildnodes.xml | 63 +++ .../level1/core/hc_nodechildnodesappendchild.xml | 73 +++ .../tests/level1/core/hc_nodechildnodesempty.xml | 46 ++ .../level1/core/hc_nodecloneattributescopied.xml | 62 +++ .../level1/core/hc_nodeclonefalsenocopytext.xml | 46 ++ .../level1/core/hc_nodeclonegetparentnull.xml | 42 ++ .../tests/level1/core/hc_nodeclonenodefalse.xml | 49 ++ .../tests/level1/core/hc_nodeclonenodetrue.xml | 61 +++ .../tests/level1/core/hc_nodeclonetruecopytext.xml | 45 ++ .../level1/core/hc_nodecommentnodeattributes.xml | 52 ++ .../tests/level1/core/hc_nodecommentnodename.xml | 51 ++ .../tests/level1/core/hc_nodecommentnodetype.xml | 50 ++ .../tests/level1/core/hc_nodecommentnodevalue.xml | 50 ++ .../core/hc_nodedocumentfragmentnodename.xml | 39 ++ .../core/hc_nodedocumentfragmentnodetype.xml | 39 ++ .../core/hc_nodedocumentfragmentnodevalue.xml | 48 ++ .../level1/core/hc_nodedocumentnodeattribute.xml | 38 ++ .../tests/level1/core/hc_nodedocumentnodename.xml | 37 ++ .../tests/level1/core/hc_nodedocumentnodetype.xml | 36 ++ .../tests/level1/core/hc_nodedocumentnodevalue.xml | 38 ++ .../level1/core/hc_nodeelementnodeattributes.xml | 59 +++ .../tests/level1/core/hc_nodeelementnodename.xml | 41 ++ .../tests/level1/core/hc_nodeelementnodetype.xml | 36 ++ .../tests/level1/core/hc_nodeelementnodevalue.xml | 33 ++ .../tests/level1/core/hc_nodegetfirstchild.xml | 48 ++ .../tests/level1/core/hc_nodegetfirstchildnull.xml | 41 ++ .../tests/level1/core/hc_nodegetlastchild.xml | 41 ++ .../tests/level1/core/hc_nodegetlastchildnull.xml | 42 ++ .../tests/level1/core/hc_nodegetnextsibling.xml | 41 ++ .../level1/core/hc_nodegetnextsiblingnull.xml | 48 ++ .../tests/level1/core/hc_nodegetownerdocument.xml | 44 ++ .../level1/core/hc_nodegetownerdocumentnull.xml | 40 ++ .../level1/core/hc_nodegetprevioussibling.xml | 41 ++ .../level1/core/hc_nodegetprevioussiblingnull.xml | 48 ++ .../tests/level1/core/hc_nodehaschildnodes.xml | 39 ++ .../level1/core/hc_nodehaschildnodesfalse.xml | 42 ++ .../tests/level1/core/hc_nodeinsertbefore.xml | 68 +++ .../level1/core/hc_nodeinsertbeforedocfragment.xml | 64 +++ .../core/hc_nodeinsertbeforeinvalidnodetype.xml | 55 +++ .../hc_nodeinsertbeforenewchilddiffdocument.xml | 55 +++ .../core/hc_nodeinsertbeforenewchildexists.xml | 68 +++ .../core/hc_nodeinsertbeforenodeancestor.xml | 53 ++ .../level1/core/hc_nodeinsertbeforenodename.xml | 50 ++ .../hc_nodeinsertbeforerefchildnonexistent.xml | 53 ++ .../core/hc_nodeinsertbeforerefchildnull.xml | 53 ++ .../level1/core/hc_nodelistindexequalzero.xml | 53 ++ .../level1/core/hc_nodelistindexgetlength.xml | 48 ++ .../core/hc_nodelistindexgetlengthofemptylist.xml | 46 ++ .../tests/level1/core/hc_nodelistindexnotzero.xml | 52 ++ .../level1/core/hc_nodelistreturnfirstitem.xml | 47 ++ .../level1/core/hc_nodelistreturnlastitem.xml | 50 ++ .../tests/level1/core/hc_nodelisttraverselist.xml | 65 +++ .../tests/level1/core/hc_nodeparentnode.xml | 41 ++ .../tests/level1/core/hc_nodeparentnodenull.xml | 38 ++ .../tests/level1/core/hc_noderemovechild.xml | 46 ++ .../level1/core/hc_noderemovechildgetnodename.xml | 51 ++ .../tests/level1/core/hc_noderemovechildnode.xml | 73 +++ .../core/hc_noderemovechildoldchildnonexistent.xml | 49 ++ .../tests/level1/core/hc_nodereplacechild.xml | 51 ++ .../core/hc_nodereplacechildinvalidnodetype.xml | 55 +++ .../hc_nodereplacechildnewchilddiffdocument.xml | 55 +++ .../core/hc_nodereplacechildnewchildexists.xml | 67 +++ .../core/hc_nodereplacechildnodeancestor.xml | 53 ++ .../level1/core/hc_nodereplacechildnodename.xml | 51 ++ .../hc_nodereplacechildoldchildnonexistent.xml | 51 ++ .../tests/level1/core/hc_nodetextnodeattribute.xml | 44 ++ .../tests/level1/core/hc_nodetextnodename.xml | 37 ++ .../tests/level1/core/hc_nodetextnodetype.xml | 48 ++ .../tests/level1/core/hc_nodetextnodevalue.xml | 43 ++ .../testcases/tests/level1/core/hc_nodevalue01.xml | 37 ++ .../testcases/tests/level1/core/hc_nodevalue02.xml | 38 ++ .../testcases/tests/level1/core/hc_nodevalue03.xml | 47 ++ .../testcases/tests/level1/core/hc_nodevalue04.xml | 46 ++ .../testcases/tests/level1/core/hc_nodevalue05.xml | 37 ++ .../testcases/tests/level1/core/hc_nodevalue06.xml | 35 ++ .../testcases/tests/level1/core/hc_nodevalue07.xml | 47 ++ .../testcases/tests/level1/core/hc_nodevalue08.xml | 47 ++ .../level1/core/hc_notationsremovenameditem1.xml | 44 ++ .../level1/core/hc_notationssetnameditem1.xml | 50 ++ .../core/hc_textindexsizeerrnegativeoffset.xml | 49 ++ .../core/hc_textindexsizeerroffsetoutofbounds.xml | 50 ++ .../level1/core/hc_textparseintolistofelements.xml | 75 +++ .../tests/level1/core/hc_textsplittextfour.xml | 46 ++ .../tests/level1/core/hc_textsplittextone.xml | 49 ++ .../tests/level1/core/hc_textsplittextthree.xml | 48 ++ .../tests/level1/core/hc_textsplittexttwo.xml | 47 ++ .../tests/level1/core/hc_textwithnomarkup.xml | 47 ++ test/testcases/tests/level1/core/metadata.xml | 15 + .../level1/core/namednodemapchildnoderange.xml | 49 ++ .../tests/level1/core/namednodemapgetnameditem.xml | 46 ++ .../level1/core/namednodemapinuseattributeerr.xml | 57 +++ .../tests/level1/core/namednodemapnotfounderr.xml | 49 ++ .../level1/core/namednodemapnumberofnodes.xml | 45 ++ .../level1/core/namednodemapremovenameditem.xml | 54 ++ .../core/namednodemapremovenameditemgetvalue.xml | 56 +++ .../namednodemapremovenameditemreturnnodevalue.xml | 47 ++ .../level1/core/namednodemapreturnattrnode.xml | 55 +++ .../level1/core/namednodemapreturnfirstitem.xml | 51 ++ .../level1/core/namednodemapreturnlastitem.xml | 51 ++ .../tests/level1/core/namednodemapreturnnull.xml | 45 ++ .../tests/level1/core/namednodemapsetnameditem.xml | 56 +++ .../core/namednodemapsetnameditemreturnvalue.xml | 56 +++ .../core/namednodemapsetnameditemthatexists.xml | 59 +++ .../core/namednodemapsetnameditemwithnewvalue.xml | 50 ++ .../level1/core/namednodemapwrongdocumenterr.xml | 56 +++ .../tests/level1/core/nodeappendchild.xml | 49 ++ .../level1/core/nodeappendchildchildexists.xml | 60 +++ .../level1/core/nodeappendchilddocfragment.xml | 70 +++ .../level1/core/nodeappendchildgetnodename.xml | 46 ++ .../level1/core/nodeappendchildinvalidnodetype.xml | 49 ++ .../core/nodeappendchildnewchilddiffdocument.xml | 53 ++ .../level1/core/nodeappendchildnodeancestor.xml | 50 ++ .../nodeappendchildnomodificationallowederr.xml | 61 +++ .../nodeappendchildnomodificationallowederrEE.xml | 46 ++ .../level1/core/nodeattributenodeattribute.xml | 46 ++ .../tests/level1/core/nodeattributenodename.xml | 50 ++ .../tests/level1/core/nodeattributenodetype.xml | 48 ++ .../tests/level1/core/nodeattributenodevalue.xml | 50 ++ .../level1/core/nodecdatasectionnodeattribute.xml | 50 ++ .../tests/level1/core/nodecdatasectionnodename.xml | 48 ++ .../tests/level1/core/nodecdatasectionnodetype.xml | 47 ++ .../level1/core/nodecdatasectionnodevalue.xml | 51 ++ .../testcases/tests/level1/core/nodechildnodes.xml | 53 ++ .../level1/core/nodechildnodesappendchild.xml | 44 ++ .../tests/level1/core/nodechildnodesempty.xml | 47 ++ .../level1/core/nodecloneattributescopied.xml | 54 ++ .../tests/level1/core/nodeclonefalsenocopytext.xml | 46 ++ .../tests/level1/core/nodeclonegetparentnull.xml | 42 ++ .../tests/level1/core/nodeclonenodefalse.xml | 49 ++ .../tests/level1/core/nodeclonenodetrue.xml | 83 ++++ .../tests/level1/core/nodeclonetruecopytext.xml | 42 ++ .../level1/core/nodecommentnodeattributes.xml | 50 ++ .../tests/level1/core/nodecommentnodename.xml | 47 ++ .../tests/level1/core/nodecommentnodetype.xml | 46 ++ .../tests/level1/core/nodecommentnodevalue.xml | 46 ++ .../level1/core/nodedocumentfragmentnodename.xml | 39 ++ .../level1/core/nodedocumentfragmentnodetype.xml | 39 ++ .../level1/core/nodedocumentfragmentnodevalue.xml | 48 ++ .../level1/core/nodedocumentnodeattribute.xml | 34 ++ .../tests/level1/core/nodedocumentnodename.xml | 38 ++ .../tests/level1/core/nodedocumentnodetype.xml | 36 ++ .../tests/level1/core/nodedocumentnodevalue.xml | 38 ++ .../tests/level1/core/nodedocumenttypenodename.xml | 40 ++ .../tests/level1/core/nodedocumenttypenodetype.xml | 34 ++ .../level1/core/nodedocumenttypenodevalue.xml | 33 ++ .../level1/core/nodeelementnodeattributes.xml | 52 ++ .../tests/level1/core/nodeelementnodename.xml | 52 ++ .../tests/level1/core/nodeelementnodetype.xml | 36 ++ .../tests/level1/core/nodeelementnodevalue.xml | 33 ++ .../tests/level1/core/nodeentitynodeattributes.xml | 40 ++ .../tests/level1/core/nodeentitynodename.xml | 39 ++ .../tests/level1/core/nodeentitynodetype.xml | 40 ++ .../tests/level1/core/nodeentitynodevalue.xml | 40 ++ .../core/nodeentityreferencenodeattributes.xml | 43 ++ .../level1/core/nodeentityreferencenodename.xml | 49 ++ .../level1/core/nodeentityreferencenodetype.xml | 47 ++ .../level1/core/nodeentityreferencenodevalue.xml | 49 ++ .../tests/level1/core/nodeentitysetnodevalue.xml | 43 ++ .../tests/level1/core/nodegetfirstchild.xml | 41 ++ .../tests/level1/core/nodegetfirstchildnull.xml | 52 ++ .../tests/level1/core/nodegetlastchild.xml | 41 ++ .../tests/level1/core/nodegetlastchildnull.xml | 52 ++ .../tests/level1/core/nodegetnextsibling.xml | 41 ++ .../tests/level1/core/nodegetnextsiblingnull.xml | 48 ++ .../tests/level1/core/nodegetownerdocument.xml | 50 ++ .../tests/level1/core/nodegetownerdocumentnull.xml | 31 ++ .../tests/level1/core/nodegetprevioussibling.xml | 41 ++ .../level1/core/nodegetprevioussiblingnull.xml | 48 ++ .../tests/level1/core/nodehaschildnodes.xml | 39 ++ .../tests/level1/core/nodehaschildnodesfalse.xml | 46 ++ .../tests/level1/core/nodeinsertbefore.xml | 87 ++++ .../level1/core/nodeinsertbeforedocfragment.xml | 63 +++ .../core/nodeinsertbeforeinvalidnodetype.xml | 53 ++ .../core/nodeinsertbeforenewchilddiffdocument.xml | 54 ++ .../level1/core/nodeinsertbeforenewchildexists.xml | 89 ++++ .../level1/core/nodeinsertbeforenodeancestor.xml | 54 ++ .../tests/level1/core/nodeinsertbeforenodename.xml | 49 ++ .../nodeinsertbeforenomodificationallowederr.xml | 62 +++ .../nodeinsertbeforenomodificationallowederrEE.xml | 47 ++ .../core/nodeinsertbeforerefchildnonexistent.xml | 52 ++ .../level1/core/nodeinsertbeforerefchildnull.xml | 52 ++ .../tests/level1/core/nodelistindexequalzero.xml | 43 ++ .../tests/level1/core/nodelistindexgetlength.xml | 44 ++ .../core/nodelistindexgetlengthofemptylist.xml | 47 ++ .../tests/level1/core/nodelistindexnotzero.xml | 52 ++ .../tests/level1/core/nodelistreturnfirstitem.xml | 46 ++ .../tests/level1/core/nodelistreturnlastitem.xml | 48 ++ .../tests/level1/core/nodelisttraverselist.xml | 78 +++ .../level1/core/nodenotationnodeattributes.xml | 44 ++ .../tests/level1/core/nodenotationnodename.xml | 45 ++ .../tests/level1/core/nodenotationnodetype.xml | 44 ++ .../tests/level1/core/nodenotationnodevalue.xml | 45 ++ .../testcases/tests/level1/core/nodeparentnode.xml | 47 ++ .../tests/level1/core/nodeparentnodenull.xml | 37 ++ .../nodeprocessinginstructionnodeattributes.xml | 44 ++ .../core/nodeprocessinginstructionnodename.xml | 46 ++ .../core/nodeprocessinginstructionnodetype.xml | 46 ++ .../core/nodeprocessinginstructionnodevalue.xml | 40 ++ .../core/nodeprocessinginstructionsetnodevalue.xml | 43 ++ .../tests/level1/core/noderemovechild.xml | 45 ++ .../level1/core/noderemovechildgetnodename.xml | 51 ++ .../tests/level1/core/noderemovechildnode.xml | 57 +++ .../noderemovechildnomodificationallowederr.xml | 59 +++ .../noderemovechildnomodificationallowederrEE.xml | 47 ++ .../core/noderemovechildoldchildnonexistent.xml | 49 ++ .../tests/level1/core/nodereplacechild.xml | 50 ++ .../core/nodereplacechildinvalidnodetype.xml | 53 ++ .../core/nodereplacechildnewchilddiffdocument.xml | 54 ++ .../level1/core/nodereplacechildnewchildexists.xml | 84 ++++ .../level1/core/nodereplacechildnodeancestor.xml | 54 ++ .../tests/level1/core/nodereplacechildnodename.xml | 54 ++ .../nodereplacechildnomodificationallowederr.xml | 60 +++ .../nodereplacechildnomodificationallowederrEE.xml | 48 ++ .../core/nodereplacechildoldchildnonexistent.xml | 51 ++ .../nodesetnodevaluenomodificationallowederr.xml | 62 +++ .../nodesetnodevaluenomodificationallowederrEE.xml | 42 ++ .../tests/level1/core/nodetextnodeattribute.xml | 44 ++ .../tests/level1/core/nodetextnodename.xml | 50 ++ .../tests/level1/core/nodetextnodetype.xml | 48 ++ .../tests/level1/core/nodetextnodevalue.xml | 42 ++ test/testcases/tests/level1/core/nodevalue01.xml | 37 ++ test/testcases/tests/level1/core/nodevalue02.xml | 38 ++ test/testcases/tests/level1/core/nodevalue03.xml | 38 ++ test/testcases/tests/level1/core/nodevalue04.xml | 38 ++ test/testcases/tests/level1/core/nodevalue05.xml | 37 ++ test/testcases/tests/level1/core/nodevalue06.xml | 35 ++ test/testcases/tests/level1/core/nodevalue07.xml | 44 ++ test/testcases/tests/level1/core/nodevalue08.xml | 44 ++ test/testcases/tests/level1/core/nodevalue09.xml | 36 ++ .../tests/level1/core/notationgetnotationname.xml | 43 ++ .../tests/level1/core/notationgetpublicid.xml | 40 ++ .../tests/level1/core/notationgetpublicidnull.xml | 45 ++ .../tests/level1/core/notationgetsystemid.xml | 45 ++ .../tests/level1/core/notationgetsystemidnull.xml | 41 ++ .../level1/core/processinginstructiongetdata.xml | 43 ++ .../level1/core/processinginstructiongettarget.xml | 42 ++ ...ginstructionsetdatanomodificationallowederr.xml | 53 ++ ...nstructionsetdatanomodificationallowederrEE.xml | 57 +++ .../level1/core/textindexsizeerrnegativeoffset.xml | 49 ++ .../core/textindexsizeerroffsetoutofbounds.xml | 50 ++ .../level1/core/textparseintolistofelements.xml | 74 +++ .../tests/level1/core/textsplittextfour.xml | 46 ++ .../core/textsplittextnomodificationallowederr.xml | 62 +++ .../textsplittextnomodificationallowederrEE.xml | 43 ++ .../tests/level1/core/textsplittextone.xml | 49 ++ .../tests/level1/core/textsplittextthree.xml | 48 ++ .../tests/level1/core/textsplittexttwo.xml | 47 ++ .../tests/level1/core/textwithnomarkup.xml | 47 ++ 554 files changed, 27514 insertions(+) create mode 100644 test/testcases/tests/level1/core/.cvsignore create mode 100644 test/testcases/tests/level1/core/.nodeappendchild.xml.swp create mode 100644 test/testcases/tests/level1/core/CVS/Entries create mode 100644 test/testcases/tests/level1/core/CVS/Repository create mode 100644 test/testcases/tests/level1/core/CVS/Root create mode 100644 test/testcases/tests/level1/core/CVS/Template create mode 100644 test/testcases/tests/level1/core/alltests.xml create mode 100644 test/testcases/tests/level1/core/attrcreatedocumentfragment.xml create mode 100644 test/testcases/tests/level1/core/attrcreatetextnode.xml create mode 100644 test/testcases/tests/level1/core/attrcreatetextnode2.xml create mode 100644 test/testcases/tests/level1/core/attrdefaultvalue.xml create mode 100644 test/testcases/tests/level1/core/attreffectivevalue.xml create mode 100644 test/testcases/tests/level1/core/attrentityreplacement.xml create mode 100644 test/testcases/tests/level1/core/attrname.xml create mode 100644 test/testcases/tests/level1/core/attrnextsiblingnull.xml create mode 100644 test/testcases/tests/level1/core/attrnotspecifiedvalue.xml create mode 100644 test/testcases/tests/level1/core/attrparentnodenull.xml create mode 100644 test/testcases/tests/level1/core/attrprevioussiblingnull.xml create mode 100644 test/testcases/tests/level1/core/attrremovechild1.xml create mode 100644 test/testcases/tests/level1/core/attrreplacechild1.xml create mode 100644 test/testcases/tests/level1/core/attrsetvaluenomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/attrsetvaluenomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/attrspecifiedvalue.xml create mode 100644 test/testcases/tests/level1/core/attrspecifiedvaluechanged.xml create mode 100644 test/testcases/tests/level1/core/attrspecifiedvalueremove.xml create mode 100644 test/testcases/tests/level1/core/cdatasectiongetdata.xml create mode 100644 test/testcases/tests/level1/core/cdatasectionnormalize.xml create mode 100644 test/testcases/tests/level1/core/characterdataappenddata.xml create mode 100644 test/testcases/tests/level1/core/characterdataappenddatagetdata.xml create mode 100644 test/testcases/tests/level1/core/characterdataappenddatanomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/characterdataappenddatanomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/characterdatadeletedatabegining.xml create mode 100644 test/testcases/tests/level1/core/characterdatadeletedataend.xml create mode 100644 test/testcases/tests/level1/core/characterdatadeletedataexceedslength.xml create mode 100644 test/testcases/tests/level1/core/characterdatadeletedatagetlengthanddata.xml create mode 100644 test/testcases/tests/level1/core/characterdatadeletedatamiddle.xml create mode 100644 test/testcases/tests/level1/core/characterdatadeletedatanomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/characterdatadeletedatanomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/characterdatagetdata.xml create mode 100644 test/testcases/tests/level1/core/characterdatagetlength.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrdeletedatacountnegative.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrdeletedataoffsetgreater.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrdeletedataoffsetnegative.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrinsertdataoffsetgreater.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrinsertdataoffsetnegative.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrreplacedatacountnegative.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrreplacedataoffsetgreater.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrreplacedataoffsetnegative.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrsubstringcountnegative.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrsubstringnegativeoffset.xml create mode 100644 test/testcases/tests/level1/core/characterdataindexsizeerrsubstringoffsetgreater.xml create mode 100644 test/testcases/tests/level1/core/characterdatainsertdatabeginning.xml create mode 100644 test/testcases/tests/level1/core/characterdatainsertdataend.xml create mode 100644 test/testcases/tests/level1/core/characterdatainsertdatamiddle.xml create mode 100644 test/testcases/tests/level1/core/characterdatainsertdatanomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/characterdatainsertdatanomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/characterdatareplacedatabegining.xml create mode 100644 test/testcases/tests/level1/core/characterdatareplacedataend.xml create mode 100644 test/testcases/tests/level1/core/characterdatareplacedataexceedslengthofarg.xml create mode 100644 test/testcases/tests/level1/core/characterdatareplacedataexceedslengthofdata.xml create mode 100644 test/testcases/tests/level1/core/characterdatareplacedatamiddle.xml create mode 100644 test/testcases/tests/level1/core/characterdatareplacedatanomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/characterdatareplacedatanomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/characterdatasetdatanomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/characterdatasetdatanomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/characterdatasetnodevalue.xml create mode 100644 test/testcases/tests/level1/core/characterdatasubstringexceedsvalue.xml create mode 100644 test/testcases/tests/level1/core/characterdatasubstringvalue.xml create mode 100644 test/testcases/tests/level1/core/commentgetcomment.xml create mode 100644 test/testcases/tests/level1/core/documentcreateattribute.xml create mode 100644 test/testcases/tests/level1/core/documentcreatecdatasection.xml create mode 100644 test/testcases/tests/level1/core/documentcreatecomment.xml create mode 100644 test/testcases/tests/level1/core/documentcreatedocumentfragment.xml create mode 100644 test/testcases/tests/level1/core/documentcreateelement.xml create mode 100644 test/testcases/tests/level1/core/documentcreateelementcasesensitive.xml create mode 100644 test/testcases/tests/level1/core/documentcreateelementdefaultattr.xml create mode 100644 test/testcases/tests/level1/core/documentcreateentityreference.xml create mode 100644 test/testcases/tests/level1/core/documentcreateentityreferenceknown.xml create mode 100644 test/testcases/tests/level1/core/documentcreateprocessinginstruction.xml create mode 100644 test/testcases/tests/level1/core/documentcreatetextnode.xml create mode 100644 test/testcases/tests/level1/core/documentgetdoctype.xml create mode 100644 test/testcases/tests/level1/core/documentgetdoctypenodtd.xml create mode 100644 test/testcases/tests/level1/core/documentgetelementsbytagnamelength.xml create mode 100644 test/testcases/tests/level1/core/documentgetelementsbytagnametotallength.xml create mode 100644 test/testcases/tests/level1/core/documentgetelementsbytagnamevalue.xml create mode 100644 test/testcases/tests/level1/core/documentgetimplementation.xml create mode 100644 test/testcases/tests/level1/core/documentgetrootnode.xml create mode 100644 test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateattribute.xml create mode 100644 test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateelement.xml create mode 100644 test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateentref.xml create mode 100644 test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateentref1.xml create mode 100644 test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreatepi.xml create mode 100644 test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreatepi1.xml create mode 100644 test/testcases/tests/level1/core/documenttypegetdoctype.xml create mode 100644 test/testcases/tests/level1/core/documenttypegetentities.xml create mode 100644 test/testcases/tests/level1/core/documenttypegetentitieslength.xml create mode 100644 test/testcases/tests/level1/core/documenttypegetentitiestype.xml create mode 100644 test/testcases/tests/level1/core/documenttypegetnotations.xml create mode 100644 test/testcases/tests/level1/core/documenttypegetnotationstype.xml create mode 100644 test/testcases/tests/level1/core/domimplementationfeaturenoversion.xml create mode 100644 test/testcases/tests/level1/core/domimplementationfeaturenull.xml create mode 100644 test/testcases/tests/level1/core/domimplementationfeaturexml.xml create mode 100644 test/testcases/tests/level1/core/elementaddnewattribute.xml create mode 100644 test/testcases/tests/level1/core/elementassociatedattribute.xml create mode 100644 test/testcases/tests/level1/core/elementchangeattributevalue.xml create mode 100644 test/testcases/tests/level1/core/elementcreatenewattribute.xml create mode 100644 test/testcases/tests/level1/core/elementgetattributenode.xml create mode 100644 test/testcases/tests/level1/core/elementgetattributenodenull.xml create mode 100644 test/testcases/tests/level1/core/elementgetelementempty.xml create mode 100644 test/testcases/tests/level1/core/elementgetelementsbytagname.xml create mode 100644 test/testcases/tests/level1/core/elementgetelementsbytagnameaccessnodelist.xml create mode 100644 test/testcases/tests/level1/core/elementgetelementsbytagnamenomatch.xml create mode 100644 test/testcases/tests/level1/core/elementgetelementsbytagnamespecialvalue.xml create mode 100644 test/testcases/tests/level1/core/elementgettagname.xml create mode 100644 test/testcases/tests/level1/core/elementinuseattributeerr.xml create mode 100644 test/testcases/tests/level1/core/elementinvalidcharacterexception.xml create mode 100644 test/testcases/tests/level1/core/elementnormalize.xml create mode 100644 test/testcases/tests/level1/core/elementnotfounderr.xml create mode 100644 test/testcases/tests/level1/core/elementremoveattribute.xml create mode 100644 test/testcases/tests/level1/core/elementremoveattributeaftercreate.xml create mode 100644 test/testcases/tests/level1/core/elementremoveattributenode.xml create mode 100644 test/testcases/tests/level1/core/elementremoveattributenodenomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/elementremoveattributenodenomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/elementremoveattributenomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/elementremoveattributenomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml create mode 100644 test/testcases/tests/level1/core/elementreplaceattributewithself.xml create mode 100644 test/testcases/tests/level1/core/elementreplaceexistingattribute.xml create mode 100644 test/testcases/tests/level1/core/elementreplaceexistingattributegevalue.xml create mode 100644 test/testcases/tests/level1/core/elementretrieveallattributes.xml create mode 100644 test/testcases/tests/level1/core/elementretrieveattrvalue.xml create mode 100644 test/testcases/tests/level1/core/elementretrievetagname.xml create mode 100644 test/testcases/tests/level1/core/elementsetattributenodenomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/elementsetattributenodenomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/elementsetattributenodenull.xml create mode 100644 test/testcases/tests/level1/core/elementsetattributenomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/elementsetattributenomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/elementwrongdocumenterr.xml create mode 100644 test/testcases/tests/level1/core/entitygetentityname.xml create mode 100644 test/testcases/tests/level1/core/entitygetpublicid.xml create mode 100644 test/testcases/tests/level1/core/entitygetpublicidnull.xml create mode 100644 test/testcases/tests/level1/core/files/.cvsignore create mode 100644 test/testcases/tests/level1/core/files/CVS/Entries create mode 100644 test/testcases/tests/level1/core/files/CVS/Repository create mode 100644 test/testcases/tests/level1/core/files/CVS/Root create mode 100644 test/testcases/tests/level1/core/files/CVS/Template create mode 100644 test/testcases/tests/level1/core/files/hc_nodtdstaff.html create mode 100644 test/testcases/tests/level1/core/files/hc_nodtdstaff.svg create mode 100644 test/testcases/tests/level1/core/files/hc_nodtdstaff.xhtml create mode 100644 test/testcases/tests/level1/core/files/hc_nodtdstaff.xml create mode 100644 test/testcases/tests/level1/core/files/hc_staff.html create mode 100644 test/testcases/tests/level1/core/files/hc_staff.svg create mode 100644 test/testcases/tests/level1/core/files/hc_staff.xhtml create mode 100644 test/testcases/tests/level1/core/files/hc_staff.xml create mode 100644 test/testcases/tests/level1/core/files/staff.dtd create mode 100644 test/testcases/tests/level1/core/files/staff.svg create mode 100644 test/testcases/tests/level1/core/files/staff.xml create mode 100644 test/testcases/tests/level1/core/files/svgtest.js create mode 100644 test/testcases/tests/level1/core/files/svgunit.js create mode 100644 test/testcases/tests/level1/core/files/xhtml1-strict.dtd create mode 100644 test/testcases/tests/level1/core/hc_attrappendchild1.xml create mode 100644 test/testcases/tests/level1/core/hc_attrappendchild2.xml create mode 100644 test/testcases/tests/level1/core/hc_attrappendchild3.xml create mode 100644 test/testcases/tests/level1/core/hc_attrappendchild4.xml create mode 100644 test/testcases/tests/level1/core/hc_attrappendchild5.xml create mode 100644 test/testcases/tests/level1/core/hc_attrappendchild6.xml create mode 100644 test/testcases/tests/level1/core/hc_attrchildnodes1.xml create mode 100644 test/testcases/tests/level1/core/hc_attrchildnodes2.xml create mode 100644 test/testcases/tests/level1/core/hc_attrclonenode1.xml create mode 100644 test/testcases/tests/level1/core/hc_attrcreatedocumentfragment.xml create mode 100644 test/testcases/tests/level1/core/hc_attrcreatetextnode.xml create mode 100644 test/testcases/tests/level1/core/hc_attrcreatetextnode2.xml create mode 100644 test/testcases/tests/level1/core/hc_attreffectivevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_attrfirstchild.xml create mode 100644 test/testcases/tests/level1/core/hc_attrgetvalue1.xml create mode 100644 test/testcases/tests/level1/core/hc_attrgetvalue2.xml create mode 100644 test/testcases/tests/level1/core/hc_attrhaschildnodes.xml create mode 100644 test/testcases/tests/level1/core/hc_attrinsertbefore1.xml create mode 100644 test/testcases/tests/level1/core/hc_attrinsertbefore2.xml create mode 100644 test/testcases/tests/level1/core/hc_attrinsertbefore3.xml create mode 100644 test/testcases/tests/level1/core/hc_attrinsertbefore4.xml create mode 100644 test/testcases/tests/level1/core/hc_attrinsertbefore5.xml create mode 100644 test/testcases/tests/level1/core/hc_attrinsertbefore6.xml create mode 100644 test/testcases/tests/level1/core/hc_attrinsertbefore7.xml create mode 100644 test/testcases/tests/level1/core/hc_attrlastchild.xml create mode 100644 test/testcases/tests/level1/core/hc_attrname.xml create mode 100644 test/testcases/tests/level1/core/hc_attrnextsiblingnull.xml create mode 100644 test/testcases/tests/level1/core/hc_attrnormalize.xml create mode 100644 test/testcases/tests/level1/core/hc_attrparentnodenull.xml create mode 100644 test/testcases/tests/level1/core/hc_attrprevioussiblingnull.xml create mode 100644 test/testcases/tests/level1/core/hc_attrremovechild1.xml create mode 100644 test/testcases/tests/level1/core/hc_attrremovechild2.xml create mode 100644 test/testcases/tests/level1/core/hc_attrreplacechild1.xml create mode 100644 test/testcases/tests/level1/core/hc_attrreplacechild2.xml create mode 100644 test/testcases/tests/level1/core/hc_attrsetvalue1.xml create mode 100644 test/testcases/tests/level1/core/hc_attrsetvalue2.xml create mode 100644 test/testcases/tests/level1/core/hc_attrspecifiedvalue.xml create mode 100644 test/testcases/tests/level1/core/hc_attrspecifiedvaluechanged.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataappenddata.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataappenddatagetdata.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatadeletedatabegining.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatadeletedataend.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatadeletedataexceedslength.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatadeletedatagetlengthanddata.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatadeletedatamiddle.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatagetdata.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatagetlength.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedatacountnegative.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedataoffsetgreater.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedataoffsetnegative.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrinsertdataoffsetgreater.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrinsertdataoffsetnegative.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedatacountnegative.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedataoffsetgreater.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedataoffsetnegative.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringcountnegative.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringnegativeoffset.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringoffsetgreater.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatainsertdatabeginning.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatainsertdataend.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatainsertdatamiddle.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatareplacedatabegining.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatareplacedataend.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatareplacedataexceedslengthofarg.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatareplacedataexceedslengthofdata.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatareplacedatamiddle.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatasetnodevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatasubstringexceedsvalue.xml create mode 100644 test/testcases/tests/level1/core/hc_characterdatasubstringvalue.xml create mode 100644 test/testcases/tests/level1/core/hc_commentgetcomment.xml create mode 100644 test/testcases/tests/level1/core/hc_documentcreateattribute.xml create mode 100644 test/testcases/tests/level1/core/hc_documentcreatecomment.xml create mode 100644 test/testcases/tests/level1/core/hc_documentcreatedocumentfragment.xml create mode 100644 test/testcases/tests/level1/core/hc_documentcreateelement.xml create mode 100644 test/testcases/tests/level1/core/hc_documentcreateelementcasesensitive.xml create mode 100644 test/testcases/tests/level1/core/hc_documentcreatetextnode.xml create mode 100644 test/testcases/tests/level1/core/hc_documentgetdoctype.xml create mode 100644 test/testcases/tests/level1/core/hc_documentgetelementsbytagnamelength.xml create mode 100644 test/testcases/tests/level1/core/hc_documentgetelementsbytagnametotallength.xml create mode 100644 test/testcases/tests/level1/core/hc_documentgetelementsbytagnamevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_documentgetimplementation.xml create mode 100644 test/testcases/tests/level1/core/hc_documentgetrootnode.xml create mode 100644 test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateattribute.xml create mode 100644 test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateattribute1.xml create mode 100644 test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateelement.xml create mode 100644 test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateelement1.xml create mode 100644 test/testcases/tests/level1/core/hc_domimplementationfeaturenoversion.xml create mode 100644 test/testcases/tests/level1/core/hc_domimplementationfeaturenull.xml create mode 100644 test/testcases/tests/level1/core/hc_domimplementationfeaturexml.xml create mode 100644 test/testcases/tests/level1/core/hc_elementaddnewattribute.xml create mode 100644 test/testcases/tests/level1/core/hc_elementassociatedattribute.xml create mode 100644 test/testcases/tests/level1/core/hc_elementchangeattributevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_elementcreatenewattribute.xml create mode 100644 test/testcases/tests/level1/core/hc_elementgetattributenode.xml create mode 100644 test/testcases/tests/level1/core/hc_elementgetattributenodenull.xml create mode 100644 test/testcases/tests/level1/core/hc_elementgetelementempty.xml create mode 100644 test/testcases/tests/level1/core/hc_elementgetelementsbytagname.xml create mode 100644 test/testcases/tests/level1/core/hc_elementgetelementsbytagnameaccessnodelist.xml create mode 100644 test/testcases/tests/level1/core/hc_elementgetelementsbytagnamenomatch.xml create mode 100644 test/testcases/tests/level1/core/hc_elementgetelementsbytagnamespecialvalue.xml create mode 100644 test/testcases/tests/level1/core/hc_elementgettagname.xml create mode 100644 test/testcases/tests/level1/core/hc_elementinuseattributeerr.xml create mode 100644 test/testcases/tests/level1/core/hc_elementinvalidcharacterexception.xml create mode 100644 test/testcases/tests/level1/core/hc_elementinvalidcharacterexception1.xml create mode 100644 test/testcases/tests/level1/core/hc_elementnormalize.xml create mode 100644 test/testcases/tests/level1/core/hc_elementnormalize2.xml create mode 100644 test/testcases/tests/level1/core/hc_elementnotfounderr.xml create mode 100644 test/testcases/tests/level1/core/hc_elementremoveattribute.xml create mode 100644 test/testcases/tests/level1/core/hc_elementremoveattributeaftercreate.xml create mode 100644 test/testcases/tests/level1/core/hc_elementremoveattributenode.xml create mode 100644 test/testcases/tests/level1/core/hc_elementreplaceattributewithself.xml create mode 100644 test/testcases/tests/level1/core/hc_elementreplaceexistingattribute.xml create mode 100644 test/testcases/tests/level1/core/hc_elementreplaceexistingattributegevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_elementretrieveallattributes.xml create mode 100644 test/testcases/tests/level1/core/hc_elementretrieveattrvalue.xml create mode 100644 test/testcases/tests/level1/core/hc_elementretrievetagname.xml create mode 100644 test/testcases/tests/level1/core/hc_elementsetattributenodenull.xml create mode 100644 test/testcases/tests/level1/core/hc_elementwrongdocumenterr.xml create mode 100644 test/testcases/tests/level1/core/hc_entitiesremovenameditem1.xml create mode 100644 test/testcases/tests/level1/core/hc_entitiessetnameditem1.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapchildnoderange.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapgetnameditem.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapinuseattributeerr.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapnotfounderr.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapnumberofnodes.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapremovenameditem.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapreturnattrnode.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapreturnfirstitem.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapreturnlastitem.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapreturnnull.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapsetnameditem.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapsetnameditemreturnvalue.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapsetnameditemthatexists.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapsetnameditemwithnewvalue.xml create mode 100644 test/testcases/tests/level1/core/hc_namednodemapwrongdocumenterr.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeappendchild.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeappendchildchildexists.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeappendchilddocfragment.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeappendchildgetnodename.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeappendchildinvalidnodetype.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeappendchildnewchilddiffdocument.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeappendchildnodeancestor.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeattributenodeattribute.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeattributenodename.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeattributenodetype.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeattributenodevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_nodechildnodes.xml create mode 100644 test/testcases/tests/level1/core/hc_nodechildnodesappendchild.xml create mode 100644 test/testcases/tests/level1/core/hc_nodechildnodesempty.xml create mode 100644 test/testcases/tests/level1/core/hc_nodecloneattributescopied.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeclonefalsenocopytext.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeclonegetparentnull.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeclonenodefalse.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeclonenodetrue.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeclonetruecopytext.xml create mode 100644 test/testcases/tests/level1/core/hc_nodecommentnodeattributes.xml create mode 100644 test/testcases/tests/level1/core/hc_nodecommentnodename.xml create mode 100644 test/testcases/tests/level1/core/hc_nodecommentnodetype.xml create mode 100644 test/testcases/tests/level1/core/hc_nodecommentnodevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_nodedocumentfragmentnodename.xml create mode 100644 test/testcases/tests/level1/core/hc_nodedocumentfragmentnodetype.xml create mode 100644 test/testcases/tests/level1/core/hc_nodedocumentfragmentnodevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_nodedocumentnodeattribute.xml create mode 100644 test/testcases/tests/level1/core/hc_nodedocumentnodename.xml create mode 100644 test/testcases/tests/level1/core/hc_nodedocumentnodetype.xml create mode 100644 test/testcases/tests/level1/core/hc_nodedocumentnodevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeelementnodeattributes.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeelementnodename.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeelementnodetype.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeelementnodevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_nodegetfirstchild.xml create mode 100644 test/testcases/tests/level1/core/hc_nodegetfirstchildnull.xml create mode 100644 test/testcases/tests/level1/core/hc_nodegetlastchild.xml create mode 100644 test/testcases/tests/level1/core/hc_nodegetlastchildnull.xml create mode 100644 test/testcases/tests/level1/core/hc_nodegetnextsibling.xml create mode 100644 test/testcases/tests/level1/core/hc_nodegetnextsiblingnull.xml create mode 100644 test/testcases/tests/level1/core/hc_nodegetownerdocument.xml create mode 100644 test/testcases/tests/level1/core/hc_nodegetownerdocumentnull.xml create mode 100644 test/testcases/tests/level1/core/hc_nodegetprevioussibling.xml create mode 100644 test/testcases/tests/level1/core/hc_nodegetprevioussiblingnull.xml create mode 100644 test/testcases/tests/level1/core/hc_nodehaschildnodes.xml create mode 100644 test/testcases/tests/level1/core/hc_nodehaschildnodesfalse.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeinsertbefore.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeinsertbeforedocfragment.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeinsertbeforeinvalidnodetype.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeinsertbeforenewchilddiffdocument.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeinsertbeforenewchildexists.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeinsertbeforenodeancestor.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeinsertbeforenodename.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeinsertbeforerefchildnonexistent.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeinsertbeforerefchildnull.xml create mode 100644 test/testcases/tests/level1/core/hc_nodelistindexequalzero.xml create mode 100644 test/testcases/tests/level1/core/hc_nodelistindexgetlength.xml create mode 100644 test/testcases/tests/level1/core/hc_nodelistindexgetlengthofemptylist.xml create mode 100644 test/testcases/tests/level1/core/hc_nodelistindexnotzero.xml create mode 100644 test/testcases/tests/level1/core/hc_nodelistreturnfirstitem.xml create mode 100644 test/testcases/tests/level1/core/hc_nodelistreturnlastitem.xml create mode 100644 test/testcases/tests/level1/core/hc_nodelisttraverselist.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeparentnode.xml create mode 100644 test/testcases/tests/level1/core/hc_nodeparentnodenull.xml create mode 100644 test/testcases/tests/level1/core/hc_noderemovechild.xml create mode 100644 test/testcases/tests/level1/core/hc_noderemovechildgetnodename.xml create mode 100644 test/testcases/tests/level1/core/hc_noderemovechildnode.xml create mode 100644 test/testcases/tests/level1/core/hc_noderemovechildoldchildnonexistent.xml create mode 100644 test/testcases/tests/level1/core/hc_nodereplacechild.xml create mode 100644 test/testcases/tests/level1/core/hc_nodereplacechildinvalidnodetype.xml create mode 100644 test/testcases/tests/level1/core/hc_nodereplacechildnewchilddiffdocument.xml create mode 100644 test/testcases/tests/level1/core/hc_nodereplacechildnewchildexists.xml create mode 100644 test/testcases/tests/level1/core/hc_nodereplacechildnodeancestor.xml create mode 100644 test/testcases/tests/level1/core/hc_nodereplacechildnodename.xml create mode 100644 test/testcases/tests/level1/core/hc_nodereplacechildoldchildnonexistent.xml create mode 100644 test/testcases/tests/level1/core/hc_nodetextnodeattribute.xml create mode 100644 test/testcases/tests/level1/core/hc_nodetextnodename.xml create mode 100644 test/testcases/tests/level1/core/hc_nodetextnodetype.xml create mode 100644 test/testcases/tests/level1/core/hc_nodetextnodevalue.xml create mode 100644 test/testcases/tests/level1/core/hc_nodevalue01.xml create mode 100644 test/testcases/tests/level1/core/hc_nodevalue02.xml create mode 100644 test/testcases/tests/level1/core/hc_nodevalue03.xml create mode 100644 test/testcases/tests/level1/core/hc_nodevalue04.xml create mode 100644 test/testcases/tests/level1/core/hc_nodevalue05.xml create mode 100644 test/testcases/tests/level1/core/hc_nodevalue06.xml create mode 100644 test/testcases/tests/level1/core/hc_nodevalue07.xml create mode 100644 test/testcases/tests/level1/core/hc_nodevalue08.xml create mode 100644 test/testcases/tests/level1/core/hc_notationsremovenameditem1.xml create mode 100644 test/testcases/tests/level1/core/hc_notationssetnameditem1.xml create mode 100644 test/testcases/tests/level1/core/hc_textindexsizeerrnegativeoffset.xml create mode 100644 test/testcases/tests/level1/core/hc_textindexsizeerroffsetoutofbounds.xml create mode 100644 test/testcases/tests/level1/core/hc_textparseintolistofelements.xml create mode 100644 test/testcases/tests/level1/core/hc_textsplittextfour.xml create mode 100644 test/testcases/tests/level1/core/hc_textsplittextone.xml create mode 100644 test/testcases/tests/level1/core/hc_textsplittextthree.xml create mode 100644 test/testcases/tests/level1/core/hc_textsplittexttwo.xml create mode 100644 test/testcases/tests/level1/core/hc_textwithnomarkup.xml create mode 100644 test/testcases/tests/level1/core/metadata.xml create mode 100644 test/testcases/tests/level1/core/namednodemapchildnoderange.xml create mode 100644 test/testcases/tests/level1/core/namednodemapgetnameditem.xml create mode 100644 test/testcases/tests/level1/core/namednodemapinuseattributeerr.xml create mode 100644 test/testcases/tests/level1/core/namednodemapnotfounderr.xml create mode 100644 test/testcases/tests/level1/core/namednodemapnumberofnodes.xml create mode 100644 test/testcases/tests/level1/core/namednodemapremovenameditem.xml create mode 100644 test/testcases/tests/level1/core/namednodemapremovenameditemgetvalue.xml create mode 100644 test/testcases/tests/level1/core/namednodemapremovenameditemreturnnodevalue.xml create mode 100644 test/testcases/tests/level1/core/namednodemapreturnattrnode.xml create mode 100644 test/testcases/tests/level1/core/namednodemapreturnfirstitem.xml create mode 100644 test/testcases/tests/level1/core/namednodemapreturnlastitem.xml create mode 100644 test/testcases/tests/level1/core/namednodemapreturnnull.xml create mode 100644 test/testcases/tests/level1/core/namednodemapsetnameditem.xml create mode 100644 test/testcases/tests/level1/core/namednodemapsetnameditemreturnvalue.xml create mode 100644 test/testcases/tests/level1/core/namednodemapsetnameditemthatexists.xml create mode 100644 test/testcases/tests/level1/core/namednodemapsetnameditemwithnewvalue.xml create mode 100644 test/testcases/tests/level1/core/namednodemapwrongdocumenterr.xml create mode 100644 test/testcases/tests/level1/core/nodeappendchild.xml create mode 100644 test/testcases/tests/level1/core/nodeappendchildchildexists.xml create mode 100644 test/testcases/tests/level1/core/nodeappendchilddocfragment.xml create mode 100644 test/testcases/tests/level1/core/nodeappendchildgetnodename.xml create mode 100644 test/testcases/tests/level1/core/nodeappendchildinvalidnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodeappendchildnewchilddiffdocument.xml create mode 100644 test/testcases/tests/level1/core/nodeappendchildnodeancestor.xml create mode 100644 test/testcases/tests/level1/core/nodeappendchildnomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/nodeappendchildnomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/nodeattributenodeattribute.xml create mode 100644 test/testcases/tests/level1/core/nodeattributenodename.xml create mode 100644 test/testcases/tests/level1/core/nodeattributenodetype.xml create mode 100644 test/testcases/tests/level1/core/nodeattributenodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodecdatasectionnodeattribute.xml create mode 100644 test/testcases/tests/level1/core/nodecdatasectionnodename.xml create mode 100644 test/testcases/tests/level1/core/nodecdatasectionnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodecdatasectionnodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodechildnodes.xml create mode 100644 test/testcases/tests/level1/core/nodechildnodesappendchild.xml create mode 100644 test/testcases/tests/level1/core/nodechildnodesempty.xml create mode 100644 test/testcases/tests/level1/core/nodecloneattributescopied.xml create mode 100644 test/testcases/tests/level1/core/nodeclonefalsenocopytext.xml create mode 100644 test/testcases/tests/level1/core/nodeclonegetparentnull.xml create mode 100644 test/testcases/tests/level1/core/nodeclonenodefalse.xml create mode 100644 test/testcases/tests/level1/core/nodeclonenodetrue.xml create mode 100644 test/testcases/tests/level1/core/nodeclonetruecopytext.xml create mode 100644 test/testcases/tests/level1/core/nodecommentnodeattributes.xml create mode 100644 test/testcases/tests/level1/core/nodecommentnodename.xml create mode 100644 test/testcases/tests/level1/core/nodecommentnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodecommentnodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodedocumentfragmentnodename.xml create mode 100644 test/testcases/tests/level1/core/nodedocumentfragmentnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodedocumentfragmentnodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodedocumentnodeattribute.xml create mode 100644 test/testcases/tests/level1/core/nodedocumentnodename.xml create mode 100644 test/testcases/tests/level1/core/nodedocumentnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodedocumentnodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodedocumenttypenodename.xml create mode 100644 test/testcases/tests/level1/core/nodedocumenttypenodetype.xml create mode 100644 test/testcases/tests/level1/core/nodedocumenttypenodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodeelementnodeattributes.xml create mode 100644 test/testcases/tests/level1/core/nodeelementnodename.xml create mode 100644 test/testcases/tests/level1/core/nodeelementnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodeelementnodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodeentitynodeattributes.xml create mode 100644 test/testcases/tests/level1/core/nodeentitynodename.xml create mode 100644 test/testcases/tests/level1/core/nodeentitynodetype.xml create mode 100644 test/testcases/tests/level1/core/nodeentitynodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodeentityreferencenodeattributes.xml create mode 100644 test/testcases/tests/level1/core/nodeentityreferencenodename.xml create mode 100644 test/testcases/tests/level1/core/nodeentityreferencenodetype.xml create mode 100644 test/testcases/tests/level1/core/nodeentityreferencenodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodeentitysetnodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodegetfirstchild.xml create mode 100644 test/testcases/tests/level1/core/nodegetfirstchildnull.xml create mode 100644 test/testcases/tests/level1/core/nodegetlastchild.xml create mode 100644 test/testcases/tests/level1/core/nodegetlastchildnull.xml create mode 100644 test/testcases/tests/level1/core/nodegetnextsibling.xml create mode 100644 test/testcases/tests/level1/core/nodegetnextsiblingnull.xml create mode 100644 test/testcases/tests/level1/core/nodegetownerdocument.xml create mode 100644 test/testcases/tests/level1/core/nodegetownerdocumentnull.xml create mode 100644 test/testcases/tests/level1/core/nodegetprevioussibling.xml create mode 100644 test/testcases/tests/level1/core/nodegetprevioussiblingnull.xml create mode 100644 test/testcases/tests/level1/core/nodehaschildnodes.xml create mode 100644 test/testcases/tests/level1/core/nodehaschildnodesfalse.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbefore.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbeforedocfragment.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbeforeinvalidnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbeforenewchilddiffdocument.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbeforenewchildexists.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbeforenodeancestor.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbeforenodename.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbeforenomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbeforenomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbeforerefchildnonexistent.xml create mode 100644 test/testcases/tests/level1/core/nodeinsertbeforerefchildnull.xml create mode 100644 test/testcases/tests/level1/core/nodelistindexequalzero.xml create mode 100644 test/testcases/tests/level1/core/nodelistindexgetlength.xml create mode 100644 test/testcases/tests/level1/core/nodelistindexgetlengthofemptylist.xml create mode 100644 test/testcases/tests/level1/core/nodelistindexnotzero.xml create mode 100644 test/testcases/tests/level1/core/nodelistreturnfirstitem.xml create mode 100644 test/testcases/tests/level1/core/nodelistreturnlastitem.xml create mode 100644 test/testcases/tests/level1/core/nodelisttraverselist.xml create mode 100644 test/testcases/tests/level1/core/nodenotationnodeattributes.xml create mode 100644 test/testcases/tests/level1/core/nodenotationnodename.xml create mode 100644 test/testcases/tests/level1/core/nodenotationnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodenotationnodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodeparentnode.xml create mode 100644 test/testcases/tests/level1/core/nodeparentnodenull.xml create mode 100644 test/testcases/tests/level1/core/nodeprocessinginstructionnodeattributes.xml create mode 100644 test/testcases/tests/level1/core/nodeprocessinginstructionnodename.xml create mode 100644 test/testcases/tests/level1/core/nodeprocessinginstructionnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodeprocessinginstructionnodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodeprocessinginstructionsetnodevalue.xml create mode 100644 test/testcases/tests/level1/core/noderemovechild.xml create mode 100644 test/testcases/tests/level1/core/noderemovechildgetnodename.xml create mode 100644 test/testcases/tests/level1/core/noderemovechildnode.xml create mode 100644 test/testcases/tests/level1/core/noderemovechildnomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/noderemovechildnomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/noderemovechildoldchildnonexistent.xml create mode 100644 test/testcases/tests/level1/core/nodereplacechild.xml create mode 100644 test/testcases/tests/level1/core/nodereplacechildinvalidnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodereplacechildnewchilddiffdocument.xml create mode 100644 test/testcases/tests/level1/core/nodereplacechildnewchildexists.xml create mode 100644 test/testcases/tests/level1/core/nodereplacechildnodeancestor.xml create mode 100644 test/testcases/tests/level1/core/nodereplacechildnodename.xml create mode 100644 test/testcases/tests/level1/core/nodereplacechildnomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/nodereplacechildnomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/nodereplacechildoldchildnonexistent.xml create mode 100644 test/testcases/tests/level1/core/nodesetnodevaluenomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/nodesetnodevaluenomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/nodetextnodeattribute.xml create mode 100644 test/testcases/tests/level1/core/nodetextnodename.xml create mode 100644 test/testcases/tests/level1/core/nodetextnodetype.xml create mode 100644 test/testcases/tests/level1/core/nodetextnodevalue.xml create mode 100644 test/testcases/tests/level1/core/nodevalue01.xml create mode 100644 test/testcases/tests/level1/core/nodevalue02.xml create mode 100644 test/testcases/tests/level1/core/nodevalue03.xml create mode 100644 test/testcases/tests/level1/core/nodevalue04.xml create mode 100644 test/testcases/tests/level1/core/nodevalue05.xml create mode 100644 test/testcases/tests/level1/core/nodevalue06.xml create mode 100644 test/testcases/tests/level1/core/nodevalue07.xml create mode 100644 test/testcases/tests/level1/core/nodevalue08.xml create mode 100644 test/testcases/tests/level1/core/nodevalue09.xml create mode 100644 test/testcases/tests/level1/core/notationgetnotationname.xml create mode 100644 test/testcases/tests/level1/core/notationgetpublicid.xml create mode 100644 test/testcases/tests/level1/core/notationgetpublicidnull.xml create mode 100644 test/testcases/tests/level1/core/notationgetsystemid.xml create mode 100644 test/testcases/tests/level1/core/notationgetsystemidnull.xml create mode 100644 test/testcases/tests/level1/core/processinginstructiongetdata.xml create mode 100644 test/testcases/tests/level1/core/processinginstructiongettarget.xml create mode 100644 test/testcases/tests/level1/core/processinginstructionsetdatanomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/processinginstructionsetdatanomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/textindexsizeerrnegativeoffset.xml create mode 100644 test/testcases/tests/level1/core/textindexsizeerroffsetoutofbounds.xml create mode 100644 test/testcases/tests/level1/core/textparseintolistofelements.xml create mode 100644 test/testcases/tests/level1/core/textsplittextfour.xml create mode 100644 test/testcases/tests/level1/core/textsplittextnomodificationallowederr.xml create mode 100644 test/testcases/tests/level1/core/textsplittextnomodificationallowederrEE.xml create mode 100644 test/testcases/tests/level1/core/textsplittextone.xml create mode 100644 test/testcases/tests/level1/core/textsplittextthree.xml create mode 100644 test/testcases/tests/level1/core/textsplittexttwo.xml create mode 100644 test/testcases/tests/level1/core/textwithnomarkup.xml (limited to 'test/testcases/tests/level1/core') diff --git a/test/testcases/tests/level1/core/.cvsignore b/test/testcases/tests/level1/core/.cvsignore new file mode 100644 index 0000000..46fbb92 --- /dev/null +++ b/test/testcases/tests/level1/core/.cvsignore @@ -0,0 +1,2 @@ +dom1.dtd +dom1.xsd diff --git a/test/testcases/tests/level1/core/.nodeappendchild.xml.swp b/test/testcases/tests/level1/core/.nodeappendchild.xml.swp new file mode 100644 index 0000000..1611a6e Binary files /dev/null and b/test/testcases/tests/level1/core/.nodeappendchild.xml.swp differ diff --git a/test/testcases/tests/level1/core/CVS/Entries b/test/testcases/tests/level1/core/CVS/Entries new file mode 100644 index 0000000..7b3371c --- /dev/null +++ b/test/testcases/tests/level1/core/CVS/Entries @@ -0,0 +1,531 @@ +D/files//// +/.cvsignore/1.1/Fri Apr 3 02:48:04 2009// +/alltests.xml/1.22/Fri Apr 3 02:48:03 2009// +/attrcreatedocumentfragment.xml/1.9/Fri Apr 3 02:48:04 2009// +/attrcreatetextnode.xml/1.9/Fri Apr 3 02:48:03 2009// +/attrcreatetextnode2.xml/1.5/Fri Apr 3 02:48:03 2009// +/attrdefaultvalue.xml/1.7/Fri Apr 3 02:48:03 2009// +/attreffectivevalue.xml/1.6/Fri Apr 3 02:48:03 2009// +/attrentityreplacement.xml/1.7/Fri Apr 3 02:48:04 2009// +/attrname.xml/1.6/Fri Apr 3 02:48:04 2009// +/attrnextsiblingnull.xml/1.7/Fri Apr 3 02:48:04 2009// +/attrnotspecifiedvalue.xml/1.8/Fri Apr 3 02:48:03 2009// +/attrparentnodenull.xml/1.7/Fri Apr 3 02:48:04 2009// +/attrprevioussiblingnull.xml/1.7/Fri Apr 3 02:48:04 2009// +/attrremovechild1.xml/1.3/Fri Apr 3 02:48:04 2009// +/attrreplacechild1.xml/1.3/Fri Apr 3 02:48:04 2009// +/attrsetvaluenomodificationallowederr.xml/1.9/Fri Apr 3 02:48:04 2009// +/attrsetvaluenomodificationallowederrEE.xml/1.9/Fri Apr 3 02:48:03 2009// +/attrspecifiedvalue.xml/1.6/Fri Apr 3 02:48:03 2009// +/attrspecifiedvaluechanged.xml/1.6/Fri Apr 3 02:48:04 2009// +/attrspecifiedvalueremove.xml/1.8/Fri Apr 3 02:48:04 2009// +/cdatasectiongetdata.xml/1.13/Fri Apr 3 02:48:03 2009// +/cdatasectionnormalize.xml/1.11/Fri Apr 3 02:48:03 2009// +/characterdataappenddata.xml/1.6/Fri Apr 3 02:48:03 2009// +/characterdataappenddatagetdata.xml/1.7/Fri Apr 3 02:48:04 2009// +/characterdataappenddatanomodificationallowederr.xml/1.12/Fri Apr 3 02:48:04 2009// +/characterdataappenddatanomodificationallowederrEE.xml/1.8/Fri Apr 3 02:48:04 2009// +/characterdatadeletedatabegining.xml/1.8/Fri Apr 3 02:48:04 2009// +/characterdatadeletedataend.xml/1.7/Fri Apr 3 02:48:04 2009// +/characterdatadeletedataexceedslength.xml/1.7/Fri Apr 3 02:48:04 2009// +/characterdatadeletedatagetlengthanddata.xml/1.8/Fri Apr 3 02:48:03 2009// +/characterdatadeletedatamiddle.xml/1.7/Fri Apr 3 02:48:04 2009// +/characterdatadeletedatanomodificationallowederr.xml/1.12/Fri Apr 3 02:48:04 2009// +/characterdatadeletedatanomodificationallowederrEE.xml/1.8/Fri Apr 3 02:48:04 2009// +/characterdatagetdata.xml/1.7/Fri Apr 3 02:48:03 2009// +/characterdatagetlength.xml/1.6/Fri Apr 3 02:48:03 2009// +/characterdataindexsizeerrdeletedatacountnegative.xml/1.9/Fri Apr 3 02:48:03 2009// +/characterdataindexsizeerrdeletedataoffsetgreater.xml/1.7/Fri Apr 3 02:48:03 2009// +/characterdataindexsizeerrdeletedataoffsetnegative.xml/1.7/Fri Apr 3 02:48:04 2009// +/characterdataindexsizeerrinsertdataoffsetgreater.xml/1.9/Fri Apr 3 02:48:04 2009// +/characterdataindexsizeerrinsertdataoffsetnegative.xml/1.9/Fri Apr 3 02:48:04 2009// +/characterdataindexsizeerrreplacedatacountnegative.xml/1.9/Fri Apr 3 02:48:03 2009// +/characterdataindexsizeerrreplacedataoffsetgreater.xml/1.9/Fri Apr 3 02:48:04 2009// +/characterdataindexsizeerrreplacedataoffsetnegative.xml/1.7/Fri Apr 3 02:48:04 2009// +/characterdataindexsizeerrsubstringcountnegative.xml/1.8/Fri Apr 3 02:48:03 2009// +/characterdataindexsizeerrsubstringnegativeoffset.xml/1.8/Fri Apr 3 02:48:03 2009// +/characterdataindexsizeerrsubstringoffsetgreater.xml/1.8/Fri Apr 3 02:48:03 2009// +/characterdatainsertdatabeginning.xml/1.8/Fri Apr 3 02:48:03 2009// +/characterdatainsertdataend.xml/1.7/Fri Apr 3 02:48:04 2009// +/characterdatainsertdatamiddle.xml/1.7/Fri Apr 3 02:48:04 2009// +/characterdatainsertdatanomodificationallowederr.xml/1.12/Fri Apr 3 02:48:04 2009// +/characterdatainsertdatanomodificationallowederrEE.xml/1.8/Fri Apr 3 02:48:04 2009// +/characterdatareplacedatabegining.xml/1.8/Fri Apr 3 02:48:04 2009// +/characterdatareplacedataend.xml/1.7/Fri Apr 3 02:48:04 2009// +/characterdatareplacedataexceedslengthofarg.xml/1.7/Fri Apr 3 02:48:03 2009// +/characterdatareplacedataexceedslengthofdata.xml/1.7/Fri Apr 3 02:48:03 2009// +/characterdatareplacedatamiddle.xml/1.7/Fri Apr 3 02:48:04 2009// +/characterdatareplacedatanomodificationallowederr.xml/1.13/Fri Apr 3 02:48:03 2009// +/characterdatareplacedatanomodificationallowederrEE.xml/1.8/Fri Apr 3 02:48:04 2009// +/characterdatasetdatanomodificationallowederr.xml/1.11/Fri Apr 3 02:48:04 2009// +/characterdatasetdatanomodificationallowederrEE.xml/1.8/Fri Apr 3 02:48:04 2009// +/characterdatasetnodevalue.xml/1.4/Fri Apr 3 02:48:03 2009// +/characterdatasubstringexceedsvalue.xml/1.7/Fri Apr 3 02:48:03 2009// +/characterdatasubstringvalue.xml/1.7/Fri Apr 3 02:48:04 2009// +/commentgetcomment.xml/1.6/Fri Apr 3 02:48:04 2009// +/documentcreateattribute.xml/1.8/Fri Apr 3 02:48:03 2009// +/documentcreatecdatasection.xml/1.12/Fri Apr 3 02:48:04 2009// +/documentcreatecomment.xml/1.8/Fri Apr 3 02:48:04 2009// +/documentcreatedocumentfragment.xml/1.8/Fri Apr 3 02:48:04 2009// +/documentcreateelement.xml/1.10/Fri Apr 3 02:48:03 2009// +/documentcreateelementcasesensitive.xml/1.7/Fri Apr 3 02:48:04 2009// +/documentcreateelementdefaultattr.xml/1.10/Fri Apr 3 02:48:03 2009// +/documentcreateentityreference.xml/1.15/Fri Apr 3 02:48:04 2009// +/documentcreateentityreferenceknown.xml/1.14/Fri Apr 3 02:48:04 2009// +/documentcreateprocessinginstruction.xml/1.12/Fri Apr 3 02:48:03 2009// +/documentcreatetextnode.xml/1.8/Fri Apr 3 02:48:03 2009// +/documentgetdoctype.xml/1.13/Fri Apr 3 02:48:04 2009// +/documentgetdoctypenodtd.xml/1.10/Fri Apr 3 02:48:04 2009// +/documentgetelementsbytagnamelength.xml/1.6/Fri Apr 3 02:48:04 2009// +/documentgetelementsbytagnametotallength.xml/1.7/Fri Apr 3 02:48:04 2009// +/documentgetelementsbytagnamevalue.xml/1.7/Fri Apr 3 02:48:03 2009// +/documentgetimplementation.xml/1.6/Fri Apr 3 02:48:04 2009// +/documentgetrootnode.xml/1.8/Fri Apr 3 02:48:04 2009// +/documentinvalidcharacterexceptioncreateattribute.xml/1.8/Fri Apr 3 02:48:04 2009// +/documentinvalidcharacterexceptioncreateelement.xml/1.8/Fri Apr 3 02:48:03 2009// +/documentinvalidcharacterexceptioncreateentref.xml/1.13/Fri Apr 3 02:48:04 2009// +/documentinvalidcharacterexceptioncreateentref1.xml/1.3/Fri Apr 3 02:48:04 2009// +/documentinvalidcharacterexceptioncreatepi.xml/1.13/Fri Apr 3 02:48:03 2009// +/documentinvalidcharacterexceptioncreatepi1.xml/1.3/Fri Apr 3 02:48:03 2009// +/documenttypegetdoctype.xml/1.10/Fri Apr 3 02:48:03 2009// +/documenttypegetentities.xml/1.13/Fri Apr 3 02:48:03 2009// +/documenttypegetentitieslength.xml/1.9/Fri Apr 3 02:48:03 2009// +/documenttypegetentitiestype.xml/1.9/Fri Apr 3 02:48:04 2009// +/documenttypegetnotations.xml/1.10/Fri Apr 3 02:48:04 2009// +/documenttypegetnotationstype.xml/1.8/Fri Apr 3 02:48:03 2009// +/domimplementationfeaturenoversion.xml/1.7/Fri Apr 3 02:48:04 2009// +/domimplementationfeaturenull.xml/1.5/Fri Apr 3 02:48:03 2009// +/domimplementationfeaturexml.xml/1.7/Fri Apr 3 02:48:04 2009// +/elementaddnewattribute.xml/1.6/Fri Apr 3 02:48:04 2009// +/elementassociatedattribute.xml/1.6/Fri Apr 3 02:48:04 2009// +/elementchangeattributevalue.xml/1.6/Fri Apr 3 02:48:03 2009// +/elementcreatenewattribute.xml/1.7/Fri Apr 3 02:48:03 2009// +/elementgetattributenode.xml/1.6/Fri Apr 3 02:48:04 2009// +/elementgetattributenodenull.xml/1.5/Fri Apr 3 02:48:04 2009// +/elementgetelementempty.xml/1.6/Fri Apr 3 02:48:04 2009// +/elementgetelementsbytagname.xml/1.6/Fri Apr 3 02:48:03 2009// +/elementgetelementsbytagnameaccessnodelist.xml/1.10/Fri Apr 3 02:48:03 2009// +/elementgetelementsbytagnamenomatch.xml/1.6/Fri Apr 3 02:48:03 2009// +/elementgetelementsbytagnamespecialvalue.xml/1.8/Fri Apr 3 02:48:04 2009// +/elementgettagname.xml/1.8/Fri Apr 3 02:48:04 2009// +/elementinuseattributeerr.xml/1.9/Fri Apr 3 02:48:04 2009// +/elementinvalidcharacterexception.xml/1.6/Fri Apr 3 02:48:04 2009// +/elementnormalize.xml/1.7/Fri Apr 3 02:48:04 2009// +/elementnotfounderr.xml/1.7/Fri Apr 3 02:48:04 2009// +/elementremoveattribute.xml/1.8/Fri Apr 3 02:48:04 2009// +/elementremoveattributeaftercreate.xml/1.6/Fri Apr 3 02:48:03 2009// +/elementremoveattributenode.xml/1.6/Fri Apr 3 02:48:03 2009// +/elementremoveattributenodenomodificationallowederr.xml/1.9/Fri Apr 3 02:48:04 2009// +/elementremoveattributenodenomodificationallowederrEE.xml/1.10/Fri Apr 3 02:48:03 2009// +/elementremoveattributenomodificationallowederr.xml/1.8/Fri Apr 3 02:48:04 2009// +/elementremoveattributenomodificationallowederrEE.xml/1.10/Fri Apr 3 02:48:03 2009// +/elementremoveattributerestoredefaultvalue.xml/1.9/Fri Apr 3 02:48:04 2009// +/elementreplaceattributewithself.xml/1.3/Fri Apr 3 02:48:04 2009// +/elementreplaceexistingattribute.xml/1.6/Fri Apr 3 02:48:04 2009// +/elementreplaceexistingattributegevalue.xml/1.8/Fri Apr 3 02:48:04 2009// +/elementretrieveallattributes.xml/1.7/Fri Apr 3 02:48:04 2009// +/elementretrieveattrvalue.xml/1.7/Fri Apr 3 02:48:03 2009// +/elementretrievetagname.xml/1.6/Fri Apr 3 02:48:04 2009// +/elementsetattributenodenomodificationallowederr.xml/1.12/Fri Apr 3 02:48:03 2009// +/elementsetattributenodenomodificationallowederrEE.xml/1.9/Fri Apr 3 02:48:03 2009// +/elementsetattributenodenull.xml/1.5/Fri Apr 3 02:48:04 2009// +/elementsetattributenomodificationallowederr.xml/1.10/Fri Apr 3 02:48:03 2009// +/elementsetattributenomodificationallowederrEE.xml/1.8/Fri Apr 3 02:48:03 2009// +/elementwrongdocumenterr.xml/1.6/Fri Apr 3 02:48:03 2009// +/entitygetentityname.xml/1.10/Fri Apr 3 02:48:03 2009// +/entitygetpublicid.xml/1.12/Fri Apr 3 02:48:03 2009// +/entitygetpublicidnull.xml/1.10/Fri Apr 3 02:48:03 2009// +/hc_attrappendchild1.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrappendchild2.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrappendchild3.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrappendchild4.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrappendchild5.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_attrappendchild6.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_attrchildnodes1.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrchildnodes2.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrclonenode1.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrcreatedocumentfragment.xml/1.5/Fri Apr 3 02:48:03 2009// +/hc_attrcreatetextnode.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrcreatetextnode2.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_attreffectivevalue.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrfirstchild.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrgetvalue1.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrgetvalue2.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrhaschildnodes.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_attrinsertbefore1.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrinsertbefore2.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrinsertbefore3.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_attrinsertbefore4.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrinsertbefore5.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_attrinsertbefore6.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrinsertbefore7.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrlastchild.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrname.xml/1.5/Fri Apr 3 02:48:04 2009// +/hc_attrnextsiblingnull.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_attrnormalize.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_attrparentnodenull.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrprevioussiblingnull.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrremovechild1.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrremovechild2.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_attrreplacechild1.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrreplacechild2.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_attrsetvalue1.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_attrsetvalue2.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_attrspecifiedvalue.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_attrspecifiedvaluechanged.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_characterdataappenddata.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_characterdataappenddatagetdata.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_characterdatadeletedatabegining.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_characterdatadeletedataend.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_characterdatadeletedataexceedslength.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_characterdatadeletedatagetlengthanddata.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_characterdatadeletedatamiddle.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_characterdatagetdata.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_characterdatagetlength.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_characterdataindexsizeerrdeletedatacountnegative.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_characterdataindexsizeerrdeletedataoffsetgreater.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_characterdataindexsizeerrdeletedataoffsetnegative.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_characterdataindexsizeerrinsertdataoffsetgreater.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_characterdataindexsizeerrinsertdataoffsetnegative.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_characterdataindexsizeerrreplacedatacountnegative.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_characterdataindexsizeerrreplacedataoffsetgreater.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_characterdataindexsizeerrreplacedataoffsetnegative.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_characterdataindexsizeerrsubstringcountnegative.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_characterdataindexsizeerrsubstringnegativeoffset.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_characterdataindexsizeerrsubstringoffsetgreater.xml/1.4/Fri Apr 3 02:48:04 2009// +/hc_characterdatainsertdatabeginning.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_characterdatainsertdataend.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_characterdatainsertdatamiddle.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_characterdatareplacedatabegining.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_characterdatareplacedataend.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_characterdatareplacedataexceedslengthofarg.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_characterdatareplacedataexceedslengthofdata.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_characterdatareplacedatamiddle.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_characterdatasetnodevalue.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_characterdatasubstringexceedsvalue.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_characterdatasubstringvalue.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_commentgetcomment.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_documentcreateattribute.xml/1.5/Fri Apr 3 02:48:03 2009// +/hc_documentcreatecomment.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_documentcreatedocumentfragment.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_documentcreateelement.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_documentcreateelementcasesensitive.xml/1.5/Fri Apr 3 02:48:04 2009// +/hc_documentcreatetextnode.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_documentgetdoctype.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_documentgetelementsbytagnamelength.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_documentgetelementsbytagnametotallength.xml/1.8/Fri Apr 3 02:48:03 2009// +/hc_documentgetelementsbytagnamevalue.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_documentgetimplementation.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_documentgetrootnode.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_documentinvalidcharacterexceptioncreateattribute.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_documentinvalidcharacterexceptioncreateattribute1.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_documentinvalidcharacterexceptioncreateelement.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_documentinvalidcharacterexceptioncreateelement1.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_domimplementationfeaturenoversion.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_domimplementationfeaturenull.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_domimplementationfeaturexml.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_elementaddnewattribute.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_elementassociatedattribute.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_elementchangeattributevalue.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_elementcreatenewattribute.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_elementgetattributenode.xml/1.4/Fri Apr 3 02:48:04 2009// +/hc_elementgetattributenodenull.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_elementgetelementempty.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_elementgetelementsbytagname.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_elementgetelementsbytagnameaccessnodelist.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_elementgetelementsbytagnamenomatch.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_elementgetelementsbytagnamespecialvalue.xml/1.5/Fri Apr 3 02:48:03 2009// +/hc_elementgettagname.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_elementinuseattributeerr.xml/1.4/Fri Apr 3 02:48:03 2009// +/hc_elementinvalidcharacterexception.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_elementinvalidcharacterexception1.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_elementnormalize.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_elementnormalize2.xml/1.4/Fri Apr 3 02:48:04 2009// +/hc_elementnotfounderr.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_elementremoveattribute.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_elementremoveattributeaftercreate.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_elementremoveattributenode.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_elementreplaceattributewithself.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_elementreplaceexistingattribute.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_elementreplaceexistingattributegevalue.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_elementretrieveallattributes.xml/1.6/Fri Apr 3 02:48:03 2009// +/hc_elementretrieveattrvalue.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_elementretrievetagname.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_elementsetattributenodenull.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_elementwrongdocumenterr.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_entitiesremovenameditem1.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_entitiessetnameditem1.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_namednodemapchildnoderange.xml/1.5/Fri Apr 3 02:48:04 2009// +/hc_namednodemapgetnameditem.xml/1.4/Fri Apr 3 02:48:04 2009// +/hc_namednodemapinuseattributeerr.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_namednodemapnotfounderr.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_namednodemapnumberofnodes.xml/1.5/Fri Apr 3 02:48:03 2009// +/hc_namednodemapremovenameditem.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_namednodemapreturnattrnode.xml/1.5/Fri Apr 3 02:48:04 2009// +/hc_namednodemapreturnfirstitem.xml/1.5/Fri Apr 3 02:48:03 2009// +/hc_namednodemapreturnlastitem.xml/1.5/Fri Apr 3 02:48:04 2009// +/hc_namednodemapreturnnull.xml/1.4/Fri Apr 3 02:48:04 2009// +/hc_namednodemapsetnameditem.xml/1.4/Fri Apr 3 02:48:03 2009// +/hc_namednodemapsetnameditemreturnvalue.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_namednodemapsetnameditemthatexists.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_namednodemapsetnameditemwithnewvalue.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_namednodemapwrongdocumenterr.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_nodeappendchild.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_nodeappendchildchildexists.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_nodeappendchilddocfragment.xml/1.5/Fri Apr 3 02:48:03 2009// +/hc_nodeappendchildgetnodename.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_nodeappendchildinvalidnodetype.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodeappendchildnewchilddiffdocument.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodeappendchildnodeancestor.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodeattributenodeattribute.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodeattributenodename.xml/1.4/Fri Apr 3 02:48:03 2009// +/hc_nodeattributenodetype.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodeattributenodevalue.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodechildnodes.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_nodechildnodesappendchild.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_nodechildnodesempty.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodecloneattributescopied.xml/1.7/Fri Apr 3 02:48:03 2009// +/hc_nodeclonefalsenocopytext.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_nodeclonegetparentnull.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodeclonenodefalse.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodeclonenodetrue.xml/1.5/Fri Apr 3 02:48:03 2009// +/hc_nodeclonetruecopytext.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodecommentnodeattributes.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_nodecommentnodename.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodecommentnodetype.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodecommentnodevalue.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodedocumentfragmentnodename.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodedocumentfragmentnodetype.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodedocumentfragmentnodevalue.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodedocumentnodeattribute.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodedocumentnodename.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodedocumentnodetype.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodedocumentnodevalue.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodeelementnodeattributes.xml/1.6/Fri Apr 3 02:48:03 2009// +/hc_nodeelementnodename.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_nodeelementnodetype.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_nodeelementnodevalue.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodegetfirstchild.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodegetfirstchildnull.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodegetlastchild.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_nodegetlastchildnull.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodegetnextsibling.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_nodegetnextsiblingnull.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodegetownerdocument.xml/1.4/Fri Apr 3 02:48:04 2009// +/hc_nodegetownerdocumentnull.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodegetprevioussibling.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodegetprevioussiblingnull.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_nodehaschildnodes.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_nodehaschildnodesfalse.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodeinsertbefore.xml/1.6/Fri Apr 3 02:48:04 2009// +/hc_nodeinsertbeforedocfragment.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_nodeinsertbeforeinvalidnodetype.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_nodeinsertbeforenewchilddiffdocument.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodeinsertbeforenewchildexists.xml/1.4/Fri Apr 3 02:48:04 2009// +/hc_nodeinsertbeforenodeancestor.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_nodeinsertbeforenodename.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_nodeinsertbeforerefchildnonexistent.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodeinsertbeforerefchildnull.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_nodelistindexequalzero.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_nodelistindexgetlength.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodelistindexgetlengthofemptylist.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodelistindexnotzero.xml/1.4/Fri Apr 3 02:48:03 2009// +/hc_nodelistreturnfirstitem.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodelistreturnlastitem.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodelisttraverselist.xml/1.4/Fri Apr 3 02:48:04 2009// +/hc_nodeparentnode.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodeparentnodenull.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_noderemovechild.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_noderemovechildgetnodename.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_noderemovechildnode.xml/1.5/Fri Apr 3 02:48:04 2009// +/hc_noderemovechildoldchildnonexistent.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodereplacechild.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_nodereplacechildinvalidnodetype.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_nodereplacechildnewchilddiffdocument.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodereplacechildnewchildexists.xml/1.4/Fri Apr 3 02:48:03 2009// +/hc_nodereplacechildnodeancestor.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_nodereplacechildnodename.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodereplacechildoldchildnonexistent.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodetextnodeattribute.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodetextnodename.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_nodetextnodetype.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodetextnodevalue.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_nodevalue01.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodevalue02.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_nodevalue03.xml/1.5/Fri Apr 3 02:48:03 2009// +/hc_nodevalue04.xml/1.5/Fri Apr 3 02:48:03 2009// +/hc_nodevalue05.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_nodevalue06.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_nodevalue07.xml/1.5/Fri Apr 3 02:48:04 2009// +/hc_nodevalue08.xml/1.5/Fri Apr 3 02:48:04 2009// +/hc_notationsremovenameditem1.xml/1.3/Fri Apr 3 02:48:04 2009// +/hc_notationssetnameditem1.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_textindexsizeerrnegativeoffset.xml/1.1/Fri Apr 3 02:48:04 2009// +/hc_textindexsizeerroffsetoutofbounds.xml/1.2/Fri Apr 3 02:48:04 2009// +/hc_textparseintolistofelements.xml/1.4/Fri Apr 3 02:48:03 2009// +/hc_textsplittextfour.xml/1.2/Fri Apr 3 02:48:03 2009// +/hc_textsplittextone.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_textsplittextthree.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_textsplittexttwo.xml/1.1/Fri Apr 3 02:48:03 2009// +/hc_textwithnomarkup.xml/1.1/Fri Apr 3 02:48:04 2009// +/metadata.xml/1.2/Fri Apr 3 02:48:03 2009// +/namednodemapchildnoderange.xml/1.7/Fri Apr 3 02:48:03 2009// +/namednodemapgetnameditem.xml/1.6/Fri Apr 3 02:48:04 2009// +/namednodemapinuseattributeerr.xml/1.8/Fri Apr 3 02:48:03 2009// +/namednodemapnotfounderr.xml/1.8/Fri Apr 3 02:48:04 2009// +/namednodemapnumberofnodes.xml/1.6/Fri Apr 3 02:48:03 2009// +/namednodemapremovenameditem.xml/1.9/Fri Apr 3 02:48:04 2009// +/namednodemapremovenameditemgetvalue.xml/1.8/Fri Apr 3 02:48:03 2009// +/namednodemapremovenameditemreturnnodevalue.xml/1.6/Fri Apr 3 02:48:03 2009// +/namednodemapreturnattrnode.xml/1.6/Fri Apr 3 02:48:04 2009// +/namednodemapreturnfirstitem.xml/1.6/Fri Apr 3 02:48:04 2009// +/namednodemapreturnlastitem.xml/1.6/Fri Apr 3 02:48:04 2009// +/namednodemapreturnnull.xml/1.5/Fri Apr 3 02:48:04 2009// +/namednodemapsetnameditem.xml/1.6/Fri Apr 3 02:48:04 2009// +/namednodemapsetnameditemreturnvalue.xml/1.8/Fri Apr 3 02:48:04 2009// +/namednodemapsetnameditemthatexists.xml/1.7/Fri Apr 3 02:48:04 2009// +/namednodemapsetnameditemwithnewvalue.xml/1.6/Fri Apr 3 02:48:03 2009// +/namednodemapwrongdocumenterr.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodeappendchild.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodeappendchildchildexists.xml/1.10/Fri Apr 3 02:48:04 2009// +/nodeappendchilddocfragment.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodeappendchildgetnodename.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodeappendchildinvalidnodetype.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodeappendchildnewchilddiffdocument.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodeappendchildnodeancestor.xml/1.8/Fri Apr 3 02:48:04 2009// +/nodeappendchildnomodificationallowederr.xml/1.10/Fri Apr 3 02:48:04 2009// +/nodeappendchildnomodificationallowederrEE.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodeattributenodeattribute.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodeattributenodename.xml/1.6/Fri Apr 3 02:48:03 2009// +/nodeattributenodetype.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodeattributenodevalue.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodecdatasectionnodeattribute.xml/1.8/Fri Apr 3 02:48:04 2009// +/nodecdatasectionnodename.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodecdatasectionnodetype.xml/1.8/Fri Apr 3 02:48:04 2009// +/nodecdatasectionnodevalue.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodechildnodes.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodechildnodesappendchild.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodechildnodesempty.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodecloneattributescopied.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodeclonefalsenocopytext.xml/1.8/Fri Apr 3 02:48:04 2009// +/nodeclonegetparentnull.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodeclonenodefalse.xml/1.8/Fri Apr 3 02:48:04 2009// +/nodeclonenodetrue.xml/1.10/Fri Apr 3 02:48:04 2009// +/nodeclonetruecopytext.xml/1.10/Fri Apr 3 02:48:03 2009// +/nodecommentnodeattributes.xml/1.5/Fri Apr 3 02:48:04 2009// +/nodecommentnodename.xml/1.9/Fri Apr 3 02:48:04 2009// +/nodecommentnodetype.xml/1.6/Fri Apr 3 02:48:03 2009// +/nodecommentnodevalue.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodedocumentfragmentnodename.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodedocumentfragmentnodetype.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodedocumentfragmentnodevalue.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodedocumentnodeattribute.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodedocumentnodename.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodedocumentnodetype.xml/1.5/Fri Apr 3 02:48:04 2009// +/nodedocumentnodevalue.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodedocumenttypenodename.xml/1.10/Fri Apr 3 02:48:04 2009// +/nodedocumenttypenodetype.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodedocumenttypenodevalue.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodeelementnodeattributes.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodeelementnodename.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodeelementnodetype.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodeelementnodevalue.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodeentitynodeattributes.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodeentitynodename.xml/1.11/Fri Apr 3 02:48:04 2009// +/nodeentitynodetype.xml/1.9/Fri Apr 3 02:48:04 2009// +/nodeentitynodevalue.xml/1.10/Fri Apr 3 02:48:03 2009// +/nodeentityreferencenodeattributes.xml/1.12/Fri Apr 3 02:48:04 2009// +/nodeentityreferencenodename.xml/1.12/Fri Apr 3 02:48:03 2009// +/nodeentityreferencenodetype.xml/1.12/Fri Apr 3 02:48:04 2009// +/nodeentityreferencenodevalue.xml/1.12/Fri Apr 3 02:48:04 2009// +/nodeentitysetnodevalue.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodegetfirstchild.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodegetfirstchildnull.xml/1.6/Fri Apr 3 02:48:03 2009// +/nodegetlastchild.xml/1.9/Fri Apr 3 02:48:04 2009// +/nodegetlastchildnull.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodegetnextsibling.xml/1.10/Fri Apr 3 02:48:04 2009// +/nodegetnextsiblingnull.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodegetownerdocument.xml/1.8/Fri Apr 3 02:48:04 2009// +/nodegetownerdocumentnull.xml/1.6/Fri Apr 3 02:48:03 2009// +/nodegetprevioussibling.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodegetprevioussiblingnull.xml/1.6/Fri Apr 3 02:48:03 2009// +/nodehaschildnodes.xml/1.5/Fri Apr 3 02:48:03 2009// +/nodehaschildnodesfalse.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodeinsertbefore.xml/1.10/Fri Apr 3 02:48:04 2009// +/nodeinsertbeforedocfragment.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodeinsertbeforeinvalidnodetype.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodeinsertbeforenewchilddiffdocument.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodeinsertbeforenewchildexists.xml/1.10/Fri Apr 3 02:48:04 2009// +/nodeinsertbeforenodeancestor.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodeinsertbeforenodename.xml/1.6/Fri Apr 3 02:48:03 2009// +/nodeinsertbeforenomodificationallowederr.xml/1.11/Fri Apr 3 02:48:03 2009// +/nodeinsertbeforenomodificationallowederrEE.xml/1.6/Fri Apr 3 02:48:03 2009// +/nodeinsertbeforerefchildnonexistent.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodeinsertbeforerefchildnull.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodelistindexequalzero.xml/1.8/Fri Apr 3 02:48:04 2009// +/nodelistindexgetlength.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodelistindexgetlengthofemptylist.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodelistindexnotzero.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodelistreturnfirstitem.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodelistreturnlastitem.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodelisttraverselist.xml/1.9/Fri Apr 3 02:48:04 2009// +/nodenotationnodeattributes.xml/1.8/Fri Apr 3 02:48:04 2009// +/nodenotationnodename.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodenotationnodetype.xml/1.8/Fri Apr 3 02:48:04 2009// +/nodenotationnodevalue.xml/1.10/Fri Apr 3 02:48:03 2009// +/nodeparentnode.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodeparentnodenull.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodeprocessinginstructionnodeattributes.xml/1.5/Fri Apr 3 02:48:03 2009// +/nodeprocessinginstructionnodename.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodeprocessinginstructionnodetype.xml/1.5/Fri Apr 3 02:48:04 2009// +/nodeprocessinginstructionnodevalue.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodeprocessinginstructionsetnodevalue.xml/1.3/Fri Apr 3 02:48:03 2009// +/noderemovechild.xml/1.6/Fri Apr 3 02:48:03 2009// +/noderemovechildgetnodename.xml/1.10/Fri Apr 3 02:48:03 2009// +/noderemovechildnode.xml/1.8/Fri Apr 3 02:48:04 2009// +/noderemovechildnomodificationallowederr.xml/1.11/Fri Apr 3 02:48:04 2009// +/noderemovechildnomodificationallowederrEE.xml/1.9/Fri Apr 3 02:48:04 2009// +/noderemovechildoldchildnonexistent.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodereplacechild.xml/1.7/Fri Apr 3 02:48:03 2009// +/nodereplacechildinvalidnodetype.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodereplacechildnewchilddiffdocument.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodereplacechildnewchildexists.xml/1.11/Fri Apr 3 02:48:04 2009// +/nodereplacechildnodeancestor.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodereplacechildnodename.xml/1.8/Fri Apr 3 02:48:03 2009// +/nodereplacechildnomodificationallowederr.xml/1.9/Fri Apr 3 02:48:04 2009// +/nodereplacechildnomodificationallowederrEE.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodereplacechildoldchildnonexistent.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodesetnodevaluenomodificationallowederr.xml/1.12/Fri Apr 3 02:48:03 2009// +/nodesetnodevaluenomodificationallowederrEE.xml/1.9/Fri Apr 3 02:48:03 2009// +/nodetextnodeattribute.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodetextnodename.xml/1.7/Fri Apr 3 02:48:04 2009// +/nodetextnodetype.xml/1.6/Fri Apr 3 02:48:03 2009// +/nodetextnodevalue.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodevalue01.xml/1.2/Fri Apr 3 02:48:03 2009// +/nodevalue02.xml/1.3/Fri Apr 3 02:48:03 2009// +/nodevalue03.xml/1.6/Fri Apr 3 02:48:04 2009// +/nodevalue04.xml/1.5/Fri Apr 3 02:48:04 2009// +/nodevalue05.xml/1.3/Fri Apr 3 02:48:04 2009// +/nodevalue06.xml/1.2/Fri Apr 3 02:48:03 2009// +/nodevalue07.xml/1.5/Fri Apr 3 02:48:04 2009// +/nodevalue08.xml/1.5/Fri Apr 3 02:48:03 2009// +/nodevalue09.xml/1.2/Fri Apr 3 02:48:03 2009// +/notationgetnotationname.xml/1.9/Fri Apr 3 02:48:04 2009// +/notationgetpublicid.xml/1.8/Fri Apr 3 02:48:04 2009// +/notationgetpublicidnull.xml/1.8/Fri Apr 3 02:48:03 2009// +/notationgetsystemid.xml/1.11/Fri Apr 3 02:48:03 2009// +/notationgetsystemidnull.xml/1.8/Fri Apr 3 02:48:03 2009// +/processinginstructiongetdata.xml/1.8/Fri Apr 3 02:48:04 2009// +/processinginstructiongettarget.xml/1.9/Fri Apr 3 02:48:04 2009// +/processinginstructionsetdatanomodificationallowederr.xml/1.12/Fri Apr 3 02:48:04 2009// +/processinginstructionsetdatanomodificationallowederrEE.xml/1.10/Fri Apr 3 02:48:04 2009// +/textindexsizeerrnegativeoffset.xml/1.6/Fri Apr 3 02:48:03 2009// +/textindexsizeerroffsetoutofbounds.xml/1.6/Fri Apr 3 02:48:04 2009// +/textparseintolistofelements.xml/1.11/Fri Apr 3 02:48:03 2009// +/textsplittextfour.xml/1.7/Fri Apr 3 02:48:04 2009// +/textsplittextnomodificationallowederr.xml/1.11/Fri Apr 3 02:48:04 2009// +/textsplittextnomodificationallowederrEE.xml/1.9/Fri Apr 3 02:48:04 2009// +/textsplittextone.xml/1.7/Fri Apr 3 02:48:04 2009// +/textsplittextthree.xml/1.7/Fri Apr 3 02:48:04 2009// +/textsplittexttwo.xml/1.7/Fri Apr 3 02:48:03 2009// +/textwithnomarkup.xml/1.8/Fri Apr 3 02:48:03 2009// diff --git a/test/testcases/tests/level1/core/CVS/Repository b/test/testcases/tests/level1/core/CVS/Repository new file mode 100644 index 0000000..3ef90d0 --- /dev/null +++ b/test/testcases/tests/level1/core/CVS/Repository @@ -0,0 +1 @@ +2001/DOM-Test-Suite/tests/level1/core diff --git a/test/testcases/tests/level1/core/CVS/Root b/test/testcases/tests/level1/core/CVS/Root new file mode 100644 index 0000000..3c7177e --- /dev/null +++ b/test/testcases/tests/level1/core/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/test/testcases/tests/level1/core/CVS/Template b/test/testcases/tests/level1/core/CVS/Template new file mode 100644 index 0000000..e69de29 diff --git a/test/testcases/tests/level1/core/alltests.xml b/test/testcases/tests/level1/core/alltests.xml new file mode 100644 index 0000000..5c57a9f --- /dev/null +++ b/test/testcases/tests/level1/core/alltests.xml @@ -0,0 +1,550 @@ + + + + + +DOM Level 1 Core Test Suite +DOM Test Suite Project + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrcreatedocumentfragment.xml b/test/testcases/tests/level1/core/attrcreatedocumentfragment.xml new file mode 100644 index 0000000..b07b191 --- /dev/null +++ b/test/testcases/tests/level1/core/attrcreatedocumentfragment.xml @@ -0,0 +1,51 @@ + + + + + +attrCreateDocumentFragment +NIST + + Attr nodes may be associated with Element nodes contained within a DocumentFragment. + Create a new DocumentFragment and add a newly created Element node(with one attribute). + Once the element is added, its attribute should be available as an attribute associated + with an Element within a DocumentFragment. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrcreatetextnode.xml b/test/testcases/tests/level1/core/attrcreatetextnode.xml new file mode 100644 index 0000000..087d5fc --- /dev/null +++ b/test/testcases/tests/level1/core/attrcreatetextnode.xml @@ -0,0 +1,51 @@ + + + + + +attrCreateTextNode +NIST + + The "setValue()" method for an attribute creates a + Text node with the unparsed content of the string. + Retrieve the attribute named "street" from the last + child of of the fourth employee and assign the "Y&ent1;" + string to its value attribute. This value is not yet + parsed and therefore should still be the same upon + retrieval. This test uses the "getNamedItem(name)" method + from the NamedNodeMap interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrcreatetextnode2.xml b/test/testcases/tests/level1/core/attrcreatetextnode2.xml new file mode 100644 index 0000000..3c46a92 --- /dev/null +++ b/test/testcases/tests/level1/core/attrcreatetextnode2.xml @@ -0,0 +1,50 @@ + + + + + +attrCreateTextNode2 +Curt Arnold + + The "setNodeValue()" method for an attribute creates a + Text node with the unparsed content of the string. + Retrieve the attribute named "street" from the last + child of of the fourth employee and assign the "Y&ent1;" + string to its value attribute. This value is not yet + parsed and therefore should still be the same upon + retrieval. This test uses the "getNamedItem(name)" method + from the NamedNodeMap interface. + +2001-10-22 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrdefaultvalue.xml b/test/testcases/tests/level1/core/attrdefaultvalue.xml new file mode 100644 index 0000000..3b60d27 --- /dev/null +++ b/test/testcases/tests/level1/core/attrdefaultvalue.xml @@ -0,0 +1,53 @@ + + + + + +attrDefaultValue +NIST + + If there is not an explicit value assigned to an attribute + and there is a declaration for this attribute and that + declaration includes a default value, then that default + value is the attributes default value. + Retrieve the attribute named "street" from the last + child of of the first employee and examine its + value. That value should be the value given the + attribute in the DTD file. The test uses the + "getNamedItem(name)" method from the NamedNodeMap + interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attreffectivevalue.xml b/test/testcases/tests/level1/core/attreffectivevalue.xml new file mode 100644 index 0000000..dbda4da --- /dev/null +++ b/test/testcases/tests/level1/core/attreffectivevalue.xml @@ -0,0 +1,44 @@ + + + + + +attrEffectiveValue +NIST + + If an Attr is explicitly assigned any value, then that value is the attributes effective value. + Retrieve the attribute named "domestic" from the last child of of the first employee + and examine its nodeValue attribute. This test uses the "getNamedItem(name)" method + from the NamedNodeMap interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrentityreplacement.xml b/test/testcases/tests/level1/core/attrentityreplacement.xml new file mode 100644 index 0000000..d8fd431 --- /dev/null +++ b/test/testcases/tests/level1/core/attrentityreplacement.xml @@ -0,0 +1,48 @@ + + + + + +attrEntityReplacement +NIST + + The "getValue()" method will return the value of the + attribute as a string. The general entity references + are replaced with their values. + Retrieve the attribute named "street" from the last + child of of the fourth employee and examine the string + returned by the "getValue()" method. The value should + be set to "Yes" after the EntityReference is + replaced with its value. This test uses the + "getNamedItem(name)" method from the NamedNodeMap + interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrname.xml b/test/testcases/tests/level1/core/attrname.xml new file mode 100644 index 0000000..9243905 --- /dev/null +++ b/test/testcases/tests/level1/core/attrname.xml @@ -0,0 +1,47 @@ + + + + + +attrName +NIST + + The getNodeName() method of an Attribute node. + Retrieve the attribute named street from the last + child of of the second employee and examine its + NodeName. This test uses the getNamedItem(name) method from the NamedNodeMap + interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrnextsiblingnull.xml b/test/testcases/tests/level1/core/attrnextsiblingnull.xml new file mode 100644 index 0000000..d425671 --- /dev/null +++ b/test/testcases/tests/level1/core/attrnextsiblingnull.xml @@ -0,0 +1,44 @@ + + + + + +attrNextSiblingNull +NIST + +The "getNextSibling()" method for an Attr node should return null. +Retrieve the attribute named "domestic" from the last child of of the +first employee and examine its NextSibling node. This test uses the +"getNamedItem(name)" method from the NamedNodeMap interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrnotspecifiedvalue.xml b/test/testcases/tests/level1/core/attrnotspecifiedvalue.xml new file mode 100644 index 0000000..3d78bd7 --- /dev/null +++ b/test/testcases/tests/level1/core/attrnotspecifiedvalue.xml @@ -0,0 +1,48 @@ + + + + + +attrNotSpecifiedValue +NIST + + The "getSpecified()" method for an Attr node should + be set to false if the attribute was not explicitly given + a value. + Retrieve the attribute named "street" from the last + child of of the first employee and examine the value + returned by the "getSpecified()" method. This test uses + the "getNamedItem(name)" method from the NamedNodeMap + interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrparentnodenull.xml b/test/testcases/tests/level1/core/attrparentnodenull.xml new file mode 100644 index 0000000..dd19d20 --- /dev/null +++ b/test/testcases/tests/level1/core/attrparentnodenull.xml @@ -0,0 +1,44 @@ + + + + + +attrParentNodeNull +NIST + +The "getParentNode()" method for an Attr node should return null. Retrieve +the attribute named "domestic" from the last child of the first employee +and examine its parentNode attribute. This test also uses the "getNamedItem(name)" +method from the NamedNodeMap interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrprevioussiblingnull.xml b/test/testcases/tests/level1/core/attrprevioussiblingnull.xml new file mode 100644 index 0000000..acad1bf --- /dev/null +++ b/test/testcases/tests/level1/core/attrprevioussiblingnull.xml @@ -0,0 +1,44 @@ + + + + + +attrPreviousSiblingNull +NIST + +The "getPreviousSibling()" method for an Attr node should return null. +Retrieve the attribute named "domestic" from the last child of of the +first employee and examine its PreviousSibling node. This test uses the +"getNamedItem(name)" method from the NamedNodeMap interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrremovechild1.xml b/test/testcases/tests/level1/core/attrremovechild1.xml new file mode 100644 index 0000000..b7be293 --- /dev/null +++ b/test/testcases/tests/level1/core/attrremovechild1.xml @@ -0,0 +1,45 @@ + + + + + +attrremovechild1 +Curt Arnold + +Removing a child node from an attribute in an entity reference +should result in an NO_MODIFICATION_ALLOWED_ERR DOMException. + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrreplacechild1.xml b/test/testcases/tests/level1/core/attrreplacechild1.xml new file mode 100644 index 0000000..e6d5a20 --- /dev/null +++ b/test/testcases/tests/level1/core/attrreplacechild1.xml @@ -0,0 +1,47 @@ + + + + + +attrreplacechild1 +Curt Arnold + +Replacing a child node from an attribute in an entity reference +should result in an NO_MODIFICATION_ALLOWED_ERR DOMException. + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrsetvaluenomodificationallowederr.xml b/test/testcases/tests/level1/core/attrsetvaluenomodificationallowederr.xml new file mode 100644 index 0000000..a458405 --- /dev/null +++ b/test/testcases/tests/level1/core/attrsetvaluenomodificationallowederr.xml @@ -0,0 +1,69 @@ + + + + + +attrSetValueNoModificationAllowedErr +NIST + + The "setValue()" method for an attribute causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the "domestic" attribute + from the entity reference and execute the "setValue()" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrsetvaluenomodificationallowederrEE.xml b/test/testcases/tests/level1/core/attrsetvaluenomodificationallowederrEE.xml new file mode 100644 index 0000000..cdc72b1 --- /dev/null +++ b/test/testcases/tests/level1/core/attrsetvaluenomodificationallowederrEE.xml @@ -0,0 +1,65 @@ + + + + + +attrSetValueNoModificationAllowedErrEE +Curt Arnold + + The "setValue()" method for an attribute causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Create an entity reference using document.createEntityReference() + Get the "domestic" attribute from the entity + reference and execute the "setValue()" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-22 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrspecifiedvalue.xml b/test/testcases/tests/level1/core/attrspecifiedvalue.xml new file mode 100644 index 0000000..74be629 --- /dev/null +++ b/test/testcases/tests/level1/core/attrspecifiedvalue.xml @@ -0,0 +1,45 @@ + + + + + +attrSpecifiedValue +NIST + + The "getSpecified()" method for an Attr node should + be set to true if the attribute was explicitly given + a value. + Retrieve the attribute named "domestic" from the last + child of of the first employee and examine the value + returned by the "getSpecified()" method. This test uses + the "getNamedItem(name)" method from the NamedNodeMap + interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrspecifiedvaluechanged.xml b/test/testcases/tests/level1/core/attrspecifiedvaluechanged.xml new file mode 100644 index 0000000..9bd9c10 --- /dev/null +++ b/test/testcases/tests/level1/core/attrspecifiedvaluechanged.xml @@ -0,0 +1,47 @@ + + + + + +attrSpecifiedValueChanged +NIST + + The "getSpecified()" method for an Attr node should return true if the + value of the attribute is changed. + Retrieve the attribute named "street" from the last + child of of the THIRD employee and change its + value to "Yes"(which is the default DTD value). This + should cause the "getSpecified()" method to be true. + This test uses the "setAttribute(name,value)" method + from the Element interface and the "getNamedItem(name)" + method from the NamedNodeMap interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/attrspecifiedvalueremove.xml b/test/testcases/tests/level1/core/attrspecifiedvalueremove.xml new file mode 100644 index 0000000..c238214 --- /dev/null +++ b/test/testcases/tests/level1/core/attrspecifiedvalueremove.xml @@ -0,0 +1,55 @@ + + + + + +attrSpecifiedValueRemove +NIST + +To respecify the attribute to its default value from +the DTD, the attribute must be deleted. This will then +make a new attribute available with the "getSpecified()" +method value set to false. +Retrieve the attribute named "street" from the last +child of of the THIRD employee and delete it. This +should then create a new attribute with its default +value and also cause the "getSpecified()" method to +return false. +This test uses the "removeAttribute(name)" method +from the Element interface and the "getNamedItem(name)" +method from the NamedNodeMap interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/cdatasectiongetdata.xml b/test/testcases/tests/level1/core/cdatasectiongetdata.xml new file mode 100644 index 0000000..7bb6841 --- /dev/null +++ b/test/testcases/tests/level1/core/cdatasectiongetdata.xml @@ -0,0 +1,45 @@ + + + + + +cdataSectionGetValue +NIST + +Retrieve the last CDATASection node located inside the +second child of the second employee and examine its +content. Since the CDATASection interface inherits +from the CharacterData interface(via the Text node), +the "getData()" method can be used to access the +CDATA content. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/cdatasectionnormalize.xml b/test/testcases/tests/level1/core/cdatasectionnormalize.xml new file mode 100644 index 0000000..ce654f6 --- /dev/null +++ b/test/testcases/tests/level1/core/cdatasectionnormalize.xml @@ -0,0 +1,49 @@ + + + + + +cdataSectionNormalize +NIST + +Adjacent CDATASection nodes cannot be merged together by +use of the "normalize()" method from the Element interface. +Retrieve second child of the second employee and invoke +the "normalize()" method. The Element under contains +two CDATASection nodes that should not be merged together +by the "normalize()" method. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataappenddata.xml b/test/testcases/tests/level1/core/characterdataappenddata.xml new file mode 100644 index 0000000..057efb6 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataappenddata.xml @@ -0,0 +1,48 @@ + + + + + +characterdataAppendData +NIST + + The "appendData(arg)" method appends a string to the end + of the character data of the node. + + Retrieve the character data from the second child + of the first employee. The appendData(arg) method is + called with arg=", Esquire". The method should append + the specified data to the already existing character + data. The new value return by the "getLength()" method + should be 24. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataappenddatagetdata.xml b/test/testcases/tests/level1/core/characterdataappenddatagetdata.xml new file mode 100644 index 0000000..3d49021 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataappenddatagetdata.xml @@ -0,0 +1,47 @@ + + + + + +characterdataAppendDataGetData +NIST + + On successful invocation of the "appendData(arg)" + method the "getData()" method provides access to the + concatentation of data and the specified string. + + Retrieve the character data from the second child + of the first employee. The appendData(arg) method is + called with arg=", Esquire". The method should append + the specified data to the already existing character + data. The new value return by the "getData()" method + should be "Margaret Martin, Esquire". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataappenddatanomodificationallowederr.xml b/test/testcases/tests/level1/core/characterdataappenddatanomodificationallowederr.xml new file mode 100644 index 0000000..3e556d9 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataappenddatanomodificationallowederr.xml @@ -0,0 +1,59 @@ + + + + + +characterdataAppendDataNoModificationAllowedErr +NIST + + The "appendData(arg)" method raises a NO_MODIFICATION_ALLOWED_ERR + DOMException if the node is readonly. + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the FIRST item + from the entity reference and execute the "appendData(arg)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataappenddatanomodificationallowederrEE.xml b/test/testcases/tests/level1/core/characterdataappenddatanomodificationallowederrEE.xml new file mode 100644 index 0000000..ba69184 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataappenddatanomodificationallowederrEE.xml @@ -0,0 +1,47 @@ + + + + + +characterdataAppendDataNoModificationAllowedErrEE +Curt Arnold + +Create an ent3 entity reference and call appendData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR. + +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatadeletedatabegining.xml b/test/testcases/tests/level1/core/characterdatadeletedatabegining.xml new file mode 100644 index 0000000..d1cf6a3 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatadeletedatabegining.xml @@ -0,0 +1,45 @@ + + + + +characterdataDeleteDataBeginning +NIST + +The "deleteData(offset,count)" method removes a range of +characters from the node. Delete data at the beginning +of the character data. + +Retrieve the character data from the last child of the +first employee. The "deleteData(offset,count)" +method is then called with offset=0 and count=16. +The method should delete the characters from position +0 thru position 16. The new value of the character data +should be "Dallas, Texas 98551". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatadeletedataend.xml b/test/testcases/tests/level1/core/characterdatadeletedataend.xml new file mode 100644 index 0000000..052ae11 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatadeletedataend.xml @@ -0,0 +1,47 @@ + + + + + +characterdataDeleteDataEnd +NIST + + The "deleteData(offset,count)" method removes a range of + characters from the node. Delete data at the end + of the character data. + + Retrieve the character data from the last child of the + first employee. The "deleteData(offset,count)" + method is then called with offset=30 and count=5. + The method should delete the characters from position + 30 thru position 35. The new value of the character data + should be "1230 North Ave. Dallas, Texas". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatadeletedataexceedslength.xml b/test/testcases/tests/level1/core/characterdatadeletedataexceedslength.xml new file mode 100644 index 0000000..fe80a3b --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatadeletedataexceedslength.xml @@ -0,0 +1,49 @@ + + + + + +characterdataDeleteDataExceedsLength +NIST + + If the sum of the offset and count used in the + "deleteData(offset,count) method is greater than the + length of the character data then all the characters + from the offset to the end of the data are deleted. + + Retrieve the character data from the last child of the + first employee. The "deleteData(offset,count)" + method is then called with offset=4 and count=50. + The method should delete the characters from position 4 + to the end of the data since the offset+count(50+4) + is greater than the length of the character data(35). + The new value of the character data should be "1230". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatadeletedatagetlengthanddata.xml b/test/testcases/tests/level1/core/characterdatadeletedatagetlengthanddata.xml new file mode 100644 index 0000000..533a19e --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatadeletedatagetlengthanddata.xml @@ -0,0 +1,54 @@ + + + + + +characterdataDeleteDataGetLengthAndData +NIST + + On successful invocation of the "deleteData(offset,count)" + method, the "getData()" and "getLength()" methods reflect + the changes. + + Retrieve the character data from the last child of the + first employee. The "deleteData(offset,count)" + method is then called with offset=30 and count=5. + The method should delete the characters from position + 30 thru position 35. The new value of the character data + should be "1230 North Ave. Dallas, Texas" which is + returned by the "getData()" method and "getLength()" + method should return 30". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatadeletedatamiddle.xml b/test/testcases/tests/level1/core/characterdatadeletedatamiddle.xml new file mode 100644 index 0000000..8488008 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatadeletedatamiddle.xml @@ -0,0 +1,47 @@ + + + + + +characterdataDeleteDataMiddle +NIST + + The "deleteData(offset,count)" method removes a range of + characters from the node. Delete data in the middle + of the character data. + + Retrieve the character data from the last child of the + first employee. The "deleteData(offset,count)" + method is then called with offset=16 and count=8. + The method should delete the characters from position + 16 thru position 24. The new value of the character data + should be "1230 North Ave. Texas 98551". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatadeletedatanomodificationallowederr.xml b/test/testcases/tests/level1/core/characterdatadeletedatanomodificationallowederr.xml new file mode 100644 index 0000000..d11c731 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatadeletedatanomodificationallowederr.xml @@ -0,0 +1,59 @@ + + + + + +characterdataDeleteDataNoModificationAllowedErr +NIST + + The "deleteData(offset,count)" method raises a NO_MODIFICATION_ALLOWED_ERR + DOMException if the node is readonly. + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the FIRST item + from the entity reference and execute the "deleteData(offset,count)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatadeletedatanomodificationallowederrEE.xml b/test/testcases/tests/level1/core/characterdatadeletedatanomodificationallowederrEE.xml new file mode 100644 index 0000000..566e16f --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatadeletedatanomodificationallowederrEE.xml @@ -0,0 +1,47 @@ + + + + + +characterdataDeleteDataNoModificationAllowedErrEE +Curt Arnold + +Create an ent3 entity reference and call deleteData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR. + +2001-08-20 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatagetdata.xml b/test/testcases/tests/level1/core/characterdatagetdata.xml new file mode 100644 index 0000000..e253b45 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatagetdata.xml @@ -0,0 +1,48 @@ + + + + + +characterdataGetData +NIST + + + The "getData()" method retrieves the character data + + currently stored in the node. + + Retrieve the character data from the second child + + of the first employee and invoke the "getData()" + + method. The method returns the character data + + string. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatagetlength.xml b/test/testcases/tests/level1/core/characterdatagetlength.xml new file mode 100644 index 0000000..6b87ff6 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatagetlength.xml @@ -0,0 +1,43 @@ + + + + + +characterdataGetLength +NIST + + The "getLength()" method returns the number of characters + stored in this nodes data. + Retrieve the character data from the second + child of the first employee and examine the + value returned by the getLength() method. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrdeletedatacountnegative.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrdeletedatacountnegative.xml new file mode 100644 index 0000000..c745fa2 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrdeletedatacountnegative.xml @@ -0,0 +1,48 @@ + + + + + +characterdataIndexSizeErrDeleteDataCountNegative +NIST + + The "deleteData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified count + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its "deleteData(offset,count)" + method with offset=10 and count=-3. It should raise the + desired exception since the count is negative. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrdeletedataoffsetgreater.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrdeletedataoffsetgreater.xml new file mode 100644 index 0000000..807ae51 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrdeletedataoffsetgreater.xml @@ -0,0 +1,50 @@ + + + + + +characterdataIndexSizeErrDeleteDataOffsetGreater +NIST + + The "deleteData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is greater that the number of characters in the string. + + Retrieve the character data of the last child of the + first employee and invoke its "deleteData(offset,count)" + method with offset=40 and count=3. It should raise the + desired exception since the offset is greater than the + number of characters in the string. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrdeletedataoffsetnegative.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrdeletedataoffsetnegative.xml new file mode 100644 index 0000000..cffc8a1 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrdeletedataoffsetnegative.xml @@ -0,0 +1,49 @@ + + + + + +characterdataIndexSizeErrDeleteDataOffsetNegative +NIST + + The "deleteData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its "deleteData(offset,count)" + method with offset=-5 and count=3. It should raise the + desired exception since the offset is negative. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrinsertdataoffsetgreater.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrinsertdataoffsetgreater.xml new file mode 100644 index 0000000..54cb2ff --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrinsertdataoffsetgreater.xml @@ -0,0 +1,49 @@ + + + + + +characterdataIndexSizeErrInsertDataOffsetGreater +NIST + + The "insertData(offset,arg)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is greater than the number of characters in the string. + + Retrieve the character data of the last child of the + first employee and invoke its insertData"(offset,arg)" + method with offset=40 and arg="ABC". It should raise + the desired exception since the offset is greater than + the number of characters in the string. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrinsertdataoffsetnegative.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrinsertdataoffsetnegative.xml new file mode 100644 index 0000000..9239e1a --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrinsertdataoffsetnegative.xml @@ -0,0 +1,48 @@ + + + + + +characterdataIndexSizeErrInsertDataOffsetNegative +NIST + + The "insertData(offset,arg)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its insertData"(offset,arg)" + method with offset=-5 and arg="ABC". It should raise + the desired exception since the offset is negative. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrreplacedatacountnegative.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrreplacedatacountnegative.xml new file mode 100644 index 0000000..7e731be --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrreplacedatacountnegative.xml @@ -0,0 +1,49 @@ + + + + + +characterdataIndexSizeErrReplaceDataCountNegative +NIST + + The "replaceData(offset,count,arg)" method raises an + INDEX_SIZE_ERR DOMException if the specified count + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its + "replaceData(offset,count,arg) method with offset=10 + and count=-3 and arg="ABC". It should raise the + desired exception since the count is negative. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrreplacedataoffsetgreater.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrreplacedataoffsetgreater.xml new file mode 100644 index 0000000..40973c7 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrreplacedataoffsetgreater.xml @@ -0,0 +1,50 @@ + + + + + +characterdataIndexSizeErrReplaceDataOffsetGreater +NIST + + The "replaceData(offset,count,arg)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is greater than the length of the string. + + Retrieve the character data of the last child of the + first employee and invoke its + "replaceData(offset,count,arg) method with offset=40 + and count=3 and arg="ABC". It should raise the + desired exception since the offset is greater than the + length of the string. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrreplacedataoffsetnegative.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrreplacedataoffsetnegative.xml new file mode 100644 index 0000000..968087a --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrreplacedataoffsetnegative.xml @@ -0,0 +1,50 @@ + + + + + +characterdataIndexSizeErrReplaceDataOffsetNegative +NIST + + The "replaceData(offset,count,arg)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its + "replaceData(offset,count,arg) method with offset=-5 + and count=3 and arg="ABC". It should raise the + desired exception since the offset is negative. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrsubstringcountnegative.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrsubstringcountnegative.xml new file mode 100644 index 0000000..d178d8d --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrsubstringcountnegative.xml @@ -0,0 +1,49 @@ + + + + + +characterdataIndexSizeErrSubstringCountNegative +NIST + + The "substringData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified count + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its "substringData(offset,count) + method with offset=10 and count=-3. It should raise the + desired exception since the count is negative. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrsubstringnegativeoffset.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrsubstringnegativeoffset.xml new file mode 100644 index 0000000..55e56d0 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrsubstringnegativeoffset.xml @@ -0,0 +1,49 @@ + + + + + +characterdataIndexSizeErrSubstringNegativeOffset +NIST + + The "substringData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its "substringData(offset,count) + method with offset=-5 and count=3. It should raise the + desired exception since the offset is negative. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdataindexsizeerrsubstringoffsetgreater.xml b/test/testcases/tests/level1/core/characterdataindexsizeerrsubstringoffsetgreater.xml new file mode 100644 index 0000000..d33211d --- /dev/null +++ b/test/testcases/tests/level1/core/characterdataindexsizeerrsubstringoffsetgreater.xml @@ -0,0 +1,50 @@ + + + + + +characterdataIndexSizeErrSubstringOffsetGreater +NIST + + The "substringData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is greater than the number of characters in the string. + + Retrieve the character data of the last child of the + first employee and invoke its "substringData(offset,count) + method with offset=40 and count=3. It should raise the + desired exception since the offsets value is greater + than the length. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatainsertdatabeginning.xml b/test/testcases/tests/level1/core/characterdatainsertdatabeginning.xml new file mode 100644 index 0000000..0e0c7d9 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatainsertdatabeginning.xml @@ -0,0 +1,46 @@ + + + + +characterdataInsertDataBeginning +NIST + +The "insertData(offset,arg)" method will insert a string +at the specified character offset. Insert the data at +the beginning of the character data. + +Retrieve the character data from the second child of +the first employee. The "insertData(offset,arg)" +method is then called with offset=0 and arg="Mss.". +The method should insert the string "Mss." at position 0. +The new value of the character data should be +"Mss. Margaret Martin". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatainsertdataend.xml b/test/testcases/tests/level1/core/characterdatainsertdataend.xml new file mode 100644 index 0000000..79cbd71 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatainsertdataend.xml @@ -0,0 +1,47 @@ + + + + + +characterdataInsertDataEnd +NIST + + The "insertData(offset,arg)" method will insert a string + at the specified character offset. Insert the data at + the end of the character data. + + Retrieve the character data from the second child of + the first employee. The "insertData(offset,arg)" + method is then called with offset=15 and arg=", Esquire". + The method should insert the string ", Esquire" at + position 15. The new value of the character data should + be "Margaret Martin, Esquire". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatainsertdatamiddle.xml b/test/testcases/tests/level1/core/characterdatainsertdatamiddle.xml new file mode 100644 index 0000000..72b51f8 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatainsertdatamiddle.xml @@ -0,0 +1,47 @@ + + + + + +characterdataInsertDataMiddle +NIST + + The "insertData(offset,arg)" method will insert a string + at the specified character offset. Insert the data in + the middle of the character data. + + Retrieve the character data from the second child of + the first employee. The "insertData(offset,arg)" + method is then called with offset=9 and arg="Ann". + The method should insert the string "Ann" at position 9. + The new value of the character data should be + "Margaret Ann Martin". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatainsertdatanomodificationallowederr.xml b/test/testcases/tests/level1/core/characterdatainsertdatanomodificationallowederr.xml new file mode 100644 index 0000000..e60956f --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatainsertdatanomodificationallowederr.xml @@ -0,0 +1,59 @@ + + + + + +characterdataInsertDataNoModificationAllowedErr +NIST + + The "insertData(offset,arg)" method raises a NO_MODIFICATION_ALLOWED_ERR + DOMException if the node is readonly. + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the FIRST item + from the entity reference and execute the "insertData(offset,arg)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatainsertdatanomodificationallowederrEE.xml b/test/testcases/tests/level1/core/characterdatainsertdatanomodificationallowederrEE.xml new file mode 100644 index 0000000..42bd1bd --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatainsertdatanomodificationallowederrEE.xml @@ -0,0 +1,45 @@ + + + + + +characterdataInsertDataNoModificationAllowedErrEE +Curt Arnold + +Create an ent3 entity reference and call insertData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR. + +2001-08-20 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatareplacedatabegining.xml b/test/testcases/tests/level1/core/characterdatareplacedatabegining.xml new file mode 100644 index 0000000..3103156 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatareplacedatabegining.xml @@ -0,0 +1,46 @@ + + + + +characterdataReplaceDataBeginning +NIST + +The "replaceData(offset,count,arg)" method replaces the +characters starting at the specified offset with the +specified string. Test for replacement in the +middle of the data. + +Retrieve the character data from the last child of the +first employee. The "replaceData(offset,count,arg)" +method is then called with offset=5 and count=5 and +arg="South". The method should replace characters five +thru 9 of the character data with "South". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatareplacedataend.xml b/test/testcases/tests/level1/core/characterdatareplacedataend.xml new file mode 100644 index 0000000..44ebfdf --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatareplacedataend.xml @@ -0,0 +1,47 @@ + + + + + +characterdataReplaceDataEnd +NIST + + The "replaceData(offset,count,arg)" method replaces the + characters starting at the specified offset with the + specified string. Test for replacement at the + end of the data. + + Retrieve the character data from the last child of the + first employee. The "replaceData(offset,count,arg)" + method is then called with offset=30 and count=5 and + arg="98665". The method should replace characters 30 + thru 34 of the character data with "98665". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatareplacedataexceedslengthofarg.xml b/test/testcases/tests/level1/core/characterdatareplacedataexceedslengthofarg.xml new file mode 100644 index 0000000..6cefbfa --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatareplacedataexceedslengthofarg.xml @@ -0,0 +1,48 @@ + + + + + +characterdataReplaceDataExceedsLengthOfArg +NIST + + The "replaceData(offset,count,arg)" method replaces the + characters starting at the specified offset with the + specified string. Test the situation where the length + of the arg string is greater than the specified offset. + + Retrieve the character data from the last child of the + first employee. The "replaceData(offset,count,arg)" + method is then called with offset=0 and count=4 and + arg="260030". The method should replace characters one + thru four with "260030". Note that the length of the + specified string is greater that the specified offset. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatareplacedataexceedslengthofdata.xml b/test/testcases/tests/level1/core/characterdatareplacedataexceedslengthofdata.xml new file mode 100644 index 0000000..1f99d88 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatareplacedataexceedslengthofdata.xml @@ -0,0 +1,46 @@ + + + + + +characterdataReplaceDataExceedsLengthOfData +NIST + + If the sum of the offset and count exceeds the length then + all the characters to the end of the data are replaced. + + Retrieve the character data from the last child of the + first employee. The "replaceData(offset,count,arg)" + method is then called with offset=0 and count=50 and + arg="2600". The method should replace all the characters + with "2600". This is because the sum of the offset and + count exceeds the length of the character data. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatareplacedatamiddle.xml b/test/testcases/tests/level1/core/characterdatareplacedatamiddle.xml new file mode 100644 index 0000000..c595b35 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatareplacedatamiddle.xml @@ -0,0 +1,47 @@ + + + + + +characterdataReplaceDataMiddle +NIST + + The "replaceData(offset,count,arg)" method replaces the + characters starting at the specified offset with the + specified string. Test for replacement in the + middle of the data. + + Retrieve the character data from the last child of the + first employee. The "replaceData(offset,count,arg)" + method is then called with offset=5 and count=5 and + arg="South". The method should replace characters five + thru 9 of the character data with "South". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatareplacedatanomodificationallowederr.xml b/test/testcases/tests/level1/core/characterdatareplacedatanomodificationallowederr.xml new file mode 100644 index 0000000..372a06a --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatareplacedatanomodificationallowederr.xml @@ -0,0 +1,60 @@ + + + + + +characterdataReplaceDataNoModificationAllowedErr +NIST + + The "replaceData(offset,count,arg)" method raises a NO_MODIFICATION_ALLOWED_ERR + DOMException if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the FIRST item + from the entity reference and execute the "replaceData(offset,count,arg)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatareplacedatanomodificationallowederrEE.xml b/test/testcases/tests/level1/core/characterdatareplacedatanomodificationallowederrEE.xml new file mode 100644 index 0000000..0a019b7 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatareplacedatanomodificationallowederrEE.xml @@ -0,0 +1,47 @@ + + + + + +characterdataReplaceDataNoModificationAllowedErrEE +Curt Arnold + +Create an ent3 entity reference and call replaceData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR. + +2001-08-21 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatasetdatanomodificationallowederr.xml b/test/testcases/tests/level1/core/characterdatasetdatanomodificationallowederr.xml new file mode 100644 index 0000000..2a9c690 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatasetdatanomodificationallowederr.xml @@ -0,0 +1,59 @@ + + + + + +characterdataSetDataNoModificationAllowedErr +NIST + + The "setData(data)" method raises a NO_MODIFICATION_ALLOWED_ERR + DOMException if the node is readonly. + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the FIRST item + from the entity reference and execute the "setData(data)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatasetdatanomodificationallowederrEE.xml b/test/testcases/tests/level1/core/characterdatasetdatanomodificationallowederrEE.xml new file mode 100644 index 0000000..4fd993f --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatasetdatanomodificationallowederrEE.xml @@ -0,0 +1,44 @@ + + + + + +characterdataSetDataNoModificationAllowedErrEE +Curt Arnold + +Create an ent3 entity reference and call setData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR. + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatasetnodevalue.xml b/test/testcases/tests/level1/core/characterdatasetnodevalue.xml new file mode 100644 index 0000000..c03d54c --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatasetnodevalue.xml @@ -0,0 +1,43 @@ + + + + + +characterdataSetNodeValue +Curt Arnold + + The "setNodeValue()" method changes the character data + currently stored in the node. + Retrieve the character data from the second child + of the first employee and invoke the "setNodeValue()" + method, call "getData()" and compare. + +2001-08-23 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatasubstringexceedsvalue.xml b/test/testcases/tests/level1/core/characterdatasubstringexceedsvalue.xml new file mode 100644 index 0000000..d045e8c --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatasubstringexceedsvalue.xml @@ -0,0 +1,46 @@ + + + + + +characterdataSubStringExceedsValue +NIST + + If the sum of the "offset" and "count" exceeds the + "length" then the "substringData(offset,count)" method + returns all the characters to the end of the data. + + Retrieve the character data from the second child + of the first employee and access part of the data + by using the substringData(offset,count) method + with offset=9 and count=10. The method should return + the substring "Martin" since offset+count > length + (19 > 15). + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/characterdatasubstringvalue.xml b/test/testcases/tests/level1/core/characterdatasubstringvalue.xml new file mode 100644 index 0000000..170c186 --- /dev/null +++ b/test/testcases/tests/level1/core/characterdatasubstringvalue.xml @@ -0,0 +1,45 @@ + + + + + +characterdataSubStringValue +NIST + + The "substringData(offset,count)" method returns the + specified string. + + Retrieve the character data from the second child + of the first employee and access part of the data + by using the substringData(offset,count) method. The + method should return the specified substring starting + at position "offset" and extract "count" characters. + The method should return the string "Margaret". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/commentgetcomment.xml b/test/testcases/tests/level1/core/commentgetcomment.xml new file mode 100644 index 0000000..6e4720d --- /dev/null +++ b/test/testcases/tests/level1/core/commentgetcomment.xml @@ -0,0 +1,56 @@ + + + + + +commentGetComment +NIST + + A comment is all the characters between the starting + '<!--' and ending '-->' + Retrieve the nodes of the DOM document. Search for a + comment node and the content is its value. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreateattribute.xml b/test/testcases/tests/level1/core/documentcreateattribute.xml new file mode 100644 index 0000000..d34e97a --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreateattribute.xml @@ -0,0 +1,45 @@ + + + + + +documentCreateAttribute +NIST + + The "createAttribute(name)" method creates an Attribute + node of the given name. + + Retrieve the entire DOM document and invoke its + "createAttribute(name)" method. It should create a + new Attribute node with the given name. The name, value + and type of the newly created object are retrieved and + output. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreatecdatasection.xml b/test/testcases/tests/level1/core/documentcreatecdatasection.xml new file mode 100644 index 0000000..a7e287f --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreatecdatasection.xml @@ -0,0 +1,44 @@ + + + + + +documentCreateCDATASection +NIST + + The "createCDATASection(data)" method creates a new + CDATASection node whose value is the specified string. + Retrieve the entire DOM document and invoke its + "createCDATASection(data)" method. It should create a + new CDATASection node whose "data" is the specified + string. The content, name and type are retrieved and + output. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreatecomment.xml b/test/testcases/tests/level1/core/documentcreatecomment.xml new file mode 100644 index 0000000..337d311 --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreatecomment.xml @@ -0,0 +1,43 @@ + + + + + +documentCreateComment +NIST + + The "createComment(data)" method creates a new Comment + node given the specified string. + Retrieve the entire DOM document and invoke its + "createComment(data)" method. It should create a new + Comment node whose "data" is the specified string. + The content, name and type are retrieved and output. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreatedocumentfragment.xml b/test/testcases/tests/level1/core/documentcreatedocumentfragment.xml new file mode 100644 index 0000000..8a8ee4a --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreatedocumentfragment.xml @@ -0,0 +1,47 @@ + + + + + +documentCreateDocumentFragment +NIST + + The "createDocumentFragment()" method creates an empty + DocumentFragment object. + Retrieve the entire DOM document and invoke its + "createDocumentFragment()" method. The content, name, + type and value of the newly created object are output. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreateelement.xml b/test/testcases/tests/level1/core/documentcreateelement.xml new file mode 100644 index 0000000..9139ad2 --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreateelement.xml @@ -0,0 +1,44 @@ + + + + + +documentCreateElement +NIST + + The "createElement(tagName)" method creates an Element + of the type specified. + Retrieve the entire DOM document and invoke its + "createElement(tagName)" method with tagName="address". + The method should create an instance of an Element node + whose tagName is "address". The NodeName, NodeType + and NodeValue are returned. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreateelementcasesensitive.xml b/test/testcases/tests/level1/core/documentcreateelementcasesensitive.xml new file mode 100644 index 0000000..b87e4e9 --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreateelementcasesensitive.xml @@ -0,0 +1,46 @@ + + + + + +documentCreateElementCaseSensitive +NIST + + The tagName parameter in the "createElement(tagName)" + method is case-sensitive for XML documents. + Retrieve the entire DOM document and invoke its + "createElement(tagName)" method twice. Once for tagName + equal to "address" and once for tagName equal to "ADDRESS" + Each call should create a distinct Element node. The + newly created Elements are then assigned attributes + that are retrieved. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreateelementdefaultattr.xml b/test/testcases/tests/level1/core/documentcreateelementdefaultattr.xml new file mode 100644 index 0000000..e7bdcb0 --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreateelementdefaultattr.xml @@ -0,0 +1,53 @@ + + + + + +documentCreateElementDefaultAttr +NIST + + The "createElement(tagName)" method creates an Element + of the type specified. In addition, if there are known attributes + with default values, Attr nodes representing them are automatically + created and attached to the element. + Retrieve the entire DOM document and invoke its + "createElement(tagName)" method with tagName="address". + The method should create an instance of an Element node + whose tagName is "address". The tagName "address" has an + attribute with default values, therefore the newly created element + will have them. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreateentityreference.xml b/test/testcases/tests/level1/core/documentcreateentityreference.xml new file mode 100644 index 0000000..2281f07 --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreateentityreference.xml @@ -0,0 +1,48 @@ + + + + + +documentCreateEntityReference +NIST + + The "createEntityReference(name)" method creates an + EntityReferrence node. + + Retrieve the entire DOM document and invoke its + "createEntityReference(name)" method. It should create + a new EntityReference node for the Entity with the + given name. The name, value and type are retrieved and + output. + +Mary Brady +Curt Arnold +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreateentityreferenceknown.xml b/test/testcases/tests/level1/core/documentcreateentityreferenceknown.xml new file mode 100644 index 0000000..96af668 --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreateentityreferenceknown.xml @@ -0,0 +1,51 @@ + + + + + +documentCreateEntityReferenceKnown +NIST + + The "createEntityReference(name)" method creates an + EntityReference node. In addition, if the referenced entity + is known, the child list of the "EntityReference" node + is the same as the corresponding "Entity" node. + + Retrieve the entire DOM document and invoke its + "createEntityReference(name)" method. It should create + a new EntityReference node for the Entity with the + given name. The referenced entity is known, therefore the child + list of the "EntityReference" node is the same as the corresponding + "Entity" node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreateprocessinginstruction.xml b/test/testcases/tests/level1/core/documentcreateprocessinginstruction.xml new file mode 100644 index 0000000..a4d1d88 --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreateprocessinginstruction.xml @@ -0,0 +1,51 @@ + + + + + +documentCreateProcessingInstruction +NIST + + The "createProcessingInstruction(target,data)" method + creates a new ProcessingInstruction node with the + specified name and data string. + + Retrieve the entire DOM document and invoke its + "createProcessingInstruction(target,data)" method. + It should create a new PI node with the specified target + and data. The target, data and type are retrieved and + output. + +Mary Brady +Curt Arnold +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentcreatetextnode.xml b/test/testcases/tests/level1/core/documentcreatetextnode.xml new file mode 100644 index 0000000..b583e12 --- /dev/null +++ b/test/testcases/tests/level1/core/documentcreatetextnode.xml @@ -0,0 +1,43 @@ + + + + + +documentCreateTextNode +NIST + + The "createTextNode(data)" method creates a Text node + given the specfied string. + Retrieve the entire DOM document and invoke its + "createTextNode(data)" method. It should create a + new Text node whose "data" is the specified string. + The NodeName and NodeType are also checked. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentgetdoctype.xml b/test/testcases/tests/level1/core/documentgetdoctype.xml new file mode 100644 index 0000000..655d6f1 --- /dev/null +++ b/test/testcases/tests/level1/core/documentgetdoctype.xml @@ -0,0 +1,49 @@ + + + + + +documentGetDocType +NIST + + The "getDoctype()" method returns the Document + Type Declaration associated with this document. + Retrieve the entire DOM document and invoke its + "getDoctype()" method. The name of the document + type should be returned. The "getName()" method + should be equal to "staff" or "svg". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentgetdoctypenodtd.xml b/test/testcases/tests/level1/core/documentgetdoctypenodtd.xml new file mode 100644 index 0000000..6d1fde4 --- /dev/null +++ b/test/testcases/tests/level1/core/documentgetdoctypenodtd.xml @@ -0,0 +1,34 @@ + + + + + +documentGetDocTypeNoDTD +NIST + + The "getDoctype()" method returns null for XML documents + without a document type declaration. + Retrieve the XML document without a DTD and invoke the + "getDoctype()" method. It should return null. + +Mary Brady +2001-08-17 + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentgetelementsbytagnamelength.xml b/test/testcases/tests/level1/core/documentgetelementsbytagnamelength.xml new file mode 100644 index 0000000..fdfd7de --- /dev/null +++ b/test/testcases/tests/level1/core/documentgetelementsbytagnamelength.xml @@ -0,0 +1,36 @@ + + + + + +documentGetElementsByTagNameLength +NIST + + The "getElementsByTagName(tagName)" method returns a + NodeList of all the Elements with a given tagName. + + Retrieve the entire DOM document and invoke its + "getElementsByTagName(tagName)" method with tagName + equal to "name". The method should return a NodeList + that contains 5 elements. + +Mary Brady +2001-08-17 + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentgetelementsbytagnametotallength.xml b/test/testcases/tests/level1/core/documentgetelementsbytagnametotallength.xml new file mode 100644 index 0000000..593ce22 --- /dev/null +++ b/test/testcases/tests/level1/core/documentgetelementsbytagnametotallength.xml @@ -0,0 +1,36 @@ + + + + + +documentGetElementsByTagNameTotalLength +NIST + + Retrieve the entire DOM document, invoke + getElementsByTagName("*") and check the length of the NodeList. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentgetelementsbytagnamevalue.xml b/test/testcases/tests/level1/core/documentgetelementsbytagnamevalue.xml new file mode 100644 index 0000000..ca1086c --- /dev/null +++ b/test/testcases/tests/level1/core/documentgetelementsbytagnamevalue.xml @@ -0,0 +1,44 @@ + + + + + +documentGetElementsByTagNameValue +NIST + + The "getElementsByTagName(tagName)" method returns a + NodeList of all the Elements with a given tagName + in a pre-order traversal of the tree. + + Retrieve the entire DOM document and invoke its + "getElementsByTagName(tagName)" method with tagName + equal to "name". The method should return a NodeList + that contains 5 elements. The FOURTH item in the + list is retrieved and output. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentgetimplementation.xml b/test/testcases/tests/level1/core/documentgetimplementation.xml new file mode 100644 index 0000000..0797926 --- /dev/null +++ b/test/testcases/tests/level1/core/documentgetimplementation.xml @@ -0,0 +1,37 @@ + + + + + +documentGetImplementation +NIST + + The "getImplementation()" method returns the + DOMImplementation object that handles this document. + Retrieve the entire DOM document and invoke its + "getImplementation()" method. It should return a + DOMImplementation whose "hasFeature("XML","1.0") + method returns the boolean value "true". + +Mary Brady +2001-08-17 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentgetrootnode.xml b/test/testcases/tests/level1/core/documentgetrootnode.xml new file mode 100644 index 0000000..959e2ba --- /dev/null +++ b/test/testcases/tests/level1/core/documentgetrootnode.xml @@ -0,0 +1,43 @@ + + + + + +documentGetRootNode +NIST + + The "getDocumentElement()" method provides direct access + to the child node that is the root element of the document. + Retrieve the entire DOM document and invoke its + "getDocumentElement()" method. It should return an + Element node whose NodeName is "staff" (or "svg"). + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateattribute.xml b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateattribute.xml new file mode 100644 index 0000000..98b66e4 --- /dev/null +++ b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateattribute.xml @@ -0,0 +1,44 @@ + + + + + +documentInvalidCharacterExceptionCreateAttribute +NIST + + The "createAttribute(tagName)" method raises an + INVALID_CHARACTER_ERR DOMException if the specified + tagName contains an invalid character. + + Retrieve the entire DOM document and invoke its + "createAttribute(tagName)" method with the tagName equal + to the string "invalid^Name". Due to the invalid + character the desired EXCEPTION should be raised. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateelement.xml b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateelement.xml new file mode 100644 index 0000000..bb3495a --- /dev/null +++ b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateelement.xml @@ -0,0 +1,44 @@ + + + + + +documentInvalidCharacterExceptionCreateElement +NIST + + The "createElement(tagName)" method raises an + INVALID_CHARACTER_ERR DOMException if the specified + tagName contains an invalid character. + + Retrieve the entire DOM document and invoke its + "createElement(tagName)" method with the tagName equal + to the string "invalid^Name". Due to the invalid + character the desired EXCEPTION should be raised. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateentref.xml b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateentref.xml new file mode 100644 index 0000000..7ed093d --- /dev/null +++ b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateentref.xml @@ -0,0 +1,48 @@ + + + + + +documentInvalidCharacterExceptionCreateEntRef +NIST + + The "createEntityReference(tagName)" method raises an + INVALID_CHARACTER_ERR DOMException if the specified + tagName contains an invalid character. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateentref1.xml b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateentref1.xml new file mode 100644 index 0000000..3ad9a20 --- /dev/null +++ b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateentref1.xml @@ -0,0 +1,45 @@ + + + + + +documentinvalidcharacterexceptioncreateentref1 +Curt Arnold + +Creating an entity reference with an empty name should cause an INVALID_CHARACTER_ERR. + +2004-03-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreatepi.xml b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreatepi.xml new file mode 100644 index 0000000..970fd91 --- /dev/null +++ b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreatepi.xml @@ -0,0 +1,48 @@ + + + + + +documentInvalidCharacterExceptionCreatePI +NIST + + The "createProcessingInstruction(target,data) method + raises an INVALID_CHARACTER_ERR DOMException if the + specified tagName contains an invalid character. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreatepi1.xml b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreatepi1.xml new file mode 100644 index 0000000..48bc577 --- /dev/null +++ b/test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreatepi1.xml @@ -0,0 +1,45 @@ + + + + + +documentinvalidcharacterexceptioncreatepi1 +Curt Arnold + +Creating a processing instruction with an empty target should cause an INVALID_CHARACTER_ERR. + +2004-03-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documenttypegetdoctype.xml b/test/testcases/tests/level1/core/documenttypegetdoctype.xml new file mode 100644 index 0000000..95a3049 --- /dev/null +++ b/test/testcases/tests/level1/core/documenttypegetdoctype.xml @@ -0,0 +1,44 @@ + + + + + +documenttypeGetDocType +NIST + + The "getName()" method contains the name of the DTD. + + Retrieve the Document Type for this document and examine + the string returned by the "getName()" method. + It should be set to "staff". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documenttypegetentities.xml b/test/testcases/tests/level1/core/documenttypegetentities.xml new file mode 100644 index 0000000..ccc860e --- /dev/null +++ b/test/testcases/tests/level1/core/documenttypegetentities.xml @@ -0,0 +1,68 @@ + + + + + +documenttypeGetEntities +NIST + + The "getEntities()" method is a NamedNodeMap that contains + the general entities for this document. + + Retrieve the Document Type for this document and create + a NamedNodeMap of all its entities. The entire map is + traversed and the names of the entities are retrieved. + There should be 5 entities. Duplicates should be ignored. + +Mary Brady +2001-08-17 + + + + + + + +"ent1" +"ent2" +"ent3" +"ent4" +"ent5" + + +"ent1" +"ent2" +"ent3" +"ent4" +"ent5" +"svgunit" +"svgtest" + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documenttypegetentitieslength.xml b/test/testcases/tests/level1/core/documenttypegetentitieslength.xml new file mode 100644 index 0000000..04561fa --- /dev/null +++ b/test/testcases/tests/level1/core/documenttypegetentitieslength.xml @@ -0,0 +1,43 @@ + + + + + +documenttypeGetEntitiesLength +NIST + + Duplicate entities are to be discarded. + Retrieve the Document Type for this document and create + a NamedNodeMap of all its entities. The entity named + "ent1" is defined twice and therefore that last + occurrance should be discarded. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documenttypegetentitiestype.xml b/test/testcases/tests/level1/core/documenttypegetentitiestype.xml new file mode 100644 index 0000000..62cbc27 --- /dev/null +++ b/test/testcases/tests/level1/core/documenttypegetentitiestype.xml @@ -0,0 +1,45 @@ + + + + + +documenttypeGetEntitiesType +NIST + + Every node in the map returned by the "getEntities()" + method implements the Entity interface. + + Retrieve the Document Type for this document and create + a NamedNodeMap of all its entities. Traverse the + entire list and examine the NodeType of each node + in the list. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documenttypegetnotations.xml b/test/testcases/tests/level1/core/documenttypegetnotations.xml new file mode 100644 index 0000000..927b8b4 --- /dev/null +++ b/test/testcases/tests/level1/core/documenttypegetnotations.xml @@ -0,0 +1,51 @@ + + + + + +documenttypeGetNotations +NIST + + The "getNotations()" method creates a NamedNodeMap that + contains all the notations declared in the DTD. + + Retrieve the Document Type for this document and create + a NamedNodeMap object of all the notations. There + should be two items in the list (notation1 and notation2). + +Mary Brady +Curt Arnold +2001-08-17 + + + + + + + + + +"notation1" +"notation2" + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/documenttypegetnotationstype.xml b/test/testcases/tests/level1/core/documenttypegetnotationstype.xml new file mode 100644 index 0000000..cde501f --- /dev/null +++ b/test/testcases/tests/level1/core/documenttypegetnotationstype.xml @@ -0,0 +1,44 @@ + + + + + +documenttypeGetNotationsType +NIST + + Every node in the map returned by the "getNotations()" + method implements the Notation interface. + + Retrieve the Document Type for this document and create + a NamedNodeMap object of all the notations. Traverse + the entire list and examine the NodeType of each node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/domimplementationfeaturenoversion.xml b/test/testcases/tests/level1/core/domimplementationfeaturenoversion.xml new file mode 100644 index 0000000..fe62c52 --- /dev/null +++ b/test/testcases/tests/level1/core/domimplementationfeaturenoversion.xml @@ -0,0 +1,33 @@ + + + + + +domimplementationFeatureNoVersion +NIST + +hasFeature("XML", "") should return true for implementations that can read staff files. + +Mary Brady +2001-08-17 + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/domimplementationfeaturenull.xml b/test/testcases/tests/level1/core/domimplementationfeaturenull.xml new file mode 100644 index 0000000..4634680 --- /dev/null +++ b/test/testcases/tests/level1/core/domimplementationfeaturenull.xml @@ -0,0 +1,35 @@ + + + + + +domimplementationFeatureNull +NIST + +hasFeature("XML", null) should return true for implementations that can read staff documents. + +Curt Arnold +2001-08-23 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/domimplementationfeaturexml.xml b/test/testcases/tests/level1/core/domimplementationfeaturexml.xml new file mode 100644 index 0000000..3eb18bd --- /dev/null +++ b/test/testcases/tests/level1/core/domimplementationfeaturexml.xml @@ -0,0 +1,32 @@ + + + + + +domimplementationFeaturexml +NIST + +hasFeature("xml", "1.0") should return true for implementations that can read staff documents. + +Mary Brady +2001-08-17 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementaddnewattribute.xml b/test/testcases/tests/level1/core/elementaddnewattribute.xml new file mode 100644 index 0000000..90ee433 --- /dev/null +++ b/test/testcases/tests/level1/core/elementaddnewattribute.xml @@ -0,0 +1,43 @@ + + + + + +elementAddNewAttribute +NIST + + The "setAttribute(name,value)" method adds a new attribute + to the Element + + Retrieve the last child of the last employee, then + add an attribute to it by invoking the + "setAttribute(name,value)" method. It should create + a "name" attribute with an assigned value equal to + "value". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementassociatedattribute.xml b/test/testcases/tests/level1/core/elementassociatedattribute.xml new file mode 100644 index 0000000..583da3c --- /dev/null +++ b/test/testcases/tests/level1/core/elementassociatedattribute.xml @@ -0,0 +1,46 @@ + + + + + +elementAssociatedAttribute +NIST + + Elements may have attributes associated with them. + + Retrieve the first attribute from the last child of + the first employee and invoke the "getSpecified()" + method. This test is only intended to show that + Elements can actually have attributes. This test uses + the "getNamedItem(name)" method from the NamedNodeMap + interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementchangeattributevalue.xml b/test/testcases/tests/level1/core/elementchangeattributevalue.xml new file mode 100644 index 0000000..3bc4b85 --- /dev/null +++ b/test/testcases/tests/level1/core/elementchangeattributevalue.xml @@ -0,0 +1,46 @@ + + + + + +elementChangeAttributeValue +NIST + + The "setAttribute(name,value)" method adds a new attribute + to the Element. If the "name" is already present, then + its value should be changed to the new one that is in + the "value" parameter. + + Retrieve the last child of the fourth employee, then add + an attribute to it by invoking the + "setAttribute(name,value)" method. Since the name of the + used attribute("street") is already present in this + element, then its value should be changed to the new one + of the "value" parameter. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementcreatenewattribute.xml b/test/testcases/tests/level1/core/elementcreatenewattribute.xml new file mode 100644 index 0000000..6b9f510 --- /dev/null +++ b/test/testcases/tests/level1/core/elementcreatenewattribute.xml @@ -0,0 +1,50 @@ + + + + + +elementCreateNewAttribute +NIST + + The "setAttributeNode(newAttr)" method adds a new + attribute to the Element. + + Retrieve first address element and add + a new attribute node to it by invoking its + "setAttributeNode(newAttr)" method. This test makes use + of the "createAttribute(name)" method from the Document + interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementgetattributenode.xml b/test/testcases/tests/level1/core/elementgetattributenode.xml new file mode 100644 index 0000000..930d906 --- /dev/null +++ b/test/testcases/tests/level1/core/elementgetattributenode.xml @@ -0,0 +1,42 @@ + + + + + +elementGetAttributeNode +NIST + + The "getAttributeNode(name)" method retrieves an + attribute node by name. + + Retrieve the attribute "domestic" from the last child + of the first employee. Since the method returns an + Attr object, the "name" can be examined to ensure the + proper attribute was retrieved. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementgetattributenodenull.xml b/test/testcases/tests/level1/core/elementgetattributenodenull.xml new file mode 100644 index 0000000..63354a3 --- /dev/null +++ b/test/testcases/tests/level1/core/elementgetattributenodenull.xml @@ -0,0 +1,41 @@ + + + + + +elementGetAttributeNodeNull +NIST + + The "getAttributeNode(name)" method retrieves an + attribute node by name. It should return null if the + "name" attribute does not exist. + + Retrieve the last child of the first employee and attempt + to retrieve a non-existing attribute. The method should + return "null". The non-existing attribute to be used + is "invalidAttribute". + +Mary Brady +2001-08-17 + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementgetelementempty.xml b/test/testcases/tests/level1/core/elementgetelementempty.xml new file mode 100644 index 0000000..3e574de --- /dev/null +++ b/test/testcases/tests/level1/core/elementgetelementempty.xml @@ -0,0 +1,49 @@ + + + + + +elementGetElementEmpty +NIST + + The "getAttribute(name)" method returns an empty + string if no value was assigned to an attribute and + no default value was given in the DTD file. + + Retrieve the last child of the last employee, then + invoke "getAttribute(name)" method, where "name" is an + attribute without a specified or DTD default value. + The "getAttribute(name)" method should return the empty + string. This method makes use of the + "createAttribute(newAttr)" method from the Document + interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementgetelementsbytagname.xml b/test/testcases/tests/level1/core/elementgetelementsbytagname.xml new file mode 100644 index 0000000..19d0348 --- /dev/null +++ b/test/testcases/tests/level1/core/elementgetelementsbytagname.xml @@ -0,0 +1,39 @@ + + + + + +elementGetElementsByTagName +NIST + +The "getElementsByTagName(name)" method returns a list +of all descendant Elements with the given tag name. +Test for an empty list. + +Create a NodeList of all the descendant elements +using the string "noMatch" as the tagName. +The method should return a NodeList whose length is +"0" since there are not any descendant elements +that match the given tag name. + +Mary Brady +2001-08-17 + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementgetelementsbytagnameaccessnodelist.xml b/test/testcases/tests/level1/core/elementgetelementsbytagnameaccessnodelist.xml new file mode 100644 index 0000000..ec88004 --- /dev/null +++ b/test/testcases/tests/level1/core/elementgetelementsbytagnameaccessnodelist.xml @@ -0,0 +1,48 @@ + + + + + +elementgetelementsbytagnameaccessnodelist +NIST + +Element.getElementsByTagName("employee") should return a NodeList whose length is +"5" in the order the children were encountered. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementgetelementsbytagnamenomatch.xml b/test/testcases/tests/level1/core/elementgetelementsbytagnamenomatch.xml new file mode 100644 index 0000000..ffc6aa7 --- /dev/null +++ b/test/testcases/tests/level1/core/elementgetelementsbytagnamenomatch.xml @@ -0,0 +1,37 @@ + + + + + +elementGetElementsByTagName +NIST + +The "getElementsByTagName(name)" method returns a list +of all descendant Elements with the given tag name. + +Create a NodeList of all the descendant elements +using the string "employee" as the tagName. +The method should return a NodeList whose length is +"5". + +Mary Brady +2001-08-17 + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementgetelementsbytagnamespecialvalue.xml b/test/testcases/tests/level1/core/elementgetelementsbytagnamespecialvalue.xml new file mode 100644 index 0000000..56930f8 --- /dev/null +++ b/test/testcases/tests/level1/core/elementgetelementsbytagnamespecialvalue.xml @@ -0,0 +1,56 @@ + + + + + +elementGetElementsByTagNamesSpecialValue +NIST + +The "getElementsByTagName(name)" method may use the +special value "*" to match all tags in the element +tree. + +Create a NodeList of all the descendant elements +of the last employee by using the special value "*". +The method should return all the descendant children(6) +in the order the children were encountered. + +Mary Brady +2001-08-17 + + + + + + + + + + +"employeeId" +"name" +"position" +"salary" +"gender" +"address" + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementgettagname.xml b/test/testcases/tests/level1/core/elementgettagname.xml new file mode 100644 index 0000000..7b27819 --- /dev/null +++ b/test/testcases/tests/level1/core/elementgettagname.xml @@ -0,0 +1,48 @@ + + + + + +elementGetTagName +NIST + + + The "getTagName()" method returns the + + tagName of an element. + + + + Invoke the "getTagName()" method one the + + root node. The value returned should be "staff". + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementinuseattributeerr.xml b/test/testcases/tests/level1/core/elementinuseattributeerr.xml new file mode 100644 index 0000000..f167279 --- /dev/null +++ b/test/testcases/tests/level1/core/elementinuseattributeerr.xml @@ -0,0 +1,58 @@ + + + + + +elementInUseAttributeErr +NIST + + The "setAttributeNode(newAttr)" method raises an + "INUSE_ATTRIBUTE_ERR DOMException if the "newAttr" + is already an attribute of another element. + + Retrieve the last child of the second employee and append + a newly created element. The "createAttribute(name)" + and "setAttributeNode(newAttr)" methods are invoked + to create and add a new attribute to the newly created + Element. The "setAttributeNode(newAttr)" method is + once again called to add the new attribute causing an + exception to be raised since the attribute is already + an attribute of another element. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementinvalidcharacterexception.xml b/test/testcases/tests/level1/core/elementinvalidcharacterexception.xml new file mode 100644 index 0000000..c775c91 --- /dev/null +++ b/test/testcases/tests/level1/core/elementinvalidcharacterexception.xml @@ -0,0 +1,53 @@ + + + + + +elementInvalidCharacterException +NIST + + + The "setAttribute(name,value)" method raises an + + "INVALID_CHARACTER_ERR DOMException if the specified + + name contains an invalid character. + + + + Retrieve the last child of the first employee and + + call its "setAttribute(name,value)" method with + + "name" containing an invalid character. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementnormalize.xml b/test/testcases/tests/level1/core/elementnormalize.xml new file mode 100644 index 0000000..bc85fff --- /dev/null +++ b/test/testcases/tests/level1/core/elementnormalize.xml @@ -0,0 +1,46 @@ + + + + + +elementNormalize +NIST + + The "normalize()" method puts all the nodes in the full + depth of the sub-tree underneath this element into a + "normal" form. + + Retrieve the third employee and access its second child. + This child contains a block of text that is spread + across multiple lines. The content of the "name" child + should be parsed and treated as a single Text node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementnotfounderr.xml b/test/testcases/tests/level1/core/elementnotfounderr.xml new file mode 100644 index 0000000..792c3f1 --- /dev/null +++ b/test/testcases/tests/level1/core/elementnotfounderr.xml @@ -0,0 +1,50 @@ + + + + + +elementNotFoundErr +NIST + + The "removeAttributeNode(oldAttr)" method raises a + NOT_FOUND_ERR DOMException if the "oldAttr" attribute + is not an attribute of the element. + + Retrieve the last employee and attempt to remove + a non existing attribute node. This should cause the + intended exception to be raised. This test makes use + of the "createAttribute(name)" method from the Document + interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementremoveattribute.xml b/test/testcases/tests/level1/core/elementremoveattribute.xml new file mode 100644 index 0000000..b90c23c --- /dev/null +++ b/test/testcases/tests/level1/core/elementremoveattribute.xml @@ -0,0 +1,47 @@ + + + + + +elementRemoveAttribute +NIST + + The "removeAttribute(name)" removes an attribute by name. + If the attribute has a default value, it is immediately + replaced. + + Retrieve the attribute named "street" from the last child + of the fourth employee, then remove the "street" + attribute by invoking the "removeAttribute(name)" method. + The "street" attribute has a default value defined in the + DTD file, that value should immediately replace the old + value. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementremoveattributeaftercreate.xml b/test/testcases/tests/level1/core/elementremoveattributeaftercreate.xml new file mode 100644 index 0000000..35b8640 --- /dev/null +++ b/test/testcases/tests/level1/core/elementremoveattributeaftercreate.xml @@ -0,0 +1,49 @@ + + + + + +elementRemoveAttributeAfterCreate +NIST + + The "removeAttributeNode(oldAttr)" method removes the + specified attribute. + + Retrieve the last child of the third employee, add a + new "district" node to it and then try to remove it. + To verify that the node was removed use the + "getNamedItem(name)" method from the NamedNodeMap + interface. It also uses the "getAttributes()" method + from the Node interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementremoveattributenode.xml b/test/testcases/tests/level1/core/elementremoveattributenode.xml new file mode 100644 index 0000000..30de112 --- /dev/null +++ b/test/testcases/tests/level1/core/elementremoveattributenode.xml @@ -0,0 +1,43 @@ + + + + + +elementRemoveAttributeNode +NIST + + The "removeAttributeNode(oldAttr)" method returns the + node that was removed. + + Retrieve the last child of the third employee and + remove its "street" Attr node. The method should + return the old attribute node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementremoveattributenodenomodificationallowederr.xml b/test/testcases/tests/level1/core/elementremoveattributenodenomodificationallowederr.xml new file mode 100644 index 0000000..b8ed52a --- /dev/null +++ b/test/testcases/tests/level1/core/elementremoveattributenodenomodificationallowederr.xml @@ -0,0 +1,67 @@ + + + + + +elementRemoveAttributeNodeNoModificationAllowedErr +NIST + + The "removeAttributeNode(oldAttr)" method for an attribute causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Try to remove the "domestic" attribute + from the entity reference by executing the "removeAttributeNode(oldAttr)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementremoveattributenodenomodificationallowederrEE.xml b/test/testcases/tests/level1/core/elementremoveattributenodenomodificationallowederrEE.xml new file mode 100644 index 0000000..f8d516e --- /dev/null +++ b/test/testcases/tests/level1/core/elementremoveattributenodenomodificationallowederrEE.xml @@ -0,0 +1,61 @@ + + + + + +elementRemoveAttributeNodeNoModificationAllowedErrEE +Curt Arnold + + The "removeAttributeNode(oldAttr)" method for an attribute causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Create an entity reference and add it to the children of the THIRD "gender" element. + Try to remove the "domestic" attribute from the entity + reference by executing the "removeAttributeNode(oldAttr)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-21 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementremoveattributenomodificationallowederr.xml b/test/testcases/tests/level1/core/elementremoveattributenomodificationallowederr.xml new file mode 100644 index 0000000..4aae1ae --- /dev/null +++ b/test/testcases/tests/level1/core/elementremoveattributenomodificationallowederr.xml @@ -0,0 +1,62 @@ + + + + + +elementRemoveAttributeNoModificationAllowedErr +NIST + + The "removeAttribute(name)" method for an attribute causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Try to remove the "domestic" attribute + from the entity reference by executing the "removeAttribute(name)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementremoveattributenomodificationallowederrEE.xml b/test/testcases/tests/level1/core/elementremoveattributenomodificationallowederrEE.xml new file mode 100644 index 0000000..79248df --- /dev/null +++ b/test/testcases/tests/level1/core/elementremoveattributenomodificationallowederrEE.xml @@ -0,0 +1,53 @@ + + + + + +elementRemoveAttributeNoModificationAllowedErrEE +Curt Arnold + + The "removeAttribute(name)" method for an attribute causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Create an reference the entity ent4 and add it to the THIRD "gender" element. + Try to remove the "domestic" attribute from the entity reference by executing the "removeAttribute(name)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-21 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml b/test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml new file mode 100644 index 0000000..b6e096e --- /dev/null +++ b/test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml @@ -0,0 +1,48 @@ + + + + + +elementRemoveAttributeRestoreDefaultValue +NIST + + The "removeAttributeNode(oldAttr)" method removes the + specified attribute node and restores any default values. + + Retrieve the last child of the third employeed and + remove its "street" Attr node. Since this node has a + default value defined in the DTD file, that default + should immediately be the new value. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementreplaceattributewithself.xml b/test/testcases/tests/level1/core/elementreplaceattributewithself.xml new file mode 100644 index 0000000..fc4b562 --- /dev/null +++ b/test/testcases/tests/level1/core/elementreplaceattributewithself.xml @@ -0,0 +1,42 @@ + + + + + +elementReplaceAttributeWithSelf +Curt Arnold + +This test calls setAttributeNode to replace an attribute with itself. +Since the node is not an attribute of another Element, it would +be inappropriate to throw an INUSE_ATTRIBUTE_ERR. + +This test was derived from elementinuserattributeerr which +inadvertanly made this test. + +Curt Arnold +2001-10-31 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementreplaceexistingattribute.xml b/test/testcases/tests/level1/core/elementreplaceexistingattribute.xml new file mode 100644 index 0000000..76aa780 --- /dev/null +++ b/test/testcases/tests/level1/core/elementreplaceexistingattribute.xml @@ -0,0 +1,48 @@ + + + + + +elementReplaceExistingAttribute +NIST + + The "setAttributeNode(newAttr)" method adds a new + attribute to the Element. If the "newAttr" Attr node is + already present in this element, it should replace the + existing one. + + Retrieve the last child of the third employee and add a + new attribute node by invoking the "setAttributeNode(new + Attr)" method. The new attribute node to be added is + "street", which is already present in this element. The + method should replace the existing Attr node with the + new one. This test uses the "createAttribute(name)" + method from the Document interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementreplaceexistingattributegevalue.xml b/test/testcases/tests/level1/core/elementreplaceexistingattributegevalue.xml new file mode 100644 index 0000000..4ce96c1 --- /dev/null +++ b/test/testcases/tests/level1/core/elementreplaceexistingattributegevalue.xml @@ -0,0 +1,48 @@ + + + + + +elementReplaceExistingAttributeGeValue +NIST + +If the "setAttributeNode(newAttr)" method replaces an +existing Attr node with the same name, then it should +return the previously existing Attr node. + +Retrieve the last child of the third employee and add a +new attribute node. The new attribute node is "street", +which is already present in this Element. The method +should return the existing Attr node(old "street" Attr). +This test uses the "createAttribute(name)" method +from the Document interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementretrieveallattributes.xml b/test/testcases/tests/level1/core/elementretrieveallattributes.xml new file mode 100644 index 0000000..ce849d4 --- /dev/null +++ b/test/testcases/tests/level1/core/elementretrieveallattributes.xml @@ -0,0 +1,46 @@ + + + + + +elementRetrieveAllAttributes +NIST + + The "getAttributes()" method(Node Interface) may + be used to retrieve the set of all attributes of an + element. + + Create a list of all the attributes of the last child + of the first employee by using the "getAttributes()" + method. Examine the length of the attribute list. + This test uses the "getLength()" method from the + NameNodeMap interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementretrieveattrvalue.xml b/test/testcases/tests/level1/core/elementretrieveattrvalue.xml new file mode 100644 index 0000000..41e62e3 --- /dev/null +++ b/test/testcases/tests/level1/core/elementretrieveattrvalue.xml @@ -0,0 +1,40 @@ + + + + + +elementRetrieveAttrValue +NIST + + The "getAttribute(name)" method returns an attribute + value by name. + + Retrieve the second address element, then + invoke the 'getAttribute("street")' method. This should + return the value of the attribute("No"). + +Mary Brady +2001-08-17 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementretrievetagname.xml b/test/testcases/tests/level1/core/elementretrievetagname.xml new file mode 100644 index 0000000..85bdf1e --- /dev/null +++ b/test/testcases/tests/level1/core/elementretrievetagname.xml @@ -0,0 +1,44 @@ + + + + + +elementRetrieveTagName +NIST + + The "getElementsByTagName()" method returns a NodeList + of all descendant elements with a given tagName. + + Invoke the "getElementsByTagName()" method and create + a NodeList of "position" elements. Retrieve the second + "position" element in the list and return the NodeName. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementsetattributenodenomodificationallowederr.xml b/test/testcases/tests/level1/core/elementsetattributenodenomodificationallowederr.xml new file mode 100644 index 0000000..198c178 --- /dev/null +++ b/test/testcases/tests/level1/core/elementsetattributenodenomodificationallowederr.xml @@ -0,0 +1,61 @@ + + + + + +elementSetAttributeNodeNoModificationAllowedErr +NIST + + The "setAttributeNode(newAttr)" method for an attribute causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Try to remove the "domestic" attribute + from the entity reference by executing the "setAttributeNode(newAttr)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementsetattributenodenomodificationallowederrEE.xml b/test/testcases/tests/level1/core/elementsetattributenodenomodificationallowederrEE.xml new file mode 100644 index 0000000..a540c72 --- /dev/null +++ b/test/testcases/tests/level1/core/elementsetattributenodenomodificationallowederrEE.xml @@ -0,0 +1,58 @@ + + + + + +elementsetattributenodenomodificationallowederree +Curt Arnold + + The "setAttributeNode(newAttr)" method for an attribute causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Create an entity reference and add to the THIRD "gender" element. The elements + content is an entity reference. Try to remove the "domestic" attribute + from the entity reference by executing the "setAttributeNode(newAttr)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-21 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementsetattributenodenull.xml b/test/testcases/tests/level1/core/elementsetattributenodenull.xml new file mode 100644 index 0000000..7608454 --- /dev/null +++ b/test/testcases/tests/level1/core/elementsetattributenodenull.xml @@ -0,0 +1,45 @@ + + + + + +elementSetAttributeNodeNull +NIST + + The "setAttributeNode(newAttr)" method returns the + null value if no previously existing Attr node with the + same name was replaced. + + Retrieve the last child of the third employee and add a + new attribute to it. The new attribute node added is + "district", which is not part of this Element. The + method should return the null value. + This test uses the "createAttribute(name)" + method from the Document interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementsetattributenomodificationallowederr.xml b/test/testcases/tests/level1/core/elementsetattributenomodificationallowederr.xml new file mode 100644 index 0000000..978c2ec --- /dev/null +++ b/test/testcases/tests/level1/core/elementsetattributenomodificationallowederr.xml @@ -0,0 +1,53 @@ + + + + + +elementSetAttributeNoModificationAllowedErr +NIST + + The "setAttribute(name,value)" method for an attribute causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Try to remove the "domestic" attribute + from the entity reference by executing the "setAttribute(name,value)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementsetattributenomodificationallowederrEE.xml b/test/testcases/tests/level1/core/elementsetattributenomodificationallowederrEE.xml new file mode 100644 index 0000000..1821d04 --- /dev/null +++ b/test/testcases/tests/level1/core/elementsetattributenomodificationallowederrEE.xml @@ -0,0 +1,53 @@ + + + + + +elementSetAttributeNoModificationAllowedErrEE +Curt Arnold + + The "setAttribute(name,value)" method for an attribute causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Add an ent4 reference to the children of the THIRD "gender" element. + Try to remove the "domestic" attribute + from the entity reference by executing the "setAttribute(name,value)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-21 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/elementwrongdocumenterr.xml b/test/testcases/tests/level1/core/elementwrongdocumenterr.xml new file mode 100644 index 0000000..531c512 --- /dev/null +++ b/test/testcases/tests/level1/core/elementwrongdocumenterr.xml @@ -0,0 +1,68 @@ + + + + + +elementWrongDocumentErr +NIST + + + The "setAttributeNode(newAttr)" method raises an + + "WRONG_DOCUMENT_ERR DOMException if the "newAttr" + + was created from a different document than the one that + + created this document. + + + + Retrieve the last employee and attempt to set a new + + attribute node for its "employee" element. The new + + attribute was created from a document other than the + + one that created this element, therefore a + + WRONG_DOCUMENT_ERR DOMException should be raised. + + This test uses the "createAttribute(newAttr)" method + + from the Document interface. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/entitygetentityname.xml b/test/testcases/tests/level1/core/entitygetentityname.xml new file mode 100644 index 0000000..2aa4be3 --- /dev/null +++ b/test/testcases/tests/level1/core/entitygetentityname.xml @@ -0,0 +1,46 @@ + + + + + +entityGetEntityName +NIST + + The nodeName attribute that is inherited from Node + contains the name of the entity. + + Retrieve the entity named "ent1" and access its name by + invoking the "getNodeName()" method inherited from + the Node interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/entitygetpublicid.xml b/test/testcases/tests/level1/core/entitygetpublicid.xml new file mode 100644 index 0000000..645a781 --- /dev/null +++ b/test/testcases/tests/level1/core/entitygetpublicid.xml @@ -0,0 +1,55 @@ + + + + + +entityGetPublicId +NIST + + The "getPublicId()" method of an Entity node contains + the public identifier associated with the entity, if + one was specified. + + Retrieve the entity named "ent5" and access its + public identifier. The string "entityURI" should be + returned. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/entitygetpublicidnull.xml b/test/testcases/tests/level1/core/entitygetpublicidnull.xml new file mode 100644 index 0000000..172ba80 --- /dev/null +++ b/test/testcases/tests/level1/core/entitygetpublicidnull.xml @@ -0,0 +1,45 @@ + + + + + +entityGetPublicIdNull +NIST + + The "getPublicId()" method of an Entity node contains + the public identifier associated with the entity, if + one was not specified a null value should be returned. + + Retrieve the entity named "ent1" and access its + public identifier. Since a public identifier was not + specified for this entity, the "getPublicId()" method + should return null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/files/.cvsignore b/test/testcases/tests/level1/core/files/.cvsignore new file mode 100644 index 0000000..e69de29 diff --git a/test/testcases/tests/level1/core/files/CVS/Entries b/test/testcases/tests/level1/core/files/CVS/Entries new file mode 100644 index 0000000..4398a4d --- /dev/null +++ b/test/testcases/tests/level1/core/files/CVS/Entries @@ -0,0 +1,16 @@ +/.cvsignore/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodtdstaff.html/1.3/Fri Apr 3 02:48:03 2009// +/hc_nodtdstaff.svg/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodtdstaff.xhtml/1.2/Fri Apr 3 02:48:03 2009// +/hc_nodtdstaff.xml/1.3/Fri Apr 3 02:48:03 2009// +/hc_staff.html/1.8/Fri Apr 3 02:48:03 2009// +/hc_staff.svg/1.5/Fri Apr 3 02:48:03 2009// +/hc_staff.xhtml/1.7/Fri Apr 3 02:48:03 2009// +/hc_staff.xml/1.9/Fri Apr 3 02:48:03 2009// +/staff.dtd/1.2/Fri Apr 3 02:48:03 2009// +/staff.svg/1.3/Fri Apr 3 02:48:03 2009// +/staff.xml/1.2/Fri Apr 3 02:48:03 2009// +/svgtest.js/1.2/Fri Apr 3 02:48:03 2009/-kb/ +/svgunit.js/1.2/Fri Apr 3 02:48:03 2009/-kb/ +/xhtml1-strict.dtd/1.5/Fri Apr 3 02:48:03 2009/-kb/ +D diff --git a/test/testcases/tests/level1/core/files/CVS/Repository b/test/testcases/tests/level1/core/files/CVS/Repository new file mode 100644 index 0000000..e9c06be --- /dev/null +++ b/test/testcases/tests/level1/core/files/CVS/Repository @@ -0,0 +1 @@ +2001/DOM-Test-Suite/tests/level1/core/files diff --git a/test/testcases/tests/level1/core/files/CVS/Root b/test/testcases/tests/level1/core/files/CVS/Root new file mode 100644 index 0000000..3c7177e --- /dev/null +++ b/test/testcases/tests/level1/core/files/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@dev.w3.org:/sources/public diff --git a/test/testcases/tests/level1/core/files/CVS/Template b/test/testcases/tests/level1/core/files/CVS/Template new file mode 100644 index 0000000..e69de29 diff --git a/test/testcases/tests/level1/core/files/hc_nodtdstaff.html b/test/testcases/tests/level1/core/files/hc_nodtdstaff.html new file mode 100644 index 0000000..f98d0be --- /dev/null +++ b/test/testcases/tests/level1/core/files/hc_nodtdstaff.html @@ -0,0 +1,10 @@ +hc_nodtdstaff +

+ EMP0001 + Margaret Martin + Accountant + 56,000 + Female + 1230 North Ave. Dallas, Texas 98551 +

+ diff --git a/test/testcases/tests/level1/core/files/hc_nodtdstaff.svg b/test/testcases/tests/level1/core/files/hc_nodtdstaff.svg new file mode 100644 index 0000000..89f26f6 --- /dev/null +++ b/test/testcases/tests/level1/core/files/hc_nodtdstaff.svg @@ -0,0 +1,10 @@ +hc_nodtdstaff +

+ EMP0001 + Margaret Martin + Accountant + 56,000 + Female + 1230 North Ave. Dallas, Texas 98551 +

+ diff --git a/test/testcases/tests/level1/core/files/hc_nodtdstaff.xhtml b/test/testcases/tests/level1/core/files/hc_nodtdstaff.xhtml new file mode 100644 index 0000000..8a5d8a8 --- /dev/null +++ b/test/testcases/tests/level1/core/files/hc_nodtdstaff.xhtml @@ -0,0 +1,10 @@ +hc_nodtdstaff +

+ EMP0001 + Margaret Martin + Accountant + 56,000 + Female + 1230 North Ave. Dallas, Texas 98551 +

+ diff --git a/test/testcases/tests/level1/core/files/hc_nodtdstaff.xml b/test/testcases/tests/level1/core/files/hc_nodtdstaff.xml new file mode 100644 index 0000000..85c0693 --- /dev/null +++ b/test/testcases/tests/level1/core/files/hc_nodtdstaff.xml @@ -0,0 +1,10 @@ +hc_nodtdstaff +

+ EMP0001 + Margaret Martin + Accountant + 56,000 + Female + 1230 North Ave. Dallas, Texas 98551 +

+ diff --git a/test/testcases/tests/level1/core/files/hc_staff.html b/test/testcases/tests/level1/core/files/hc_staff.html new file mode 100644 index 0000000..9acf750 --- /dev/null +++ b/test/testcases/tests/level1/core/files/hc_staff.html @@ -0,0 +1,48 @@ + + +hc_staff +

+ EMP0001 + Margaret Martin + Accountant + 56,000 + Female + 1230 North Ave. Dallas, Texas 98551 +

+

+ EMP0002 + Martha RaynoldsThis is a CDATASection with EntityReference number 2 &ent2; +This is an adjacent CDATASection with a reference to a tab &tab; + Secretary + 35,000 + Female + β Dallas, γ + 98554 +

+

+ EMP0003 + Roger + Jones + Department Manager + 100,000 + δ + PO Box 27 Irving, texas 98553 +

+

+ EMP0004 + Jeny Oconnor + Personnel Director + 95,000 + Female + 27 South Road. Dallas, Texas 98556 +

+

+ EMP0005 + Robert Myers + Computer Specialist + 90,000 + male + 1821 Nordic. Road, Irving Texas 98558 +

+ diff --git a/test/testcases/tests/level1/core/files/hc_staff.svg b/test/testcases/tests/level1/core/files/hc_staff.svg new file mode 100644 index 0000000..cd0cc47 --- /dev/null +++ b/test/testcases/tests/level1/core/files/hc_staff.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + +]> + +hc_staff +

+ EMP0001 + Margaret Martin + Accountant + 56,000 + Female + 1230 North Ave. Dallas, Texas 98551 +

+

+ EMP0002 + Martha RaynoldsThis is a CDATASection with EntityReference number 2 &ent2; +This is an adjacent CDATASection with a reference to a tab &tab; + Secretary + 35,000 + Female + β Dallas, γ + 98554 +

+

+ EMP0003 + Roger + Jones + Department Manager + 100,000 + δ + PO Box 27 Irving, texas 98553 +

+

+ EMP0004 + Jeny Oconnor + Personnel Director + 95,000 + Female + 27 South Road. Dallas, Texas 98556 +

+

+ EMP0005 + Robert Myers + Computer Specialist + 90,000 + male + 1821 Nordic. Road, Irving Texas 98558 +

+ diff --git a/test/testcases/tests/level1/core/files/hc_staff.xhtml b/test/testcases/tests/level1/core/files/hc_staff.xhtml new file mode 100644 index 0000000..16d4eb0 --- /dev/null +++ b/test/testcases/tests/level1/core/files/hc_staff.xhtml @@ -0,0 +1,60 @@ + + + + + + + + + + +]> + +hc_staff +

+ EMP0001 + Margaret Martin + Accountant + 56,000 + Female + 1230 North Ave. Dallas, Texas 98551 +

+

+ EMP0002 + Martha RaynoldsThis is a CDATASection with EntityReference number 2 &ent2; +This is an adjacent CDATASection with a reference to a tab &tab; + Secretary + 35,000 + Female + β Dallas, γ + 98554 +

+

+ EMP0003 + Roger + Jones + Department Manager + 100,000 + δ + PO Box 27 Irving, texas 98553 +

+

+ EMP0004 + Jeny Oconnor + Personnel Director + 95,000 + Female + 27 South Road. Dallas, Texas 98556 +

+

+ EMP0005 + Robert Myers + Computer Specialist + 90,000 + male + 1821 Nordic. Road, Irving Texas 98558 +

+ diff --git a/test/testcases/tests/level1/core/files/hc_staff.xml b/test/testcases/tests/level1/core/files/hc_staff.xml new file mode 100644 index 0000000..2df9a74 --- /dev/null +++ b/test/testcases/tests/level1/core/files/hc_staff.xml @@ -0,0 +1,60 @@ + + + + + + + + + + +]> + +hc_staff +

+ EMP0001 + Margaret Martin + Accountant + 56,000 + Female + 1230 North Ave. Dallas, Texas 98551 +

+

+ EMP0002 + Martha RaynoldsThis is a CDATASection with EntityReference number 2 &ent2; +This is an adjacent CDATASection with a reference to a tab &tab; + Secretary + 35,000 + Female + β Dallas, γ + 98554 +

+

+ EMP0003 + Roger + Jones + Department Manager + 100,000 + δ + PO Box 27 Irving, texas 98553 +

+

+ EMP0004 + Jeny Oconnor + Personnel Director + 95,000 + Female + 27 South Road. Dallas, Texas 98556 +

+

+ EMP0005 + Robert Myers + Computer Specialist + 90,000 + male + 1821 Nordic. Road, Irving Texas 98558 +

+ diff --git a/test/testcases/tests/level1/core/files/staff.dtd b/test/testcases/tests/level1/core/files/staff.dtd new file mode 100644 index 0000000..02a994d --- /dev/null +++ b/test/testcases/tests/level1/core/files/staff.dtd @@ -0,0 +1,17 @@ + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/files/staff.svg b/test/testcases/tests/level1/core/files/staff.svg new file mode 100644 index 0000000..77c9b5b --- /dev/null +++ b/test/testcases/tests/level1/core/files/staff.svg @@ -0,0 +1,72 @@ + + + + + Element data"> + + + + + + + + + + + + + +]> + + + + EMP0001 + Margaret Martin + Accountant + 56,000 + Female +
1230 North Ave. Dallas, Texas 98551
+
+ + EMP0002 + Martha RaynoldsThis is a CDATASection with EntityReference number 2 &ent2; +This is an adjacent CDATASection with a reference to a tab &tab; + Secretary + 35,000 + Female +
&ent2; Dallas, &ent3; + 98554
+
+ + EMP0003 + Roger + Jones + Department Manager + 100,000 + &ent4; +
PO Box 27 Irving, texas 98553
+
+ + EMP0004 + Jeny Oconnor + Personnel Director + 95,000 + Female +
27 South Road. Dallas, Texas 98556
+
+ + EMP0005 + Robert Myers + Computer Specialist + 90,000 + male +
1821 Nordic. Road, Irving Texas 98558
+
+
diff --git a/test/testcases/tests/level1/core/files/staff.xml b/test/testcases/tests/level1/core/files/staff.xml new file mode 100644 index 0000000..f89c510 --- /dev/null +++ b/test/testcases/tests/level1/core/files/staff.xml @@ -0,0 +1,57 @@ + + + + + Element data"> + + + + +]> + + + + EMP0001 + Margaret Martin + Accountant + 56,000 + Female +
1230 North Ave. Dallas, Texas 98551
+
+ + EMP0002 + Martha Raynolds + + Secretary + 35,000 + Female +
&ent2; Dallas, &ent3; + 98554
+
+ + EMP0003 + Roger + Jones + Department Manager + 100,000 + &ent4; +
PO Box 27 Irving, texas 98553
+
+ + EMP0004 + Jeny Oconnor + Personnel Director + 95,000 + Female +
27 South Road. Dallas, Texas 98556
+
+ + EMP0005 + Robert Myers + Computer Specialist + 90,000 + male +
1821 Nordic. Road, Irving Texas 98558
+
+
diff --git a/test/testcases/tests/level1/core/files/svgtest.js b/test/testcases/tests/level1/core/files/svgtest.js new file mode 100644 index 0000000..e69de29 diff --git a/test/testcases/tests/level1/core/files/svgunit.js b/test/testcases/tests/level1/core/files/svgunit.js new file mode 100644 index 0000000..e69de29 diff --git a/test/testcases/tests/level1/core/files/xhtml1-strict.dtd b/test/testcases/tests/level1/core/files/xhtml1-strict.dtd new file mode 100644 index 0000000..f3d0fba --- /dev/null +++ b/test/testcases/tests/level1/core/files/xhtml1-strict.dtd @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrappendchild1.xml b/test/testcases/tests/level1/core/hc_attrappendchild1.xml new file mode 100644 index 0000000..e1e669e --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrappendchild1.xml @@ -0,0 +1,63 @@ + + + + + +hc_attrappendchild1 +Curt Arnold + +Appends a text node to an attribute and checks if the value of +the attribute is changed. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrappendchild2.xml b/test/testcases/tests/level1/core/hc_attrappendchild2.xml new file mode 100644 index 0000000..793fb8a --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrappendchild2.xml @@ -0,0 +1,49 @@ + + + + + +hc_attrappendchild2 +Curt Arnold + +Attempts to append an element to the child nodes of an attribute. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrappendchild3.xml b/test/testcases/tests/level1/core/hc_attrappendchild3.xml new file mode 100644 index 0000000..89d826e --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrappendchild3.xml @@ -0,0 +1,72 @@ + + + + + +hc_attrappendchild3 +Curt Arnold + +Appends a document fragment to an attribute and checks if the value of +the attribute is changed. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrappendchild4.xml b/test/testcases/tests/level1/core/hc_attrappendchild4.xml new file mode 100644 index 0000000..f2bed28 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrappendchild4.xml @@ -0,0 +1,59 @@ + + + + + +hc_attrappendchild4 +Curt Arnold + +Attempt to append a CDATASection to an attribute which should result +in a HIERARCHY_REQUEST_ERR. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrappendchild5.xml b/test/testcases/tests/level1/core/hc_attrappendchild5.xml new file mode 100644 index 0000000..1dc2693 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrappendchild5.xml @@ -0,0 +1,54 @@ + + + + + +hc_attrappendchild5 +Curt Arnold + +Attempt to append a node from another document to an attribute which should result +in a WRONG_DOCUMENT_ERR. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrappendchild6.xml b/test/testcases/tests/level1/core/hc_attrappendchild6.xml new file mode 100644 index 0000000..d180bc3 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrappendchild6.xml @@ -0,0 +1,59 @@ + + + + + +hc_attrappendchild6 +Curt Arnold + +Creates an new attribute node and appends a text node. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrchildnodes1.xml b/test/testcases/tests/level1/core/hc_attrchildnodes1.xml new file mode 100644 index 0000000..3a1e911 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrchildnodes1.xml @@ -0,0 +1,51 @@ + + + + + +hc_attrchildnodes1 +Curt Arnold + +Checks that Node.childNodes for an attribute node contains +the expected text node. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrchildnodes2.xml b/test/testcases/tests/level1/core/hc_attrchildnodes2.xml new file mode 100644 index 0000000..b637567 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrchildnodes2.xml @@ -0,0 +1,59 @@ + + + + + +hc_attrchildnodes2 +Curt Arnold + +Checks Node.childNodes for an attribute with multiple child nodes. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrclonenode1.xml b/test/testcases/tests/level1/core/hc_attrclonenode1.xml new file mode 100644 index 0000000..ad9654f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrclonenode1.xml @@ -0,0 +1,63 @@ + + + + + +hc_attrclonenode1 +Curt Arnold + +Appends a text node to an attribute and clones the node. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrcreatedocumentfragment.xml b/test/testcases/tests/level1/core/hc_attrcreatedocumentfragment.xml new file mode 100644 index 0000000..a8026f9 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrcreatedocumentfragment.xml @@ -0,0 +1,58 @@ + + + + + +hc_attrcreatedocumentfragment +Curt Arnold + + Create a new DocumentFragment and add a newly created Element node(with one attribute). + Once the element is added, its attribute should be available as an attribute associated + with an Element within a DocumentFragment. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrcreatetextnode.xml b/test/testcases/tests/level1/core/hc_attrcreatetextnode.xml new file mode 100644 index 0000000..86532b3 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrcreatetextnode.xml @@ -0,0 +1,51 @@ + + + + + +hc_attrCreateTextNode +Curt Arnold + + The "setValue()" method for an attribute creates a + Text node with the unparsed content of the string. + Retrieve the attribute named "class" from the last + child of of the fourth employee and assign the "Y&ent1;" + string to its value attribute. This value is not yet + parsed and therefore should still be the same upon + retrieval. This test uses the "getNamedItem(name)" method + from the NamedNodeMap interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrcreatetextnode2.xml b/test/testcases/tests/level1/core/hc_attrcreatetextnode2.xml new file mode 100644 index 0000000..474a26b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrcreatetextnode2.xml @@ -0,0 +1,50 @@ + + + + + +hc_attrCreateTextNode2 +Curt Arnold + + The "setNodeValue()" method for an attribute creates a + Text node with the unparsed content of the string. + Retrieve the attribute named "class" from the last + child of of the fourth employee and assign the "Y&ent1;" + string to its value attribute. This value is not yet + parsed and therefore should still be the same upon + retrieval. This test uses the "getNamedItem(name)" method + from the NamedNodeMap interface. + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attreffectivevalue.xml b/test/testcases/tests/level1/core/hc_attreffectivevalue.xml new file mode 100644 index 0000000..c3dccba --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attreffectivevalue.xml @@ -0,0 +1,44 @@ + + + + + +hc_attrEffectiveValue +Curt Arnold + + If an Attr is explicitly assigned any value, then that value is the attributes effective value. + Retrieve the attribute named "domestic" from the last child of of the first employee + and examine its nodeValue attribute. This test uses the "getNamedItem(name)" method + from the NamedNodeMap interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrfirstchild.xml b/test/testcases/tests/level1/core/hc_attrfirstchild.xml new file mode 100644 index 0000000..0b19f35 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrfirstchild.xml @@ -0,0 +1,52 @@ + + + + + +hc_attrfirstchild +Curt Arnold + +Checks that Node.firstChild for an attribute node contains +the expected text node. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrgetvalue1.xml b/test/testcases/tests/level1/core/hc_attrgetvalue1.xml new file mode 100644 index 0000000..44344db --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrgetvalue1.xml @@ -0,0 +1,45 @@ + + + + + +hc_attrgetvalue1 +Curt Arnold + +Checks the value of an attribute that contains entity references. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrgetvalue2.xml b/test/testcases/tests/level1/core/hc_attrgetvalue2.xml new file mode 100644 index 0000000..1b05e58 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrgetvalue2.xml @@ -0,0 +1,61 @@ + + + + + +hc_attrgetvalue2 +Curt Arnold + +Checks the value of an attribute that contains entity references. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrhaschildnodes.xml b/test/testcases/tests/level1/core/hc_attrhaschildnodes.xml new file mode 100644 index 0000000..9be5864 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrhaschildnodes.xml @@ -0,0 +1,43 @@ + + + + + +hc_attrhaschildnodes +Curt Arnold + +Checks that Node.hasChildNodes() is true for an attribute with content. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrinsertbefore1.xml b/test/testcases/tests/level1/core/hc_attrinsertbefore1.xml new file mode 100644 index 0000000..f36124e --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrinsertbefore1.xml @@ -0,0 +1,72 @@ + + + + + +hc_attrinsertbefore1 +Curt Arnold + +Appends a text node to an attribute and checks if the value of +the attribute is changed. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrinsertbefore2.xml b/test/testcases/tests/level1/core/hc_attrinsertbefore2.xml new file mode 100644 index 0000000..ae51d42 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrinsertbefore2.xml @@ -0,0 +1,71 @@ + + + + + +hc_attrinsertbefore2 +Curt Arnold + +Prepends a text node to an attribute and checks if the value of +the attribute is changed. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrinsertbefore3.xml b/test/testcases/tests/level1/core/hc_attrinsertbefore3.xml new file mode 100644 index 0000000..1d3e0ff --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrinsertbefore3.xml @@ -0,0 +1,79 @@ + + + + + +hc_attrinsertbefore3 +Curt Arnold + +Appends a document fragment to an attribute and checks if the value of +the attribute is changed. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrinsertbefore4.xml b/test/testcases/tests/level1/core/hc_attrinsertbefore4.xml new file mode 100644 index 0000000..0640396 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrinsertbefore4.xml @@ -0,0 +1,81 @@ + + + + + +hc_attrinsertbefore4 +Curt Arnold + +Prepends a document fragment to an attribute and checks if the value of +the attribute is changed. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrinsertbefore5.xml b/test/testcases/tests/level1/core/hc_attrinsertbefore5.xml new file mode 100644 index 0000000..71a3029 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrinsertbefore5.xml @@ -0,0 +1,60 @@ + + + + + +hc_attrinsertbefore5 +Curt Arnold + +Attempt to append a CDATASection to an attribute which should result +in a HIERARCHY_REQUEST_ERR. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrinsertbefore6.xml b/test/testcases/tests/level1/core/hc_attrinsertbefore6.xml new file mode 100644 index 0000000..a6347e6 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrinsertbefore6.xml @@ -0,0 +1,53 @@ + + + + + +hc_attrinsertbefore6 +Curt Arnold + +Attempt to append a text node from another document to an attribute which should result +in a WRONG_DOCUMENT_ERR. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrinsertbefore7.xml b/test/testcases/tests/level1/core/hc_attrinsertbefore7.xml new file mode 100644 index 0000000..e60045f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrinsertbefore7.xml @@ -0,0 +1,69 @@ + + + + + +hc_attrinsertbefore7 +Curt Arnold + +Appends a document fragment containing a CDATASection to an attribute. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrlastchild.xml b/test/testcases/tests/level1/core/hc_attrlastchild.xml new file mode 100644 index 0000000..60319ab --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrlastchild.xml @@ -0,0 +1,52 @@ + + + + + +hc_attrlastchild +Curt Arnold + +Checks that Node.lastChild for an attribute node contains +the expected text node. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrname.xml b/test/testcases/tests/level1/core/hc_attrname.xml new file mode 100644 index 0000000..30de522 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrname.xml @@ -0,0 +1,48 @@ + + + + + +hc_attrName +Curt Arnold + + Retrieve the attribute named class from the last + child of of the second "p" element and examine its + NodeName. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrnextsiblingnull.xml b/test/testcases/tests/level1/core/hc_attrnextsiblingnull.xml new file mode 100644 index 0000000..44e0678 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrnextsiblingnull.xml @@ -0,0 +1,44 @@ + + + + + +hc_attrNextSiblingNull +Curt Arnold + +The "getNextSibling()" method for an Attr node should return null. +Retrieve the attribute named "domestic" from the last child of of the +first employee and examine its NextSibling node. This test uses the +"getNamedItem(name)" method from the NamedNodeMap interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrnormalize.xml b/test/testcases/tests/level1/core/hc_attrnormalize.xml new file mode 100644 index 0000000..bc5a892 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrnormalize.xml @@ -0,0 +1,65 @@ + + + + + +hc_attrnormalize +Curt Arnold + +Appends a text node to an attribute, normalizes the attribute +and checks for a single child node. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrparentnodenull.xml b/test/testcases/tests/level1/core/hc_attrparentnodenull.xml new file mode 100644 index 0000000..1ad351d --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrparentnodenull.xml @@ -0,0 +1,44 @@ + + + + + +hc_attrParentNodeNull +Curt Arnold + +The "getParentNode()" method for an Attr node should return null. Retrieve +the attribute named "domestic" from the last child of the first employee +and examine its parentNode attribute. This test also uses the "getNamedItem(name)" +method from the NamedNodeMap interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrprevioussiblingnull.xml b/test/testcases/tests/level1/core/hc_attrprevioussiblingnull.xml new file mode 100644 index 0000000..bd7c262 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrprevioussiblingnull.xml @@ -0,0 +1,44 @@ + + + + + +hc_attrPreviousSiblingNull +Curt Arnold + +The "getPreviousSibling()" method for an Attr node should return null. +Retrieve the attribute named "domestic" from the last child of of the +first employee and examine its PreviousSibling node. This test uses the +"getNamedItem(name)" method from the NamedNodeMap interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrremovechild1.xml b/test/testcases/tests/level1/core/hc_attrremovechild1.xml new file mode 100644 index 0000000..748d8e7 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrremovechild1.xml @@ -0,0 +1,62 @@ + + + + + +hc_attrremovechild1 +Curt Arnold + +Removes the child node of an attribute and checks that the value is empty. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrremovechild2.xml b/test/testcases/tests/level1/core/hc_attrremovechild2.xml new file mode 100644 index 0000000..b47726b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrremovechild2.xml @@ -0,0 +1,49 @@ + + + + + +hc_attrremovechild2 +Curt Arnold + +Attempts to remove a freshly created text node which should result in a NOT_FOUND_ERR exception. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrreplacechild1.xml b/test/testcases/tests/level1/core/hc_attrreplacechild1.xml new file mode 100644 index 0000000..c648e5d --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrreplacechild1.xml @@ -0,0 +1,65 @@ + + + + + +hc_attrreplacechild1 +Curt Arnold + +Replaces a text node of an attribute and checks if the value of +the attribute is changed. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrreplacechild2.xml b/test/testcases/tests/level1/core/hc_attrreplacechild2.xml new file mode 100644 index 0000000..b337a3b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrreplacechild2.xml @@ -0,0 +1,74 @@ + + + + + +hc_attrreplacechild2 +Curt Arnold + +Replaces a text node of an attribute with a document fragment and checks if the value of +the attribute is changed. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrsetvalue1.xml b/test/testcases/tests/level1/core/hc_attrsetvalue1.xml new file mode 100644 index 0000000..93afe76 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrsetvalue1.xml @@ -0,0 +1,68 @@ + + + + + +hc_attrsetvalue1 +Curt Arnold + +Sets Attr.value on an attribute that only has a simple value. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrsetvalue2.xml b/test/testcases/tests/level1/core/hc_attrsetvalue2.xml new file mode 100644 index 0000000..d0f9589 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrsetvalue2.xml @@ -0,0 +1,71 @@ + + + + + +hc_attrsetvalue2 +Curt Arnold + +Sets Attr.value on an attribute that should contain multiple child nodes. + + +2004-01-01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrspecifiedvalue.xml b/test/testcases/tests/level1/core/hc_attrspecifiedvalue.xml new file mode 100644 index 0000000..55a9647 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrspecifiedvalue.xml @@ -0,0 +1,45 @@ + + + + + +hc_attrSpecifiedValue +Curt Arnold + + The "getSpecified()" method for an Attr node should + be set to true if the attribute was explicitly given + a value. + Retrieve the attribute named "domestic" from the last + child of of the first employee and examine the value + returned by the "getSpecified()" method. This test uses + the "getNamedItem(name)" method from the NamedNodeMap + interface. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_attrspecifiedvaluechanged.xml b/test/testcases/tests/level1/core/hc_attrspecifiedvaluechanged.xml new file mode 100644 index 0000000..4f0c703 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_attrspecifiedvaluechanged.xml @@ -0,0 +1,47 @@ + + + + + +hc_attrSpecifiedValueChanged +Curt Arnold + + The "getSpecified()" method for an Attr node should return true if the + value of the attribute is changed. + Retrieve the attribute named "class" from the last + child of of the THIRD employee and change its + value to "Yes"(which is the default DTD value). This + should cause the "getSpecified()" method to be true. + This test uses the "setAttribute(name,value)" method + from the Element interface and the "getNamedItem(name)" + method from the NamedNodeMap interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataappenddata.xml b/test/testcases/tests/level1/core/hc_characterdataappenddata.xml new file mode 100644 index 0000000..d1e3a28 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataappenddata.xml @@ -0,0 +1,48 @@ + + + + + +hc_characterdataAppendData +Curt Arnold + + The "appendData(arg)" method appends a string to the end + of the character data of the node. + + Retrieve the character data from the second child + of the first employee. The appendData(arg) method is + called with arg=", Esquire". The method should append + the specified data to the already existing character + data. The new value return by the "getLength()" method + should be 24. + + +2002-06-09 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataappenddatagetdata.xml b/test/testcases/tests/level1/core/hc_characterdataappenddatagetdata.xml new file mode 100644 index 0000000..5a861d1 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataappenddatagetdata.xml @@ -0,0 +1,47 @@ + + + + + +hc_characterdataAppendDataGetData +Curt Arnold + + On successful invocation of the "appendData(arg)" + method the "getData()" method provides access to the + concatentation of data and the specified string. + + Retrieve the character data from the second child + of the first employee. The appendData(arg) method is + called with arg=", Esquire". The method should append + the specified data to the already existing character + data. The new value return by the "getData()" method + should be "Margaret Martin, Esquire". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatadeletedatabegining.xml b/test/testcases/tests/level1/core/hc_characterdatadeletedatabegining.xml new file mode 100644 index 0000000..5fb3027 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatadeletedatabegining.xml @@ -0,0 +1,45 @@ + + + + +hc_characterdataDeleteDataBeginning +Curt Arnold + +The "deleteData(offset,count)" method removes a range of +characters from the node. Delete data at the beginning +of the character data. + +Retrieve the character data from the last child of the +first employee. The "deleteData(offset,count)" +method is then called with offset=0 and count=16. +The method should delete the characters from position +0 thru position 16. The new value of the character data +should be "Dallas, Texas 98551". + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatadeletedataend.xml b/test/testcases/tests/level1/core/hc_characterdatadeletedataend.xml new file mode 100644 index 0000000..04dea1b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatadeletedataend.xml @@ -0,0 +1,47 @@ + + + + + +hc_characterdataDeleteDataEnd +Curt Arnold + + The "deleteData(offset,count)" method removes a range of + characters from the node. Delete data at the end + of the character data. + + Retrieve the character data from the last child of the + first employee. The "deleteData(offset,count)" + method is then called with offset=30 and count=5. + The method should delete the characters from position + 30 thru position 35. The new value of the character data + should be "1230 North Ave. Dallas, Texas". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatadeletedataexceedslength.xml b/test/testcases/tests/level1/core/hc_characterdatadeletedataexceedslength.xml new file mode 100644 index 0000000..a76bb58 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatadeletedataexceedslength.xml @@ -0,0 +1,49 @@ + + + + + +hc_characterdataDeleteDataExceedsLength +Curt Arnold + + If the sum of the offset and count used in the + "deleteData(offset,count) method is greater than the + length of the character data then all the characters + from the offset to the end of the data are deleted. + + Retrieve the character data from the last child of the + first employee. The "deleteData(offset,count)" + method is then called with offset=4 and count=50. + The method should delete the characters from position 4 + to the end of the data since the offset+count(50+4) + is greater than the length of the character data(35). + The new value of the character data should be "1230". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatadeletedatagetlengthanddata.xml b/test/testcases/tests/level1/core/hc_characterdatadeletedatagetlengthanddata.xml new file mode 100644 index 0000000..b241f9f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatadeletedatagetlengthanddata.xml @@ -0,0 +1,54 @@ + + + + + +hc_characterdataDeleteDataGetLengthAndData +Curt Arnold + + On successful invocation of the "deleteData(offset,count)" + method, the "getData()" and "getLength()" methods reflect + the changes. + + Retrieve the character data from the last child of the + first employee. The "deleteData(offset,count)" + method is then called with offset=30 and count=5. + The method should delete the characters from position + 30 thru position 35. The new value of the character data + should be "1230 North Ave. Dallas, Texas" which is + returned by the "getData()" method and "getLength()" + method should return 30". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatadeletedatamiddle.xml b/test/testcases/tests/level1/core/hc_characterdatadeletedatamiddle.xml new file mode 100644 index 0000000..a7f55f8 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatadeletedatamiddle.xml @@ -0,0 +1,47 @@ + + + + + +hc_characterdataDeleteDataMiddle +Curt Arnold + + The "deleteData(offset,count)" method removes a range of + characters from the node. Delete data in the middle + of the character data. + + Retrieve the character data from the last child of the + first employee. The "deleteData(offset,count)" + method is then called with offset=16 and count=8. + The method should delete the characters from position + 16 thru position 24. The new value of the character data + should be "1230 North Ave. Texas 98551". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatagetdata.xml b/test/testcases/tests/level1/core/hc_characterdatagetdata.xml new file mode 100644 index 0000000..6841b7e --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatagetdata.xml @@ -0,0 +1,48 @@ + + + + + +hc_characterdataGetData +Curt Arnold + + + The "getData()" method retrieves the character data + + currently stored in the node. + + Retrieve the character data from the second child + + of the first employee and invoke the "getData()" + + method. The method returns the character data + + string. + + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatagetlength.xml b/test/testcases/tests/level1/core/hc_characterdatagetlength.xml new file mode 100644 index 0000000..2c15f87 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatagetlength.xml @@ -0,0 +1,43 @@ + + + + + +hc_characterdataGetLength +Curt Arnold + + The "getLength()" method returns the number of characters + stored in this nodes data. + Retrieve the character data from the second + child of the first employee and examine the + value returned by the getLength() method. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedatacountnegative.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedatacountnegative.xml new file mode 100644 index 0000000..f122d15 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedatacountnegative.xml @@ -0,0 +1,49 @@ + + + + + +hc_characterdataIndexSizeErrDeleteDataCountNegative +Curt Arnold + + The "deleteData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified count + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its "deleteData(offset,count)" + method with offset=10 and count=-3. It should raise the + desired exception since the count is negative. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedataoffsetgreater.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedataoffsetgreater.xml new file mode 100644 index 0000000..e6b91e3 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedataoffsetgreater.xml @@ -0,0 +1,50 @@ + + + + + +hc_characterdataIndexSizeErrDeleteDataOffsetGreater +Curt Arnold + + The "deleteData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is greater that the number of characters in the string. + + Retrieve the character data of the last child of the + first employee and invoke its "deleteData(offset,count)" + method with offset=40 and count=3. It should raise the + desired exception since the offset is greater than the + number of characters in the string. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedataoffsetnegative.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedataoffsetnegative.xml new file mode 100644 index 0000000..6c0042b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedataoffsetnegative.xml @@ -0,0 +1,49 @@ + + + + + +hc_characterdataIndexSizeErrDeleteDataOffsetNegative +Curt Arnold + + The "deleteData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its "deleteData(offset,count)" + method with offset=-5 and count=3. It should raise the + desired exception since the offset is negative. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrinsertdataoffsetgreater.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrinsertdataoffsetgreater.xml new file mode 100644 index 0000000..ffc7022 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrinsertdataoffsetgreater.xml @@ -0,0 +1,49 @@ + + + + + +hc_characterdataIndexSizeErrInsertDataOffsetGreater +Curt Arnold + + The "insertData(offset,arg)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is greater than the number of characters in the string. + + Retrieve the character data of the last child of the + first employee and invoke its insertData"(offset,arg)" + method with offset=40 and arg="ABC". It should raise + the desired exception since the offset is greater than + the number of characters in the string. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrinsertdataoffsetnegative.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrinsertdataoffsetnegative.xml new file mode 100644 index 0000000..b182153 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrinsertdataoffsetnegative.xml @@ -0,0 +1,48 @@ + + + + + +hc_characterdataIndexSizeErrInsertDataOffsetNegative +Curt Arnold + + The "insertData(offset,arg)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its insertData"(offset,arg)" + method with offset=-5 and arg="ABC". It should raise + the desired exception since the offset is negative. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedatacountnegative.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedatacountnegative.xml new file mode 100644 index 0000000..28f86ff --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedatacountnegative.xml @@ -0,0 +1,50 @@ + + + + + +hc_characterdataIndexSizeErrReplaceDataCountNegative +Curt Arnold + + The "replaceData(offset,count,arg)" method raises an + INDEX_SIZE_ERR DOMException if the specified count + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its + "replaceData(offset,count,arg) method with offset=10 + and count=-3 and arg="ABC". It should raise the + desired exception since the count is negative. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedataoffsetgreater.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedataoffsetgreater.xml new file mode 100644 index 0000000..7a637d9 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedataoffsetgreater.xml @@ -0,0 +1,50 @@ + + + + + +hc_characterdataIndexSizeErrReplaceDataOffsetGreater +Curt Arnold + + The "replaceData(offset,count,arg)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is greater than the length of the string. + + Retrieve the character data of the last child of the + first employee and invoke its + "replaceData(offset,count,arg) method with offset=40 + and count=3 and arg="ABC". It should raise the + desired exception since the offset is greater than the + length of the string. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedataoffsetnegative.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedataoffsetnegative.xml new file mode 100644 index 0000000..2da064f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedataoffsetnegative.xml @@ -0,0 +1,50 @@ + + + + + +hc_characterdataIndexSizeErrReplaceDataOffsetNegative +Curt Arnold + + The "replaceData(offset,count,arg)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its + "replaceData(offset,count,arg) method with offset=-5 + and count=3 and arg="ABC". It should raise the + desired exception since the offset is negative. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringcountnegative.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringcountnegative.xml new file mode 100644 index 0000000..7400e58 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringcountnegative.xml @@ -0,0 +1,49 @@ + + + + + +hc_characterdataIndexSizeErrSubstringCountNegative +Curt Arnold + + The "substringData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified count + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its "substringData(offset,count) + method with offset=10 and count=-3. It should raise the + desired exception since the count is negative. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringnegativeoffset.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringnegativeoffset.xml new file mode 100644 index 0000000..382330b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringnegativeoffset.xml @@ -0,0 +1,49 @@ + + + + + +hc_characterdataIndexSizeErrSubstringNegativeOffset +Curt Arnold + + The "substringData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is negative. + + Retrieve the character data of the last child of the + first employee and invoke its "substringData(offset,count) + method with offset=-5 and count=3. It should raise the + desired exception since the offset is negative. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringoffsetgreater.xml b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringoffsetgreater.xml new file mode 100644 index 0000000..702db8b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringoffsetgreater.xml @@ -0,0 +1,50 @@ + + + + + +hc_characterdataIndexSizeErrSubstringOffsetGreater +Curt Arnold + + The "substringData(offset,count)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset + is greater than the number of characters in the string. + + Retrieve the character data of the last child of the + first employee and invoke its "substringData(offset,count) + method with offset=40 and count=3. It should raise the + desired exception since the offsets value is greater + than the length. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatainsertdatabeginning.xml b/test/testcases/tests/level1/core/hc_characterdatainsertdatabeginning.xml new file mode 100644 index 0000000..0df7aaf --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatainsertdatabeginning.xml @@ -0,0 +1,46 @@ + + + + +hc_characterdataInsertDataBeginning +Curt Arnold + +The "insertData(offset,arg)" method will insert a string +at the specified character offset. Insert the data at +the beginning of the character data. + +Retrieve the character data from the second child of +the first employee. The "insertData(offset,arg)" +method is then called with offset=0 and arg="Mss.". +The method should insert the string "Mss." at position 0. +The new value of the character data should be +"Mss. Margaret Martin". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatainsertdataend.xml b/test/testcases/tests/level1/core/hc_characterdatainsertdataend.xml new file mode 100644 index 0000000..9e0bcc2 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatainsertdataend.xml @@ -0,0 +1,47 @@ + + + + + +hc_characterdataInsertDataEnd +Curt Arnold + + The "insertData(offset,arg)" method will insert a string + at the specified character offset. Insert the data at + the end of the character data. + + Retrieve the character data from the second child of + the first employee. The "insertData(offset,arg)" + method is then called with offset=15 and arg=", Esquire". + The method should insert the string ", Esquire" at + position 15. The new value of the character data should + be "Margaret Martin, Esquire". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatainsertdatamiddle.xml b/test/testcases/tests/level1/core/hc_characterdatainsertdatamiddle.xml new file mode 100644 index 0000000..9c4d6a5 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatainsertdatamiddle.xml @@ -0,0 +1,47 @@ + + + + + +hc_characterdataInsertDataMiddle +Curt Arnold + + The "insertData(offset,arg)" method will insert a string + at the specified character offset. Insert the data in + the middle of the character data. + + Retrieve the character data from the second child of + the first employee. The "insertData(offset,arg)" + method is then called with offset=9 and arg="Ann". + The method should insert the string "Ann" at position 9. + The new value of the character data should be + "Margaret Ann Martin". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatareplacedatabegining.xml b/test/testcases/tests/level1/core/hc_characterdatareplacedatabegining.xml new file mode 100644 index 0000000..64e3bad --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatareplacedatabegining.xml @@ -0,0 +1,46 @@ + + + + +hc_characterdataReplaceDataBeginning +Curt Arnold + +The "replaceData(offset,count,arg)" method replaces the +characters starting at the specified offset with the +specified string. Test for replacement in the +middle of the data. + +Retrieve the character data from the last child of the +first employee. The "replaceData(offset,count,arg)" +method is then called with offset=5 and count=5 and +arg="South". The method should replace characters five +thru 9 of the character data with "South". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatareplacedataend.xml b/test/testcases/tests/level1/core/hc_characterdatareplacedataend.xml new file mode 100644 index 0000000..23d1163 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatareplacedataend.xml @@ -0,0 +1,47 @@ + + + + + +hc_characterdataReplaceDataEnd +Curt Arnold + + The "replaceData(offset,count,arg)" method replaces the + characters starting at the specified offset with the + specified string. Test for replacement at the + end of the data. + + Retrieve the character data from the last child of the + first employee. The "replaceData(offset,count,arg)" + method is then called with offset=30 and count=5 and + arg="98665". The method should replace characters 30 + thru 34 of the character data with "98665". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatareplacedataexceedslengthofarg.xml b/test/testcases/tests/level1/core/hc_characterdatareplacedataexceedslengthofarg.xml new file mode 100644 index 0000000..36ee700 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatareplacedataexceedslengthofarg.xml @@ -0,0 +1,48 @@ + + + + + +hc_characterdataReplaceDataExceedsLengthOfArg +Curt Arnold + + The "replaceData(offset,count,arg)" method replaces the + characters starting at the specified offset with the + specified string. Test the situation where the length + of the arg string is greater than the specified offset. + + Retrieve the character data from the last child of the + first employee. The "replaceData(offset,count,arg)" + method is then called with offset=0 and count=4 and + arg="260030". The method should replace characters one + thru four with "260030". Note that the length of the + specified string is greater that the specified offset. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatareplacedataexceedslengthofdata.xml b/test/testcases/tests/level1/core/hc_characterdatareplacedataexceedslengthofdata.xml new file mode 100644 index 0000000..fa03bd5 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatareplacedataexceedslengthofdata.xml @@ -0,0 +1,46 @@ + + + + + +hc_characterdataReplaceDataExceedsLengthOfData +Curt Arnold + + If the sum of the offset and count exceeds the length then + all the characters to the end of the data are replaced. + + Retrieve the character data from the last child of the + first employee. The "replaceData(offset,count,arg)" + method is then called with offset=0 and count=50 and + arg="2600". The method should replace all the characters + with "2600". This is because the sum of the offset and + count exceeds the length of the character data. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatareplacedatamiddle.xml b/test/testcases/tests/level1/core/hc_characterdatareplacedatamiddle.xml new file mode 100644 index 0000000..d93000b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatareplacedatamiddle.xml @@ -0,0 +1,47 @@ + + + + + +hc_characterdataReplaceDataMiddle +Curt Arnold + + The "replaceData(offset,count,arg)" method replaces the + characters starting at the specified offset with the + specified string. Test for replacement in the + middle of the data. + + Retrieve the character data from the last child of the + first employee. The "replaceData(offset,count,arg)" + method is then called with offset=5 and count=5 and + arg="South". The method should replace characters five + thru 9 of the character data with "South". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatasetnodevalue.xml b/test/testcases/tests/level1/core/hc_characterdatasetnodevalue.xml new file mode 100644 index 0000000..3f0a88f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatasetnodevalue.xml @@ -0,0 +1,43 @@ + + + + + +hc_characterdataSetNodeValue +Curt Arnold + + The "setNodeValue()" method changes the character data + currently stored in the node. + Retrieve the character data from the second child + of the first employee and invoke the "setNodeValue()" + method, call "getData()" and compare. + +2002-06-09 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatasubstringexceedsvalue.xml b/test/testcases/tests/level1/core/hc_characterdatasubstringexceedsvalue.xml new file mode 100644 index 0000000..0651a6d --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatasubstringexceedsvalue.xml @@ -0,0 +1,46 @@ + + + + + +hc_characterdataSubStringExceedsValue +Curt Arnold + + If the sum of the "offset" and "count" exceeds the + "length" then the "substringData(offset,count)" method + returns all the characters to the end of the data. + + Retrieve the character data from the second child + of the first employee and access part of the data + by using the substringData(offset,count) method + with offset=9 and count=10. The method should return + the substring "Martin" since offset+count > length + (19 > 15). + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_characterdatasubstringvalue.xml b/test/testcases/tests/level1/core/hc_characterdatasubstringvalue.xml new file mode 100644 index 0000000..477ac20 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_characterdatasubstringvalue.xml @@ -0,0 +1,45 @@ + + + + + +hc_characterdataSubStringValue +Curt Arnold + + The "substringData(offset,count)" method returns the + specified string. + + Retrieve the character data from the second child + of the first employee and access part of the data + by using the substringData(offset,count) method. The + method should return the specified substring starting + at position "offset" and extract "count" characters. + The method should return the string "Margaret". + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_commentgetcomment.xml b/test/testcases/tests/level1/core/hc_commentgetcomment.xml new file mode 100644 index 0000000..b0f3eca --- /dev/null +++ b/test/testcases/tests/level1/core/hc_commentgetcomment.xml @@ -0,0 +1,61 @@ + + + + + +hc_commentgetcomment +Curt Arnold + + A comment is all the characters between the starting + '<!--' and ending '-->' + Retrieve the nodes of the DOM document. Search for a + comment node and the content is its value. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentcreateattribute.xml b/test/testcases/tests/level1/core/hc_documentcreateattribute.xml new file mode 100644 index 0000000..67a2f34 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentcreateattribute.xml @@ -0,0 +1,45 @@ + + + + + +hc_documentcreateattribute +Curt Arnold + + Retrieve the entire DOM document and invoke its + "createAttribute(name)" method. It should create a + new Attribute node with the given name. The name, value + and type of the newly created object are retrieved and + output. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentcreatecomment.xml b/test/testcases/tests/level1/core/hc_documentcreatecomment.xml new file mode 100644 index 0000000..106fa06 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentcreatecomment.xml @@ -0,0 +1,43 @@ + + + + + +hc_documentCreateComment +Curt Arnold + + The "createComment(data)" method creates a new Comment + node given the specified string. + Retrieve the entire DOM document and invoke its + "createComment(data)" method. It should create a new + Comment node whose "data" is the specified string. + The content, name and type are retrieved and output. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentcreatedocumentfragment.xml b/test/testcases/tests/level1/core/hc_documentcreatedocumentfragment.xml new file mode 100644 index 0000000..b4bb21a --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentcreatedocumentfragment.xml @@ -0,0 +1,47 @@ + + + + + +hc_documentCreateDocumentFragment +Curt Arnold + + The "createDocumentFragment()" method creates an empty + DocumentFragment object. + Retrieve the entire DOM document and invoke its + "createDocumentFragment()" method. The content, name, + type and value of the newly created object are output. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentcreateelement.xml b/test/testcases/tests/level1/core/hc_documentcreateelement.xml new file mode 100644 index 0000000..6204b3a --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentcreateelement.xml @@ -0,0 +1,44 @@ + + + + + +hc_documentCreateElement +Curt Arnold + + The "createElement(tagName)" method creates an Element + of the type specified. + Retrieve the entire DOM document and invoke its + "createElement(tagName)" method with tagName="acronym". + The method should create an instance of an Element node + whose tagName is "acronym". The NodeName, NodeType + and NodeValue are returned. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentcreateelementcasesensitive.xml b/test/testcases/tests/level1/core/hc_documentcreateelementcasesensitive.xml new file mode 100644 index 0000000..62051cf --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentcreateelementcasesensitive.xml @@ -0,0 +1,56 @@ + + + + + +hc_documentCreateElementCaseSensitive +Curt Arnold + + The tagName parameter in the "createElement(tagName)" + method is case-sensitive for XML documents. + Retrieve the entire DOM document and invoke its + "createElement(tagName)" method twice. Once for tagName + equal to "acronym" and once for tagName equal to "ACRONYM" + Each call should create a distinct Element node. The + newly created Elements are then assigned attributes + that are retrieved. + + Modified on 27 June 2003 to avoid setting an invalid style + values and checked the node names to see if they matched expectations. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentcreatetextnode.xml b/test/testcases/tests/level1/core/hc_documentcreatetextnode.xml new file mode 100644 index 0000000..94bed5c --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentcreatetextnode.xml @@ -0,0 +1,43 @@ + + + + + +hc_documentCreateTextNode +Curt Arnold + + The "createTextNode(data)" method creates a Text node + given the specfied string. + Retrieve the entire DOM document and invoke its + "createTextNode(data)" method. It should create a + new Text node whose "data" is the specified string. + The NodeName and NodeType are also checked. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentgetdoctype.xml b/test/testcases/tests/level1/core/hc_documentgetdoctype.xml new file mode 100644 index 0000000..34ffaf5 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentgetdoctype.xml @@ -0,0 +1,49 @@ + + + + + +hc_documentgetdoctype +Curt Arnold + +Access Document.doctype for hc_staff, if not text/html should return DocumentType node. +HTML implementations may return null. + +2004-01-27 + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentgetelementsbytagnamelength.xml b/test/testcases/tests/level1/core/hc_documentgetelementsbytagnamelength.xml new file mode 100644 index 0000000..d92ebae --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentgetelementsbytagnamelength.xml @@ -0,0 +1,36 @@ + + + + + +hc_documentGetElementsByTagNameLength +Curt Arnold + + The "getElementsByTagName(tagName)" method returns a + NodeList of all the Elements with a given tagName. + + Retrieve the entire DOM document and invoke its + "getElementsByTagName(tagName)" method with tagName + equal to "strong". The method should return a NodeList + that contains 5 elements. + + +2002-06-09 + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentgetelementsbytagnametotallength.xml b/test/testcases/tests/level1/core/hc_documentgetelementsbytagnametotallength.xml new file mode 100644 index 0000000..7f290be --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentgetelementsbytagnametotallength.xml @@ -0,0 +1,135 @@ + + + + + +hc_documentgetelementsbytagnametotallength +Curt Arnold + + Retrieve the entire DOM document and invoke its + "getElementsByTagName(tagName)" method with tagName + equal to "*". The method should return a NodeList + that contains all the elements of the document. + + +2002-06-09 + + + + + + + "html" + "head" + "meta" + "title" + "script" + "script" + "script" + "body" + "p" + "em" + "strong" + "code" + "sup" + "var" + "acronym" + "p" + "em" + "strong" + "code" + "sup" + "var" + "acronym" + "p" + "em" + "strong" + "code" + "sup" + "var" + "acronym" + "p" + "em" + "strong" + "code" + "sup" + "var" + "acronym" + "p" + "em" + "strong" + "code" + "sup" + "var" + "acronym" + + + "svg" + "rect" + "script" + "head" + "meta" + "title" + "body" + "p" + "em" + "strong" + "code" + "sup" + "var" + "acronym" + "p" + "em" + "strong" + "code" + "sup" + "var" + "acronym" + "p" + "em" + "strong" + "code" + "sup" + "var" + "acronym" + "p" + "em" + "strong" + "code" + "sup" + "var" + "acronym" + "p" + "em" + "strong" + "code" + "sup" + "var" + "acronym" + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentgetelementsbytagnamevalue.xml b/test/testcases/tests/level1/core/hc_documentgetelementsbytagnamevalue.xml new file mode 100644 index 0000000..77d7e9d --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentgetelementsbytagnamevalue.xml @@ -0,0 +1,44 @@ + + + + + +hc_documentGetElementsByTagNameValue +Curt Arnold + + The "getElementsByTagName(tagName)" method returns a + NodeList of all the Elements with a given tagName + in a pre-order traversal of the tree. + + Retrieve the entire DOM document and invoke its + "getElementsByTagName(tagName)" method with tagName + equal to "strong". The method should return a NodeList + that contains 5 elements. The FOURTH item in the + list is retrieved and output. + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentgetimplementation.xml b/test/testcases/tests/level1/core/hc_documentgetimplementation.xml new file mode 100644 index 0000000..bfdf26b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentgetimplementation.xml @@ -0,0 +1,44 @@ + + + + + +hc_documentgetimplementation +Curt Arnold + + Retrieve the entire DOM document and invoke its + "getImplementation()" method. If contentType="text/html", + DOMImplementation.hasFeature("HTML","1.0") should be true. + Otherwise, DOMImplementation.hasFeature("XML", "1.0") + should be true. + + +2002-06-09 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentgetrootnode.xml b/test/testcases/tests/level1/core/hc_documentgetrootnode.xml new file mode 100644 index 0000000..6e8dec8 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentgetrootnode.xml @@ -0,0 +1,40 @@ + + + + + +hc_documentgetrootnode +Curt Arnold + + Load a document and invoke its + "getDocumentElement()" method. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateattribute.xml b/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateattribute.xml new file mode 100644 index 0000000..0a73b4e --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateattribute.xml @@ -0,0 +1,44 @@ + + + + + +hc_documentInvalidCharacterExceptionCreateAttribute +Curt Arnold + + The "createAttribute(tagName)" method raises an + INVALID_CHARACTER_ERR DOMException if the specified + tagName contains an invalid character. + + Retrieve the entire DOM document and invoke its + "createAttribute(tagName)" method with the tagName equal + to the string "invalid^Name". Due to the invalid + character the desired EXCEPTION should be raised. + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateattribute1.xml b/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateattribute1.xml new file mode 100644 index 0000000..e9b70f8 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateattribute1.xml @@ -0,0 +1,36 @@ + + + + + +hc_documentinvalidcharacterexceptioncreateattribute1 +Curt Arnold + +Creating an attribute with an empty name should cause an INVALID_CHARACTER_ERR. + +2004-03-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateelement.xml b/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateelement.xml new file mode 100644 index 0000000..9adca61 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateelement.xml @@ -0,0 +1,44 @@ + + + + + +hc_documentInvalidCharacterExceptionCreateElement +Curt Arnold + + The "createElement(tagName)" method raises an + INVALID_CHARACTER_ERR DOMException if the specified + tagName contains an invalid character. + + Retrieve the entire DOM document and invoke its + "createElement(tagName)" method with the tagName equal + to the string "invalid^Name". Due to the invalid + character the desired EXCEPTION should be raised. + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateelement1.xml b/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateelement1.xml new file mode 100644 index 0000000..3f0bc53 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateelement1.xml @@ -0,0 +1,36 @@ + + + + + +hc_documentinvalidcharacterexceptioncreateelement1 +Curt Arnold + +Creating an element with an empty name should cause an INVALID_CHARACTER_ERR. + +2004-03-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_domimplementationfeaturenoversion.xml b/test/testcases/tests/level1/core/hc_domimplementationfeaturenoversion.xml new file mode 100644 index 0000000..9fbec5a --- /dev/null +++ b/test/testcases/tests/level1/core/hc_domimplementationfeaturenoversion.xml @@ -0,0 +1,44 @@ + + + + + +hc_domimplementationfeaturenoversion +Curt Arnold + + Load a document and invoke its + "getImplementation()" method. This should create a + DOMImplementation object whose "hasFeature(feature, + version)" method is invoked with version equal to "". + If the version is not specified, supporting any version + feature will cause the method to return "true". + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_domimplementationfeaturenull.xml b/test/testcases/tests/level1/core/hc_domimplementationfeaturenull.xml new file mode 100644 index 0000000..e80d15f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_domimplementationfeaturenull.xml @@ -0,0 +1,47 @@ + + + + + +hc_domimplementationfeaturenull +Curt Arnold + + Load a document and invoke its + "getImplementation()" method. This should create a + DOMImplementation object whose "hasFeature(feature, + version)" method is invoked with version equal to null. + If the version is not specified, supporting any version + feature will cause the method to return "true". + +Curt Arnold +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_domimplementationfeaturexml.xml b/test/testcases/tests/level1/core/hc_domimplementationfeaturexml.xml new file mode 100644 index 0000000..e9da496 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_domimplementationfeaturexml.xml @@ -0,0 +1,43 @@ + + + + + +hc_domimplementationfeaturexml +Curt Arnold + + Retrieve the entire DOM document and invoke its + "getImplementation()" method. This should create a + DOMImplementation object whose "hasFeature(feature, + version)" method is invoked with "feature" equal to "html" or "xml". + The method should return a boolean "true". + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementaddnewattribute.xml b/test/testcases/tests/level1/core/hc_elementaddnewattribute.xml new file mode 100644 index 0000000..e7a494d --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementaddnewattribute.xml @@ -0,0 +1,44 @@ + + + + + +hc_elementAddNewAttribute +Curt Arnold + + The "setAttribute(name,value)" method adds a new attribute + to the Element + + Retrieve the last child of the last employee, then + add an attribute to it by invoking the + "setAttribute(name,value)" method. It should create + a "strong" attribute with an assigned value equal to + "value". + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementassociatedattribute.xml b/test/testcases/tests/level1/core/hc_elementassociatedattribute.xml new file mode 100644 index 0000000..c79b153 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementassociatedattribute.xml @@ -0,0 +1,44 @@ + + + + + +hc_elementAssociatedAttribute +Curt Arnold + + Retrieve the first attribute from the last child of + the first employee and invoke the "getSpecified()" + method. This test is only intended to show that + Elements can actually have attributes. This test uses + the "getNamedItem(name)" method from the NamedNodeMap + interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementchangeattributevalue.xml b/test/testcases/tests/level1/core/hc_elementchangeattributevalue.xml new file mode 100644 index 0000000..cabca5b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementchangeattributevalue.xml @@ -0,0 +1,46 @@ + + + + + +hc_elementChangeAttributeValue +Curt Arnold + + The "setAttribute(name,value)" method adds a new attribute + to the Element. If the "strong" is already present, then + its value should be changed to the new one that is in + the "value" parameter. + + Retrieve the last child of the fourth employee, then add + an attribute to it by invoking the + "setAttribute(name,value)" method. Since the name of the + used attribute("class") is already present in this + element, then its value should be changed to the new one + of the "value" parameter. + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementcreatenewattribute.xml b/test/testcases/tests/level1/core/hc_elementcreatenewattribute.xml new file mode 100644 index 0000000..aac3a12 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementcreatenewattribute.xml @@ -0,0 +1,51 @@ + + + + + +hc_elementCreateNewAttribute +Curt Arnold + + The "setAttributeNode(newAttr)" method adds a new + attribute to the Element. + + Retrieve first address element and add + a new attribute node to it by invoking its + "setAttributeNode(newAttr)" method. This test makes use + of the "createAttribute(name)" method from the Document + interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementgetattributenode.xml b/test/testcases/tests/level1/core/hc_elementgetattributenode.xml new file mode 100644 index 0000000..2896efa --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementgetattributenode.xml @@ -0,0 +1,39 @@ + + + + + +hc_elementgetattributenode +Curt Arnold + + Retrieve the attribute "title" from the last child + of the first "p" element and check its node name. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementgetattributenodenull.xml b/test/testcases/tests/level1/core/hc_elementgetattributenodenull.xml new file mode 100644 index 0000000..3bab65b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementgetattributenodenull.xml @@ -0,0 +1,41 @@ + + + + + +hc_elementGetAttributeNodeNull +Curt Arnold + + The "getAttributeNode(name)" method retrieves an + attribute node by name. It should return null if the + "strong" attribute does not exist. + + Retrieve the last child of the first employee and attempt + to retrieve a non-existing attribute. The method should + return "null". The non-existing attribute to be used + is "invalidAttribute". + + +2002-06-09 + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementgetelementempty.xml b/test/testcases/tests/level1/core/hc_elementgetelementempty.xml new file mode 100644 index 0000000..90606a2 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementgetelementempty.xml @@ -0,0 +1,50 @@ + + + + + +hc_elementGetElementEmpty +Curt Arnold + + The "getAttribute(name)" method returns an empty + string if no value was assigned to an attribute and + no default value was given in the DTD file. + + Retrieve the last child of the last employee, then + invoke "getAttribute(name)" method, where "strong" is an + attribute without a specified or DTD default value. + The "getAttribute(name)" method should return the empty + string. This method makes use of the + "createAttribute(newAttr)" method from the Document + interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementgetelementsbytagname.xml b/test/testcases/tests/level1/core/hc_elementgetelementsbytagname.xml new file mode 100644 index 0000000..9284ce2 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementgetelementsbytagname.xml @@ -0,0 +1,39 @@ + + + + + +hc_elementGetElementsByTagName +Curt Arnold + +The "getElementsByTagName(name)" method returns a list +of all descendant Elements with the given tag name. +Test for an empty list. + +Create a NodeList of all the descendant elements +using the string "noMatch" as the tagName. +The method should return a NodeList whose length is +"0" since there are not any descendant elements +that match the given tag name. + + +2002-06-09 + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementgetelementsbytagnameaccessnodelist.xml b/test/testcases/tests/level1/core/hc_elementgetelementsbytagnameaccessnodelist.xml new file mode 100644 index 0000000..d7af247 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementgetelementsbytagnameaccessnodelist.xml @@ -0,0 +1,61 @@ + + + + + +hc_elementGetElementsByTagName +Curt Arnold + +The "getElementsByTagName(name)" method returns a list +of all descendant Elements in the order the children +were encountered in a pre order traversal of the element +tree. + +Create a NodeList of all the descendant elements +using the string "p" as the tagName. +The method should return a NodeList whose length is +"5" in the order the children were encountered. +Access the FOURTH element in the NodeList. The FOURTH +element, the first or second should be an "em" node with +the content "EMP0004". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementgetelementsbytagnamenomatch.xml b/test/testcases/tests/level1/core/hc_elementgetelementsbytagnamenomatch.xml new file mode 100644 index 0000000..6576b8c --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementgetelementsbytagnamenomatch.xml @@ -0,0 +1,37 @@ + + + + + +hc_elementGetElementsByTagName +Curt Arnold + +The "getElementsByTagName(name)" method returns a list +of all descendant Elements with the given tag name. + +Create a NodeList of all the descendant elements +using the string "employee" as the tagName. +The method should return a NodeList whose length is +"5". + + +2002-06-09 + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementgetelementsbytagnamespecialvalue.xml b/test/testcases/tests/level1/core/hc_elementgetelementsbytagnamespecialvalue.xml new file mode 100644 index 0000000..66a9013 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementgetelementsbytagnamespecialvalue.xml @@ -0,0 +1,56 @@ + + + + + +hc_elementGetElementsByTagNamesSpecialValue +Curt Arnold + +The "getElementsByTagName(name)" method may use the +special value "*" to match all tags in the element +tree. + +Create a NodeList of all the descendant elements +of the last employee by using the special value "*". +The method should return all the descendant children(6) +in the order the children were encountered. + + +2002-06-09 + + + + + + + + + + +"em" +"strong" +"code" +"sup" +"var" +"acronym" + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementgettagname.xml b/test/testcases/tests/level1/core/hc_elementgettagname.xml new file mode 100644 index 0000000..25601a5 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementgettagname.xml @@ -0,0 +1,39 @@ + + + + + +hc_elementgettagname +Curt Arnold + + Invoke the "getTagName()" method one the + root node. The value returned should be "html" or "svg". + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementinuseattributeerr.xml b/test/testcases/tests/level1/core/hc_elementinuseattributeerr.xml new file mode 100644 index 0000000..6a5e8df --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementinuseattributeerr.xml @@ -0,0 +1,51 @@ + + + + + +hc_elementInUseAttributeErr +Curt Arnold + + The "setAttributeNode(newAttr)" method raises an + "INUSE_ATTRIBUTE_ERR DOMException if the "newAttr" + is already an attribute of another element. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementinvalidcharacterexception.xml b/test/testcases/tests/level1/core/hc_elementinvalidcharacterexception.xml new file mode 100644 index 0000000..3695b93 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementinvalidcharacterexception.xml @@ -0,0 +1,45 @@ + + + + + +hc_elementInvalidCharacterException +Curt Arnold + + The "setAttribute(name,value)" method raises an + "INVALID_CHARACTER_ERR DOMException if the specified + name contains an invalid character. + + Retrieve the last child of the first employee and + call its "setAttribute(name,value)" method with + "strong" containing an invalid character. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementinvalidcharacterexception1.xml b/test/testcases/tests/level1/core/hc_elementinvalidcharacterexception1.xml new file mode 100644 index 0000000..2953282 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementinvalidcharacterexception1.xml @@ -0,0 +1,38 @@ + + + + + +hc_elementinvalidcharacterexception1 +Curt Arnold + +Calling Element.setAttribute with an empty name will cause an INVALID_CHARACTER_ERR. + +2004-03-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementnormalize.xml b/test/testcases/tests/level1/core/hc_elementnormalize.xml new file mode 100644 index 0000000..e1df08f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementnormalize.xml @@ -0,0 +1,49 @@ + + + + + +hc_elementnormalize +Curt Arnold + +Append a couple of text nodes to the first sup element, normalize the +document element and check that the element has been normalized. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementnormalize2.xml b/test/testcases/tests/level1/core/hc_elementnormalize2.xml new file mode 100644 index 0000000..0adf0d8 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementnormalize2.xml @@ -0,0 +1,51 @@ + + + + + +hc_elementnormalize2 +Curt Arnold + +Add an empty text node to an existing attribute node, normalize the containing element +and check that the attribute node has eliminated the empty text. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementnotfounderr.xml b/test/testcases/tests/level1/core/hc_elementnotfounderr.xml new file mode 100644 index 0000000..73de389 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementnotfounderr.xml @@ -0,0 +1,50 @@ + + + + + +hc_elementNotFoundErr +Curt Arnold + + The "removeAttributeNode(oldAttr)" method raises a + NOT_FOUND_ERR DOMException if the "oldAttr" attribute + is not an attribute of the element. + + Retrieve the last employee and attempt to remove + a non existing attribute node. This should cause the + intended exception to be raised. This test makes use + of the "createAttribute(name)" method from the Document + interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementremoveattribute.xml b/test/testcases/tests/level1/core/hc_elementremoveattribute.xml new file mode 100644 index 0000000..f5d46f2 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementremoveattribute.xml @@ -0,0 +1,40 @@ + + + + + +hc_elementRemoveAttribute +Curt Arnold + + The "removeAttribute(name)" removes an attribute by name. + If the attribute has a default value, it is immediately + replaced. However, there is no default values in the HTML + compatible tests, so its value is "". + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementremoveattributeaftercreate.xml b/test/testcases/tests/level1/core/hc_elementremoveattributeaftercreate.xml new file mode 100644 index 0000000..b3339e7 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementremoveattributeaftercreate.xml @@ -0,0 +1,50 @@ + + + + + +hc_elementRemoveAttributeAfterCreate +Curt Arnold + + The "removeAttributeNode(oldAttr)" method removes the + specified attribute. + + Retrieve the last child of the third employee, add a + new "lang" attribute to it and then try to remove it. + To verify that the node was removed use the + "getNamedItem(name)" method from the NamedNodeMap + interface. It also uses the "getAttributes()" method + from the Node interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementremoveattributenode.xml b/test/testcases/tests/level1/core/hc_elementremoveattributenode.xml new file mode 100644 index 0000000..ccb4ae6 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementremoveattributenode.xml @@ -0,0 +1,44 @@ + + + + + +hc_elementRemoveAttributeNode +Curt Arnold + + The "removeAttributeNode(oldAttr)" method returns the + node that was removed. + + Retrieve the last child of the third employee and + remove its "class" Attr node. The method should + return the old attribute node. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementreplaceattributewithself.xml b/test/testcases/tests/level1/core/hc_elementreplaceattributewithself.xml new file mode 100644 index 0000000..927b8e5 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementreplaceattributewithself.xml @@ -0,0 +1,43 @@ + + + + + +hc_elementReplaceAttributeWithSelf +Curt Arnold + +This test calls setAttributeNode to replace an attribute with itself. +Since the node is not an attribute of another Element, it would +be inappropriate to throw an INUSE_ATTRIBUTE_ERR. + +This test was derived from elementinuserattributeerr which +inadvertanly made this test. + +Curt Arnold +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementreplaceexistingattribute.xml b/test/testcases/tests/level1/core/hc_elementreplaceexistingattribute.xml new file mode 100644 index 0000000..6af3483 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementreplaceexistingattribute.xml @@ -0,0 +1,48 @@ + + + + + +hc_elementReplaceExistingAttribute +Curt Arnold + + The "setAttributeNode(newAttr)" method adds a new + attribute to the Element. If the "newAttr" Attr node is + already present in this element, it should replace the + existing one. + + Retrieve the last child of the third employee and add a + new attribute node by invoking the "setAttributeNode(new + Attr)" method. The new attribute node to be added is + "class", which is already present in this element. The + method should replace the existing Attr node with the + new one. This test uses the "createAttribute(name)" + method from the Document interface. + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementreplaceexistingattributegevalue.xml b/test/testcases/tests/level1/core/hc_elementreplaceexistingattributegevalue.xml new file mode 100644 index 0000000..5c04a86 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementreplaceexistingattributegevalue.xml @@ -0,0 +1,49 @@ + + + + + +hc_elementReplaceExistingAttributeGeValue +Curt Arnold + +If the "setAttributeNode(newAttr)" method replaces an +existing Attr node with the same name, then it should +return the previously existing Attr node. + +Retrieve the last child of the third employee and add a +new attribute node. The new attribute node is "class", +which is already present in this Element. The method +should return the existing Attr node(old "class" Attr). +This test uses the "createAttribute(name)" method +from the Document interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementretrieveallattributes.xml b/test/testcases/tests/level1/core/hc_elementretrieveallattributes.xml new file mode 100644 index 0000000..9b50924 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementretrieveallattributes.xml @@ -0,0 +1,59 @@ + + + + + +hc_elementretrieveallattributes +Curt Arnold + + Create a list of all the attributes of the last child + of the first "p" element by using the "getAttributes()" + method. + + +2002-06-09 + + + + + + + + + + + + + + + "title" + + + "title" + "dir" + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementretrieveattrvalue.xml b/test/testcases/tests/level1/core/hc_elementretrieveattrvalue.xml new file mode 100644 index 0000000..6d5a96e --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementretrieveattrvalue.xml @@ -0,0 +1,40 @@ + + + + + +hc_elementRetrieveAttrValue +Curt Arnold + + The "getAttribute(name)" method returns an attribute + value by name. + + Retrieve the second address element, then + invoke the 'getAttribute("class")' method. This should + return the value of the attribute("No"). + + +2002-06-09 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementretrievetagname.xml b/test/testcases/tests/level1/core/hc_elementretrievetagname.xml new file mode 100644 index 0000000..d6f5744 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementretrievetagname.xml @@ -0,0 +1,44 @@ + + + + + +hc_elementRetrieveTagName +Curt Arnold + + The "getElementsByTagName()" method returns a NodeList + of all descendant elements with a given tagName. + + Invoke the "getElementsByTagName()" method and create + a NodeList of "code" elements. Retrieve the second + "code" element in the list and return the NodeName. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementsetattributenodenull.xml b/test/testcases/tests/level1/core/hc_elementsetattributenodenull.xml new file mode 100644 index 0000000..49e6df9 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementsetattributenodenull.xml @@ -0,0 +1,46 @@ + + + + + +hc_elementSetAttributeNodeNull +Curt Arnold + + The "setAttributeNode(newAttr)" method returns the + null value if no previously existing Attr node with the + same name was replaced. + + Retrieve the last child of the third employee and add a + new attribute to it. The new attribute node added is + "lang", which is not part of this Element. The + method should return the null value. + This test uses the "createAttribute(name)" + method from the Document interface. + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_elementwrongdocumenterr.xml b/test/testcases/tests/level1/core/hc_elementwrongdocumenterr.xml new file mode 100644 index 0000000..8d36120 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementwrongdocumenterr.xml @@ -0,0 +1,56 @@ + + + + + +hc_elementWrongDocumentErr +Curt Arnold + + The "setAttributeNode(newAttr)" method raises an + "WRONG_DOCUMENT_ERR DOMException if the "newAttr" + was created from a different document than the one that + created this document. + + Retrieve the last employee and attempt to set a new + attribute node for its "employee" element. The new + attribute was created from a document other than the + one that created this element, therefore a + WRONG_DOCUMENT_ERR DOMException should be raised. + + This test uses the "createAttribute(newAttr)" method + from the Document interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_entitiesremovenameditem1.xml b/test/testcases/tests/level1/core/hc_entitiesremovenameditem1.xml new file mode 100644 index 0000000..0bd5d38 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_entitiesremovenameditem1.xml @@ -0,0 +1,44 @@ + + + + + +hc_entitiesremovenameditem1 +Curt Arnold + +An attempt to add remove an entity should result in a NO_MODIFICATION_ERR. + +2004-01-11 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_entitiessetnameditem1.xml b/test/testcases/tests/level1/core/hc_entitiessetnameditem1.xml new file mode 100644 index 0000000..301bdf1 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_entitiessetnameditem1.xml @@ -0,0 +1,50 @@ + + + + + +hc_entitiessetnameditem1 +Curt Arnold + +An attempt to add an element to the named node map returned by entities should +result in a NO_MODIFICATION_ERR or HIERARCHY_REQUEST_ERR. + +2004-01-11 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapchildnoderange.xml b/test/testcases/tests/level1/core/hc_namednodemapchildnoderange.xml new file mode 100644 index 0000000..d7c8b7d --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapchildnoderange.xml @@ -0,0 +1,60 @@ + + + + + +hc_namednodemapchildnoderange +Curt Arnold + + Create a NamedNodeMap object from the attributes of the + last child of the third "p" element and traverse the + list from index 0 thru length -1. All indices should + be valid. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapgetnameditem.xml b/test/testcases/tests/level1/core/hc_namednodemapgetnameditem.xml new file mode 100644 index 0000000..a8802ab --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapgetnameditem.xml @@ -0,0 +1,46 @@ + + + + + +hc_namednodemapgetnameditem +Curt Arnold + + Retrieve the second "p" element and create a NamedNodeMap + listing of the attributes of the last child. Once the + list is created an invocation of the "getNamedItem(name)" + method is done with name="title". This should result + in the title Attr node being returned. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapinuseattributeerr.xml b/test/testcases/tests/level1/core/hc_namednodemapinuseattributeerr.xml new file mode 100644 index 0000000..0220da5 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapinuseattributeerr.xml @@ -0,0 +1,57 @@ + + + + + +hc_namedNodeMapInUseAttributeErr +Curt Arnold + +The "setNamedItem(arg)" method raises a +INUSE_ATTRIBUTE_ERR DOMException if "arg" is an +Attr that is already in an attribute of another Element. + +Create a NamedNodeMap object from the attributes of the +last child of the third employee and attempt to add +an attribute that is already being used by the first +employee. This should raise the desired exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapnotfounderr.xml b/test/testcases/tests/level1/core/hc_namednodemapnotfounderr.xml new file mode 100644 index 0000000..d3d2c64 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapnotfounderr.xml @@ -0,0 +1,50 @@ + + + + + +hc_namednodemapNotFoundErr +Curt Arnold + + The "removeNamedItem(name)" method raises a + NOT_FOUND_ERR DOMException if there is not a node + named "strong" in the map. + + Create a NamedNodeMap object from the attributes of the + last child of the third employee and attempt to remove + the "lang" attribute. There is not a node named + "lang" in the list and therefore the desired + exception should be raised. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapnumberofnodes.xml b/test/testcases/tests/level1/core/hc_namednodemapnumberofnodes.xml new file mode 100644 index 0000000..488b258 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapnumberofnodes.xml @@ -0,0 +1,45 @@ + + + + + +hc_namednodemapnumberofnodes +Curt Arnold + + Retrieve the second "p" element and evaluate Node.attributes.length. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapremovenameditem.xml b/test/testcases/tests/level1/core/hc_namednodemapremovenameditem.xml new file mode 100644 index 0000000..b686f9a --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapremovenameditem.xml @@ -0,0 +1,50 @@ + + + + + +hc_namednodemapRemoveNamedItem +Curt Arnold + + The "removeNamedItem(name)" method removes a node + specified by name. + + Retrieve the third employee and create a NamedNodeMap + object of the attributes of the last child. Once the + list is created invoke the "removeNamedItem(name)" + method with name="class". This should result + in the removal of the specified attribute. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapreturnattrnode.xml b/test/testcases/tests/level1/core/hc_namednodemapreturnattrnode.xml new file mode 100644 index 0000000..53edc6b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapreturnattrnode.xml @@ -0,0 +1,53 @@ + + + + + +hc_namednodemapreturnattrnode +Curt Arnold + + Retrieve the second p element and create a NamedNodeMap + listing of the attributes of the last child. Once the + list is created an invocation of the "getNamedItem(name)" + method is done with name="class". This should result + in the method returning an Attr node. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapreturnfirstitem.xml b/test/testcases/tests/level1/core/hc_namednodemapreturnfirstitem.xml new file mode 100644 index 0000000..a7a6ebd --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapreturnfirstitem.xml @@ -0,0 +1,63 @@ + + + + + +hc_namednodemapReturnFirstItem +Curt Arnold + + The "item(index)" method returns the indexth item in + the map(test for first item). + + Retrieve the second "acronym" get the NamedNodeMap of the attributes. Since the + DOM does not specify an order of these nodes the contents + of the FIRST node can contain either "title", "class" or "dir". + + +2002-06-09 + + + + + + + + + + + + + "title" + "class" + + + "title" + "class" + "dir" + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapreturnlastitem.xml b/test/testcases/tests/level1/core/hc_namednodemapreturnlastitem.xml new file mode 100644 index 0000000..bd6f7a8 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapreturnlastitem.xml @@ -0,0 +1,65 @@ + + + + + +hc_namednodemapReturnLastItem +Curt Arnold + + The "item(index)" method returns the indexth item in + the map(test for last item). + + Retrieve the second "acronym" and get the attribute name. Since the + DOM does not specify an order of these nodes the contents + of the LAST node can contain either "title" or "class". + The test should return "true" if the LAST node is either + of these values. + + +2002-06-09 + + + + + + + + + + + + + "title" + "class" + + + "title" + "class" + "dir" + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapreturnnull.xml b/test/testcases/tests/level1/core/hc_namednodemapreturnnull.xml new file mode 100644 index 0000000..12037d8 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapreturnnull.xml @@ -0,0 +1,47 @@ + + + + + +hc_namednodemapReturnNull +Curt Arnold + + The "getNamedItem(name)" method returns null of the + specified name did not identify any node in the map. + + Retrieve the second employee and create a NamedNodeMap + listing of the attributes of the last child. Once the + list is created an invocation of the "getNamedItem(name)" + method is done with name="lang". This name does not + match any names in the list therefore the method should + return null. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapsetnameditem.xml b/test/testcases/tests/level1/core/hc_namednodemapsetnameditem.xml new file mode 100644 index 0000000..e4dcfd7 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapsetnameditem.xml @@ -0,0 +1,56 @@ + + + + + +hc_namednodemapsetnameditem +Curt Arnold + + Retrieve the second "p" element and create a NamedNodeMap + object from the attributes of the last child by + invoking the "getAttributes()" method. Once the + list is created an invocation of the "setNamedItem(arg)" + method is done with arg=newAttr, where newAttr is a + new Attr Node previously created. The "setNamedItem(arg)" + method should add then new node to the NamedNodeItem + object by using its "nodeName" attribute("lang'). + This node is then retrieved using the "getNamedItem(name)" + method. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapsetnameditemreturnvalue.xml b/test/testcases/tests/level1/core/hc_namednodemapsetnameditemreturnvalue.xml new file mode 100644 index 0000000..1470e4c --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapsetnameditemreturnvalue.xml @@ -0,0 +1,56 @@ + + + + + +hc_namednodemapSetNamedItemReturnValue +Curt Arnold + + If the "setNamedItem(arg)" method replaces an already + existing node with the same name then the already + existing node is returned. + + Retrieve the third employee and create a NamedNodeMap + object from the attributes of the last child by + invoking the "getAttributes()" method. Once the + list is created an invocation of the "setNamedItem(arg)" + method is done with arg=newAttr, where newAttr is a + new Attr Node previously created and whose node name + already exists in the map. The "setNamedItem(arg)" + method should replace the already existing node with + the new one and return the existing node. + This test uses the "createAttribute(name)" method from + the document interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapsetnameditemthatexists.xml b/test/testcases/tests/level1/core/hc_namednodemapsetnameditemthatexists.xml new file mode 100644 index 0000000..d7a6407 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapsetnameditemthatexists.xml @@ -0,0 +1,58 @@ + + + + + +hc_namednodemapSetNamedItemThatExists +Curt Arnold + + If the node to be added by the "setNamedItem(arg)" method + already exists in the NamedNodeMap, it is replaced by + the new one. + + Retrieve the second employee and create a NamedNodeMap + object from the attributes of the last child by + invoking the "getAttributes()" method. Once the + list is created an invocation of the "setNamedItem(arg)" + method is done with arg=newAttr, where newAttr is a + new Attr Node previously created and whose node name + already exists in the map. The "setNamedItem(arg)" + method should replace the already existing node with + the new one. + This node is then retrieved using the "getNamedItem(name)" + method. This test uses the "createAttribute(name)" + method from the document interface + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapsetnameditemwithnewvalue.xml b/test/testcases/tests/level1/core/hc_namednodemapsetnameditemwithnewvalue.xml new file mode 100644 index 0000000..087e7df --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapsetnameditemwithnewvalue.xml @@ -0,0 +1,51 @@ + + + + + +hc_namednodemapSetNamedItemWithNewValue +Curt Arnold + + If the "setNamedItem(arg)" method does not replace an + existing node with the same name then it returns null. + + Retrieve the third employee and create a NamedNodeMap + object from the attributes of the last child. + Once the list is created the "setNamedItem(arg)" method + is invoked with arg=newAttr, where newAttr is a + newly created Attr Node and whose node name + already exists in the map. The "setNamedItem(arg)" + method should add the new node and return null. + This test uses the "createAttribute(name)" method from + the document interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_namednodemapwrongdocumenterr.xml b/test/testcases/tests/level1/core/hc_namednodemapwrongdocumenterr.xml new file mode 100644 index 0000000..bd2fedb --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapwrongdocumenterr.xml @@ -0,0 +1,57 @@ + + + + + +hc_namednodemapWrongDocumentErr +Curt Arnold + + The "setNamedItem(arg)" method raises a + WRONG_DOCUMENT_ERR DOMException if "arg" was created + from a different document than the one that created + the NamedNodeMap. + + Create a NamedNodeMap object from the attributes of the + last child of the third employee and attempt to add + another Attr node to it that was created from a + different DOM document. This should raise the desired + exception. This method uses the "createAttribute(name)" + method from the Document interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeappendchild.xml b/test/testcases/tests/level1/core/hc_nodeappendchild.xml new file mode 100644 index 0000000..3ab84d7 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeappendchild.xml @@ -0,0 +1,46 @@ + + + + + +hc_nodeAppendChild +Curt Arnold + + Retrieve the second "p" and append a "br" Element + node to the list of children. The last node in the list + is then retrieved and its NodeName examined. The + "getNodeName()" method should return "br". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeappendchildchildexists.xml b/test/testcases/tests/level1/core/hc_nodeappendchildchildexists.xml new file mode 100644 index 0000000..b832113 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeappendchildchildexists.xml @@ -0,0 +1,72 @@ + + + + + +hc_nodeAppendChildChildExists +Curt Arnold + + If the "newChild" is already in the tree, it is first + removed before the new one is appended. + + Retrieve the "em" second employee and + append the first child to the end of the list. After + the "appendChild(newChild)" method is invoked the first + child should be the one that was second and the last + child should be the one that was first. + + +2002-06-09 + + + + + + + + + + + + + + +"strong" +"code" +"sup" +"var" +"acronym" +"em" + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeappendchilddocfragment.xml b/test/testcases/tests/level1/core/hc_nodeappendchilddocfragment.xml new file mode 100644 index 0000000..79879fe --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeappendchilddocfragment.xml @@ -0,0 +1,74 @@ + + + + + +hc_nodeAppendChildDocFragment +Curt Arnold + + If the "newChild" is a DocumentFragment object then + all its content is added to the child list of this node. + + Create and populate a new DocumentFragment object and + append it to the second employee. After the + "appendChild(newChild)" method is invoked retrieve the + new nodes at the end of the list, they should be the + two Element nodes from the DocumentFragment. + + +2002-06-09 + + + + + + + + + + + + + + + + + +"em" +"strong" +"code" +"sup" +"var" +"acronym" +"br" +"b" + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeappendchildgetnodename.xml b/test/testcases/tests/level1/core/hc_nodeappendchildgetnodename.xml new file mode 100644 index 0000000..ed29709 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeappendchildgetnodename.xml @@ -0,0 +1,47 @@ + + + + + +hc_nodeAppendChildGetNodeName +Curt Arnold + + The "appendChild(newChild)" method returns the node + added. + + Append a newly created node to the child list of the + second employee and check the NodeName returned. The + "getNodeName()" method should return "br". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeappendchildinvalidnodetype.xml b/test/testcases/tests/level1/core/hc_nodeappendchildinvalidnodetype.xml new file mode 100644 index 0000000..6db51ab --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeappendchildinvalidnodetype.xml @@ -0,0 +1,49 @@ + + + + + +hc_nodeAppendChildInvalidNodeType +Curt Arnold + + The "appendChild(newChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if this node is of + a type that does not allow children of the type "newChild" + to be inserted. + + Retrieve the root node and attempt to append a newly + created Attr node. An Element node cannot have children + of the "Attr" type, therefore the desired exception + should be raised. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeappendchildnewchilddiffdocument.xml b/test/testcases/tests/level1/core/hc_nodeappendchildnewchilddiffdocument.xml new file mode 100644 index 0000000..8730502 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeappendchildnewchilddiffdocument.xml @@ -0,0 +1,53 @@ + + + + + +hc_nodeAppendChildNewChildDiffDocument +Curt Arnold + + The "appendChild(newChild)" method raises a + WRONG_DOCUMENT_ERR DOMException if the "newChild" was + created from a different document than the one that + created this node. + + Retrieve the second employee and attempt to append + a node created from a different document. An attempt + to make such a replacement should raise the desired + exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeappendchildnodeancestor.xml b/test/testcases/tests/level1/core/hc_nodeappendchildnodeancestor.xml new file mode 100644 index 0000000..3fe2efc --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeappendchildnodeancestor.xml @@ -0,0 +1,51 @@ + + + + + +hc_nodeAppendChildNodeAncestor +Curt Arnold + + The "appendChild(newChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if the node to + append is one of this node's ancestors. + + Retrieve the second employee and attempt to append + an ancestor node(root node) to it. + An attempt to make such an addition should raise the + desired exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeattributenodeattribute.xml b/test/testcases/tests/level1/core/hc_nodeattributenodeattribute.xml new file mode 100644 index 0000000..34886a8 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeattributenodeattribute.xml @@ -0,0 +1,46 @@ + + + + + +hc_characterdataDeleteDataEnd +Curt Arnold + +The "getAttributes()" method invoked on an Attribute +Node returns null. + +Retrieve the first attribute from the last child of the +first employee and invoke the "getAttributes()" method +on the Attribute Node. It should return null. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeattributenodename.xml b/test/testcases/tests/level1/core/hc_nodeattributenodename.xml new file mode 100644 index 0000000..3c14306 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeattributenodename.xml @@ -0,0 +1,41 @@ + + + + + +hc_nodeattributenodename +Curt Arnold + + Retrieve the Attribute named "title" from the last + child of the first p element and check the string returned + by the "getNodeName()" method. It should be equal to + "title". + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeattributenodetype.xml b/test/testcases/tests/level1/core/hc_nodeattributenodetype.xml new file mode 100644 index 0000000..0aea5d1 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeattributenodetype.xml @@ -0,0 +1,48 @@ + + + + + +hc_nodeAttributeNodeType +Curt Arnold + + + The "getNodeType()" method for an Attribute Node + + returns the constant value 2. + + + + Retrieve the first attribute from the last child of + + the first employee and invoke the "getNodeType()" + + method. The method should return 2. + + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeattributenodevalue.xml b/test/testcases/tests/level1/core/hc_nodeattributenodevalue.xml new file mode 100644 index 0000000..a59db72 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeattributenodevalue.xml @@ -0,0 +1,43 @@ + + + + + +hc_nodeAttributeNodeValue +Curt Arnold + + + The string returned by the "getNodeValue()" method for an + Attribute Node is the value of the Attribute. + + Retrieve the Attribute named "title" from the last + child of the first "p" and check the string returned + by the "getNodeValue()" method. It should be equal to + "Yes". + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodechildnodes.xml b/test/testcases/tests/level1/core/hc_nodechildnodes.xml new file mode 100644 index 0000000..30864d6 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodechildnodes.xml @@ -0,0 +1,63 @@ + + + + + +hc_nodeChildNodes +Curt Arnold + + + The "getChildNodes()" method returns a NodeList + that contains all children of this node. + + Retrieve the second employee and check the NodeList + returned by the "getChildNodes()" method. The + length of the list should be 13. + + +2002-06-09 + + + + + + + + + + + + +"em" +"strong" +"code" +"sup" +"var" +"acronym" + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodechildnodesappendchild.xml b/test/testcases/tests/level1/core/hc_nodechildnodesappendchild.xml new file mode 100644 index 0000000..654877b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodechildnodesappendchild.xml @@ -0,0 +1,73 @@ + + + + + +hc_nodeChildNodesAppendChild +Curt Arnold + + The NodeList returned by the "getChildNodes()" method + is live. Changes on the node's children are immediately + reflected on the nodes returned in the NodeList. + + Create a NodeList of the children of the second employee + and then add a newly created element that was created + by the "createElement()" method(Document Interface) to + the second employee by using the "appendChild()" method. + The length of the NodeList should reflect this new + addition to the child list. It should return the value 14. + + +2002-06-09 + + + + + + + + + + + + + + + + +"em" +"strong" +"code" +"sup" +"var" +"acronym" +"br" + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodechildnodesempty.xml b/test/testcases/tests/level1/core/hc_nodechildnodesempty.xml new file mode 100644 index 0000000..1cc01da --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodechildnodesempty.xml @@ -0,0 +1,46 @@ + + + + + +hc_nodeChildNodesEmpty +Curt Arnold + + The "getChildNodes()" method returns a NodeList + that contains all children of this node. If there + are not any children, this is a NodeList that does not + contain any nodes. + + Retrieve the character data of the second "em" node and + invoke the "getChildNodes()" method. The + NodeList returned should not have any nodes. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodecloneattributescopied.xml b/test/testcases/tests/level1/core/hc_nodecloneattributescopied.xml new file mode 100644 index 0000000..e03df1b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodecloneattributescopied.xml @@ -0,0 +1,62 @@ + + + + + +hc_nodecloneattributescopied +Curt Arnold + + Retrieve the second acronym element and invoke + the cloneNode method. The + duplicate node returned by the method should copy the + attributes associated with this node. + + +2002-06-09 + + + + + + + + + + + + + +"class" +"title" + + +"class" +"title" +"dir" + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeclonefalsenocopytext.xml b/test/testcases/tests/level1/core/hc_nodeclonefalsenocopytext.xml new file mode 100644 index 0000000..2b43302 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeclonefalsenocopytext.xml @@ -0,0 +1,46 @@ + + + + + +hc_nodeCloneFalseNoCopyText +Curt Arnold + + The "cloneNode(deep)" method does not copy text unless it + is deep cloned.(Test for deep=false) + + Retrieve the fourth child of the second employee and + the "cloneNode(deep)" method with deep=false. The + duplicate node returned by the method should not copy + any text data contained in this node. + + +2002-06-09 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeclonegetparentnull.xml b/test/testcases/tests/level1/core/hc_nodeclonegetparentnull.xml new file mode 100644 index 0000000..ee2b0a2 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeclonegetparentnull.xml @@ -0,0 +1,42 @@ + + + + + +hc_nodeCloneGetParentNull +Curt Arnold + + The duplicate node returned by the "cloneNode(deep)" + method does not have a ParentNode. + + Retrieve the second employee and invoke the + "cloneNode(deep)" method with deep=false. The + duplicate node returned should return null when the + "getParentNode()" is invoked. + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeclonenodefalse.xml b/test/testcases/tests/level1/core/hc_nodeclonenodefalse.xml new file mode 100644 index 0000000..fd919fe --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeclonenodefalse.xml @@ -0,0 +1,49 @@ + + + + + +hc_nodeCloneNodeFalse +Curt Arnold + + The "cloneNode(deep)" method returns a copy of the node + only if deep=false. + + Retrieve the second employee and invoke the + "cloneNode(deep)" method with deep=false. The + method should only clone this node. The NodeName and + length of the NodeList are checked. The "getNodeName()" + method should return "employee" and the "getLength()" + method should return 0. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeclonenodetrue.xml b/test/testcases/tests/level1/core/hc_nodeclonenodetrue.xml new file mode 100644 index 0000000..45889d9 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeclonenodetrue.xml @@ -0,0 +1,61 @@ + + + + + +hc_nodeCloneNodeTrue +Curt Arnold + + The "cloneNode(deep)" method returns a copy of the node + and the subtree under it if deep=true. + + Retrieve the second employee and invoke the + "cloneNode(deep)" method with deep=true. The + method should clone this node and the subtree under it. + The NodeName of each child in the returned node is + checked to insure the entire subtree under the second + employee was cloned. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeclonetruecopytext.xml b/test/testcases/tests/level1/core/hc_nodeclonetruecopytext.xml new file mode 100644 index 0000000..8e4572f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeclonetruecopytext.xml @@ -0,0 +1,45 @@ + + + + + +hc_nodeCloneTrueCopyText +Curt Arnold + + The "cloneNode(deep)" method does not copy text unless it + is deep cloned.(Test for deep=true) + + Retrieve the eighth child of the second employee and + the "cloneNode(deep)" method with deep=true. The + duplicate node returned by the method should copy + any text data contained in this node. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodecommentnodeattributes.xml b/test/testcases/tests/level1/core/hc_nodecommentnodeattributes.xml new file mode 100644 index 0000000..c469443 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodecommentnodeattributes.xml @@ -0,0 +1,52 @@ + + + + + +hc_nodeCommentNodeAttributes +Curt Arnold + + The "getAttributes()" method invoked on a Comment + Node returns null. + + Find any comment that is an immediate child of the root + and assert that Node.attributes is null. Then create + a new comment node (in case they had been omitted) and + make the assertion. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodecommentnodename.xml b/test/testcases/tests/level1/core/hc_nodecommentnodename.xml new file mode 100644 index 0000000..61a6ea7 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodecommentnodename.xml @@ -0,0 +1,51 @@ + + + + + +hc_nodeCommentNodeName +Curt Arnold + + The string returned by the "getNodeName()" method for a + Comment Node is "#comment". + + Retrieve the Comment node in the XML file + and check the string returned by the "getNodeName()" + method. It should be equal to "#comment". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodecommentnodetype.xml b/test/testcases/tests/level1/core/hc_nodecommentnodetype.xml new file mode 100644 index 0000000..78abc40 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodecommentnodetype.xml @@ -0,0 +1,50 @@ + + + + + +hc_nodeCommentNodeType +Curt Arnold + + The "getNodeType()" method for a Comment Node + returns the constant value 8. + + Retrieve the nodes from the document and check for + a comment node and invoke the "getNodeType()" method. This should + return 8. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodecommentnodevalue.xml b/test/testcases/tests/level1/core/hc_nodecommentnodevalue.xml new file mode 100644 index 0000000..cc802c8 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodecommentnodevalue.xml @@ -0,0 +1,50 @@ + + + + + +hc_nodeCommentNodeValue +Curt Arnold + + The string returned by the "getNodeValue()" method for a + Comment Node is the content of the comment. + + Retrieve the comment in the XML file and + check the string returned by the "getNodeValue()" method. + It should be equal to "This is comment number 1". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodedocumentfragmentnodename.xml b/test/testcases/tests/level1/core/hc_nodedocumentfragmentnodename.xml new file mode 100644 index 0000000..e39d866 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodedocumentfragmentnodename.xml @@ -0,0 +1,39 @@ + + + + + +hc_nodeDocumentFragmentNodeName +Curt Arnold + + The string returned by the "getNodeName()" method for a + DocumentFragment Node is "#document-frament". + + Retrieve the DOM document and invoke the + "createDocumentFragment()" method and check the string + returned by the "getNodeName()" method. It should be + equal to "#document-fragment". + + +2002-06-09 + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodedocumentfragmentnodetype.xml b/test/testcases/tests/level1/core/hc_nodedocumentfragmentnodetype.xml new file mode 100644 index 0000000..fcc8dd0 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodedocumentfragmentnodetype.xml @@ -0,0 +1,39 @@ + + + + + +hc_nodeDocumentFragmentNodeType +Curt Arnold + + The "getNodeType()" method for a DocumentFragment Node + returns the constant value 11. + + Invoke the "createDocumentFragment()" method and + examine the NodeType of the document fragment + returned by the "getNodeType()" method. The method + should return 11. + + +2002-06-09 + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodedocumentfragmentnodevalue.xml b/test/testcases/tests/level1/core/hc_nodedocumentfragmentnodevalue.xml new file mode 100644 index 0000000..b446835 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodedocumentfragmentnodevalue.xml @@ -0,0 +1,48 @@ + + + + + +hc_nodeDocumentFragmentNodeValue +Curt Arnold + + The string returned by the "getNodeValue()" method for a + DocumentFragment Node is null. + + Retrieve the DOM document and invoke the + "createDocumentFragment()" method and check the string + returned by the "getNodeValue()" method. It should be + equal to null. + + +Curt Arnold +2002-06-09 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodedocumentnodeattribute.xml b/test/testcases/tests/level1/core/hc_nodedocumentnodeattribute.xml new file mode 100644 index 0000000..87ac348 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodedocumentnodeattribute.xml @@ -0,0 +1,38 @@ + + + + + +hc_nodedocumentnodeattribute +Curt Arnold + +The "getAttributes()" method invoked on a Document +Node returns null. + +Retrieve the DOM Document and invoke the +"getAttributes()" method on the Document Node. +It should return null. + + +2002-06-09 + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodedocumentnodename.xml b/test/testcases/tests/level1/core/hc_nodedocumentnodename.xml new file mode 100644 index 0000000..e2c4882 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodedocumentnodename.xml @@ -0,0 +1,37 @@ + + + + + +hc_nodeDocumentNodeName +Curt Arnold + + The string returned by the "getNodeName()" method for a + Document Node is "#document". + + Retrieve the DOM document and check the string returned + by the "getNodeName()" method. It should be equal to + "#document". + + +2002-06-09 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodedocumentnodetype.xml b/test/testcases/tests/level1/core/hc_nodedocumentnodetype.xml new file mode 100644 index 0000000..dd0ea93 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodedocumentnodetype.xml @@ -0,0 +1,36 @@ + + + + + +hc_nodeDocumentNodeType +Curt Arnold + +The "getNodeType()" method for a Document Node +returns the constant value 9. + +Retrieve the document and invoke the "getNodeType()" +method. The method should return 9. + + +2002-06-09 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodedocumentnodevalue.xml b/test/testcases/tests/level1/core/hc_nodedocumentnodevalue.xml new file mode 100644 index 0000000..101372f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodedocumentnodevalue.xml @@ -0,0 +1,38 @@ + + + + + +hc_nodeDocumentNodeValue +Curt Arnold + + The string returned by the "getNodeValue()" method for a + Document Node is null. + + Retrieve the DOM Document and check the string returned + by the "getNodeValue()" method. It should be equal to + null. + + + +2002-06-09 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeelementnodeattributes.xml b/test/testcases/tests/level1/core/hc_nodeelementnodeattributes.xml new file mode 100644 index 0000000..bba5013 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeelementnodeattributes.xml @@ -0,0 +1,59 @@ + + + + + +hc_nodeelementnodeattributes +Curt Arnold + + Retrieve the third "acronym" element and evaluate Node.attributes. + + +2002-06-09 + + + + + + + + + + + + + +"title" +"class" + + +"title" +"class" +"dir" + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeelementnodename.xml b/test/testcases/tests/level1/core/hc_nodeelementnodename.xml new file mode 100644 index 0000000..8a7188c --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeelementnodename.xml @@ -0,0 +1,41 @@ + + + + + +hc_nodeelementnodename +Curt Arnold + + Retrieve the first Element Node(Root Node) of the + DOM object and check the string returned by the + "getNodeName()" method. It should be equal to its + tagName. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeelementnodetype.xml b/test/testcases/tests/level1/core/hc_nodeelementnodetype.xml new file mode 100644 index 0000000..704a9c3 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeelementnodetype.xml @@ -0,0 +1,36 @@ + + + + + +hc_nodeElementNodeType +Curt Arnold + + The "getNodeType()" method for an Element Node + returns the constant value 1. + + Retrieve the root node and invoke the "getNodeType()" + method. The method should return 1. + + +2002-06-09 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeelementnodevalue.xml b/test/testcases/tests/level1/core/hc_nodeelementnodevalue.xml new file mode 100644 index 0000000..50f8912 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeelementnodevalue.xml @@ -0,0 +1,33 @@ + + + + + +hc_nodeElementNodeValue +Curt Arnold + + The string returned by the "getNodeValue()" method for an + Element Node is null. + + +2002-06-09 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodegetfirstchild.xml b/test/testcases/tests/level1/core/hc_nodegetfirstchild.xml new file mode 100644 index 0000000..76d1b93 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodegetfirstchild.xml @@ -0,0 +1,48 @@ + + + + + +hc_nodeGetFirstChild +Curt Arnold + + The "getFirstChild()" method returns the first child + of this node. + + Retrieve the second employee and invoke the + "getFirstChild()" method. The NodeName returned + should be "#text" or "EM". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodegetfirstchildnull.xml b/test/testcases/tests/level1/core/hc_nodegetfirstchildnull.xml new file mode 100644 index 0000000..2d85cc2 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodegetfirstchildnull.xml @@ -0,0 +1,41 @@ + + + + + +hc_nodeGetFirstChildNull +Curt Arnold + + If there is not a first child then the "getFirstChild()" + method returns null. + + Retrieve the text of the first "em" element and invoke the "getFirstChild()" method. It + should return null. + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodegetlastchild.xml b/test/testcases/tests/level1/core/hc_nodegetlastchild.xml new file mode 100644 index 0000000..37952f6 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodegetlastchild.xml @@ -0,0 +1,41 @@ + + + + + +hc_nodeGetLastChild +Curt Arnold + + The "getLastChild()" method returns the last child + of this node. + + Retrieve the second employee and invoke the + "getLastChild()" method. The NodeName returned + should be "#text". + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodegetlastchildnull.xml b/test/testcases/tests/level1/core/hc_nodegetlastchildnull.xml new file mode 100644 index 0000000..dd6e9f8 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodegetlastchildnull.xml @@ -0,0 +1,42 @@ + + + + + +hc_nodeGetLastChildNull +Curt Arnold + + + If there is not a last child then the "getLastChild()" + method returns null. + + Retrieve the text of the first "em" element and invoke the "getFirstChild()" method. It + should return null. + + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodegetnextsibling.xml b/test/testcases/tests/level1/core/hc_nodegetnextsibling.xml new file mode 100644 index 0000000..9410116 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodegetnextsibling.xml @@ -0,0 +1,41 @@ + + + + + +hc_nodeGetNextSibling +Curt Arnold + + The "getNextSibling()" method returns the node immediately + following this node. + + Retrieve the first child of the second employee and + invoke the "getNextSibling()" method. It should return + a node with the NodeName of "#text". + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodegetnextsiblingnull.xml b/test/testcases/tests/level1/core/hc_nodegetnextsiblingnull.xml new file mode 100644 index 0000000..069f877 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodegetnextsiblingnull.xml @@ -0,0 +1,48 @@ + + + + + +hc_nodeGetNextSiblingNull +Curt Arnold + + + If there is not a node immediately following this node the + + "getNextSibling()" method returns null. + + + + Retrieve the first child of the second employee and + + invoke the "getNextSibling()" method. It should + + be set to null. + + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodegetownerdocument.xml b/test/testcases/tests/level1/core/hc_nodegetownerdocument.xml new file mode 100644 index 0000000..524b786 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodegetownerdocument.xml @@ -0,0 +1,44 @@ + + + + + +hc_nodegetownerdocument +Curt Arnold + +Evaluate Node.ownerDocument on the second "p" element. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodegetownerdocumentnull.xml b/test/testcases/tests/level1/core/hc_nodegetownerdocumentnull.xml new file mode 100644 index 0000000..4366b19 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodegetownerdocumentnull.xml @@ -0,0 +1,40 @@ + + + + + +hc_nodeGetOwnerDocumentNull +Curt Arnold + + + The "getOwnerDocument()" method returns null if the target + + node itself is a document. + + + + Invoke the "getOwnerDocument()" method on the master + + document. The Document returned should be null. + + + +2002-06-09 + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodegetprevioussibling.xml b/test/testcases/tests/level1/core/hc_nodegetprevioussibling.xml new file mode 100644 index 0000000..0ececda --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodegetprevioussibling.xml @@ -0,0 +1,41 @@ + + + + + +hc_nodeGetPreviousSibling +Curt Arnold + + The "getPreviousSibling()" method returns the node + immediately preceding this node. + + Retrieve the second child of the second employee and + invoke the "getPreviousSibling()" method. It should + return a node with a NodeName of "#text". + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodegetprevioussiblingnull.xml b/test/testcases/tests/level1/core/hc_nodegetprevioussiblingnull.xml new file mode 100644 index 0000000..c9cc459 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodegetprevioussiblingnull.xml @@ -0,0 +1,48 @@ + + + + + +hc_nodeGetPreviousSiblingNull +Curt Arnold + + + If there is not a node immediately preceding this node the + + "getPreviousSibling()" method returns null. + + + + Retrieve the first child of the second employee and + + invoke the "getPreviousSibling()" method. It should + + be set to null. + + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodehaschildnodes.xml b/test/testcases/tests/level1/core/hc_nodehaschildnodes.xml new file mode 100644 index 0000000..eaba4da --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodehaschildnodes.xml @@ -0,0 +1,39 @@ + + + + + +hc_nodeHasChildNodes +Curt Arnold + + The "hasChildNodes()" method returns true if the node + has children. + + Retrieve the root node("staff") and invoke the + "hasChildNodes()" method. It should return the boolean + value "true". + + +2002-06-09 + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodehaschildnodesfalse.xml b/test/testcases/tests/level1/core/hc_nodehaschildnodesfalse.xml new file mode 100644 index 0000000..15d29d7 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodehaschildnodesfalse.xml @@ -0,0 +1,42 @@ + + + + + +hc_nodeHasChildNodesFalse +Curt Arnold + + The "hasChildNodes()" method returns false if the node + does not have any children. + + Retrieve the text of the first "em" element and invoke the "hasChildNodes()" method. It + should return false. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeinsertbefore.xml b/test/testcases/tests/level1/core/hc_nodeinsertbefore.xml new file mode 100644 index 0000000..eb5d415 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeinsertbefore.xml @@ -0,0 +1,68 @@ + + + + + +hc_nodeInsertBefore +Curt Arnold + + The "insertBefore(newChild,refChild)" method inserts the + node "newChild" before the node "refChild". + + Insert a newly created Element node before the second + sup element in the document and check the "newChild" + and "refChild" after insertion for correct placement. + + +2002-06-09 + + + + + + + + + + + + + + + + +"em" +"strong" +"code" +"br" +"sup" +"var" +"acronym" + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeinsertbeforedocfragment.xml b/test/testcases/tests/level1/core/hc_nodeinsertbeforedocfragment.xml new file mode 100644 index 0000000..9f52561 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeinsertbeforedocfragment.xml @@ -0,0 +1,64 @@ + + + + + +hc_nodeInsertBeforeDocFragment +Curt Arnold + + If the "newChild" is a DocumentFragment object then all + its children are inserted in the same order before the + the "refChild". + + Create a DocumentFragment object and populate it with + two Element nodes. Retrieve the second employee and + insert the newly created DocumentFragment before its + fourth child. The second employee should now have two + extra children("newChild1" and "newChild2") at + positions fourth and fifth respectively. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeinsertbeforeinvalidnodetype.xml b/test/testcases/tests/level1/core/hc_nodeinsertbeforeinvalidnodetype.xml new file mode 100644 index 0000000..9340f54 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeinsertbeforeinvalidnodetype.xml @@ -0,0 +1,55 @@ + + + + + +hc_nodeInsertBeforeInvalidNodeType +Curt Arnold + + The "insertBefore(newChild,refChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if this node is of + a type that does not allow children of the type "newChild" + to be inserted. + + Retrieve the root node and attempt to insert a newly + created Attr node. An Element node cannot have children + of the "Attr" type, therefore the desired exception + should be raised. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeinsertbeforenewchilddiffdocument.xml b/test/testcases/tests/level1/core/hc_nodeinsertbeforenewchilddiffdocument.xml new file mode 100644 index 0000000..58e4b92 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeinsertbeforenewchilddiffdocument.xml @@ -0,0 +1,55 @@ + + + + + +hc_nodeInsertBeforeNewChildDiffDocument +Curt Arnold + + The "insertBefore(newChild,refChild)" method raises a + WRONG_DOCUMENT_ERR DOMException if the "newChild" was + created from a different document than the one that + created this node. + + Retrieve the second employee and attempt to insert a new + child that was created from a different document than the + one that created the second employee. An attempt to + insert such a child should raise the desired exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeinsertbeforenewchildexists.xml b/test/testcases/tests/level1/core/hc_nodeinsertbeforenewchildexists.xml new file mode 100644 index 0000000..db8edbd --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeinsertbeforenewchildexists.xml @@ -0,0 +1,68 @@ + + + + + +hc_nodeInsertBeforeNewChildExists +Curt Arnold + + If the "newChild" is already in the tree, the + "insertBefore(newChild,refChild)" method must first + remove it before the insertion takes place. + + Insert a node Element ("em") that is already + present in the tree. The existing node should be + removed first and the new one inserted. The node is + inserted at a different position in the tree to assure + that it was indeed inserted. + + +2002-06-09 + + + + + + + + + + + + + +"strong" +"code" +"sup" +"var" +"em" +"acronym" + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeinsertbeforenodeancestor.xml b/test/testcases/tests/level1/core/hc_nodeinsertbeforenodeancestor.xml new file mode 100644 index 0000000..7381374 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeinsertbeforenodeancestor.xml @@ -0,0 +1,53 @@ + + + + + +hc_nodeInsertBeforeNodeAncestor +Curt Arnold + + The "insertBefore(newChild,refChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if the node to be + inserted is one of this nodes ancestors. + + Retrieve the second employee and attempt to insert a + node that is one of its ancestors(root node). An + attempt to insert such a node should raise the + desired exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeinsertbeforenodename.xml b/test/testcases/tests/level1/core/hc_nodeinsertbeforenodename.xml new file mode 100644 index 0000000..98a06a1 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeinsertbeforenodename.xml @@ -0,0 +1,50 @@ + + + + + +hc_nodeInsertBeforeNodeName +Curt Arnold + + The "insertBefore(newChild,refchild)" method returns + the node being inserted. + + Insert an Element node before the fourth + child of the second employee and check the node + returned from the "insertBefore(newChild,refChild)" + method. The node returned should be "newChild". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeinsertbeforerefchildnonexistent.xml b/test/testcases/tests/level1/core/hc_nodeinsertbeforerefchildnonexistent.xml new file mode 100644 index 0000000..339d37b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeinsertbeforerefchildnonexistent.xml @@ -0,0 +1,53 @@ + + + + + +hc_nodeInsertBeforeRefChildNonexistent +Curt Arnold + + The "insertBefore(newChild,refChild)" method raises a + NOT_FOUND_ERR DOMException if the reference child is + not a child of this node. + + Retrieve the second employee and attempt to insert a + new node before a reference node that is not a child + of this node. An attempt to insert before a non child + node should raise the desired exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeinsertbeforerefchildnull.xml b/test/testcases/tests/level1/core/hc_nodeinsertbeforerefchildnull.xml new file mode 100644 index 0000000..355ddf1 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeinsertbeforerefchildnull.xml @@ -0,0 +1,53 @@ + + + + + +hc_nodeInsertBeforeRefChildNull +Curt Arnold + + If the "refChild" is null then the + "insertBefore(newChild,refChild)" method inserts the + node "newChild" at the end of the list of children. + + Retrieve the second employee and invoke the + "insertBefore(newChild,refChild)" method with + refChild=null. Since "refChild" is null the "newChild" + should be added to the end of the list. The last item + in the list is checked after insertion. The last Element + node of the list should be "newChild". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodelistindexequalzero.xml b/test/testcases/tests/level1/core/hc_nodelistindexequalzero.xml new file mode 100644 index 0000000..0b19fd5 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodelistindexequalzero.xml @@ -0,0 +1,53 @@ + + + + + +hc_nodelistIndexEqualZero +Curt Arnold + + Create a list of all the children elements of the third + employee and access its first child by using an index + of 0. This should result in the whitspace before "em" being + selected (em when ignoring whitespace). + Further we evaluate its content(by using + the "getNodeName()" method) to ensure the proper + element was accessed. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodelistindexgetlength.xml b/test/testcases/tests/level1/core/hc_nodelistindexgetlength.xml new file mode 100644 index 0000000..65e05bb --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodelistindexgetlength.xml @@ -0,0 +1,48 @@ + + + + + +hc_nodelistIndexGetLength +Curt Arnold + + The "getLength()" method returns the number of nodes + in the list. + + Create a list of all the children elements of the third + employee and invoke the "getLength()" method. + It should contain the value 13. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodelistindexgetlengthofemptylist.xml b/test/testcases/tests/level1/core/hc_nodelistindexgetlengthofemptylist.xml new file mode 100644 index 0000000..d75bb7f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodelistindexgetlengthofemptylist.xml @@ -0,0 +1,46 @@ + + + + + +hc_nodelistIndexGetLengthOfEmptyList +Curt Arnold + + The "getLength()" method returns the number of nodes + in the list.(Test for EMPTY list) + + Create a list of all the children of the Text node + inside the first child of the third employee and + invoke the "getLength()" method. It should contain + the value 0. + + +2002-06-09 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodelistindexnotzero.xml b/test/testcases/tests/level1/core/hc_nodelistindexnotzero.xml new file mode 100644 index 0000000..8b91ec7 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodelistindexnotzero.xml @@ -0,0 +1,52 @@ + + + + + +hc_nodelistIndexNotZero +Curt Arnold + + The items in the list are accessible via an integral + index starting from zero. + (Index not equal 0) + + Create a list of all the children elements of the third + employee and access its fourth child by using an index + of 3 and calling getNodeName() which should return + "strong" (no whitespace) or "#text" (with whitespace). + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodelistreturnfirstitem.xml b/test/testcases/tests/level1/core/hc_nodelistreturnfirstitem.xml new file mode 100644 index 0000000..f36a9c0 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodelistreturnfirstitem.xml @@ -0,0 +1,47 @@ + + + + + +hc_nodelistReturnFirstItem +Curt Arnold + + Create a list of all the children elements of the third + employee and access its first child by invoking the + "item(index)" method with an index=0. This should + result in node with a nodeName of "#text" or "em". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodelistreturnlastitem.xml b/test/testcases/tests/level1/core/hc_nodelistreturnlastitem.xml new file mode 100644 index 0000000..f268f20 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodelistreturnlastitem.xml @@ -0,0 +1,50 @@ + + + + + +hc_nodelistReturnLastItem +Curt Arnold + + Create a list of all the children elements of the third + employee and access its last child by invoking the + "item(index)" method with an index=length-1. This should + result in node with nodeName="#text" or acronym. + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodelisttraverselist.xml b/test/testcases/tests/level1/core/hc_nodelisttraverselist.xml new file mode 100644 index 0000000..cc8408f --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodelisttraverselist.xml @@ -0,0 +1,65 @@ + + + + + +hc_nodelistTraverseList +Curt Arnold + + The range of valid child node indices is 0 thru length -1 + + Create a list of all the children elements of the third + employee and traverse the list from index=0 thru + length -1. + + +2002-06-09 + + + + + + + + + + + + + + + +"em" +"strong" +"code" +"sup" +"var" +"acronym" + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeparentnode.xml b/test/testcases/tests/level1/core/hc_nodeparentnode.xml new file mode 100644 index 0000000..84ef073 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeparentnode.xml @@ -0,0 +1,41 @@ + + + + + +hc_nodeParentNode +Curt Arnold + + The "getParentNode()" method returns the parent + of this node. + + Retrieve the second employee and invoke the + "getParentNode()" method on this node. It should + be set to "body". + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodeparentnodenull.xml b/test/testcases/tests/level1/core/hc_nodeparentnodenull.xml new file mode 100644 index 0000000..64e4fb2 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodeparentnodenull.xml @@ -0,0 +1,38 @@ + + + + +hc_nodeParentNodeNull +Curt Arnold + + The "getParentNode()" method invoked on a node that has + just been created and not yet added to the tree is null. + + Create a new "employee" Element node using the + "createElement(name)" method from the Document interface. + Since this new node has not yet been added to the tree, + the "getParentNode()" method will return null. + + +2002-06-09 + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_noderemovechild.xml b/test/testcases/tests/level1/core/hc_noderemovechild.xml new file mode 100644 index 0000000..246a237 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_noderemovechild.xml @@ -0,0 +1,46 @@ + + + + + +hc_nodeRemoveChild +Curt Arnold + + The "removeChild(oldChild)" method removes the child node + indicated by "oldChild" from the list of children and + returns it. + + Remove the first employee by invoking the + "removeChild(oldChild)" method an checking the + node returned by the "getParentNode()" method. It + should be set to null. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_noderemovechildgetnodename.xml b/test/testcases/tests/level1/core/hc_noderemovechildgetnodename.xml new file mode 100644 index 0000000..8d5aaba --- /dev/null +++ b/test/testcases/tests/level1/core/hc_noderemovechildgetnodename.xml @@ -0,0 +1,51 @@ + + + + + +hc_nodeRemoveChildGetNodeName +Curt Arnold + + The "removeChild(oldChild)" method returns + the node being removed. + + Remove the first child of the second employee + and check the NodeName returned by the + "removeChild(oldChild)" method. The returned node + should have a NodeName equal to "#text". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_noderemovechildnode.xml b/test/testcases/tests/level1/core/hc_noderemovechildnode.xml new file mode 100644 index 0000000..823129c --- /dev/null +++ b/test/testcases/tests/level1/core/hc_noderemovechildnode.xml @@ -0,0 +1,73 @@ + + + + + +hc_noderemovechildnode +Curt Arnold + + The "removeChild(oldChild)" method removes the node + indicated by "oldChild". + + Retrieve the second p element and remove its first child. + After the removal, the second p element should have 5 element + children and the first child should now be the child + that used to be at the second position in the list. + + +2002-06-09 + + + + + + + + + + + + + + + + +"strong" +"code" +"sup" +"var" +"acronym" + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_noderemovechildoldchildnonexistent.xml b/test/testcases/tests/level1/core/hc_noderemovechildoldchildnonexistent.xml new file mode 100644 index 0000000..553f1fe --- /dev/null +++ b/test/testcases/tests/level1/core/hc_noderemovechildoldchildnonexistent.xml @@ -0,0 +1,49 @@ + + + + + +hc_nodeRemoveChildOldChildNonexistent +Curt Arnold + + The "removeChild(oldChild)" method raises a + NOT_FOUND_ERR DOMException if the old child is + not a child of this node. + + Retrieve the second employee and attempt to remove a + node that is not one of its children. An attempt to + remove such a node should raise the desired exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodereplacechild.xml b/test/testcases/tests/level1/core/hc_nodereplacechild.xml new file mode 100644 index 0000000..9e08082 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodereplacechild.xml @@ -0,0 +1,51 @@ + + + + + +hc_nodeReplaceChild +Curt Arnold + + The "replaceChild(newChild,oldChild)" method replaces + the node "oldChild" with the node "newChild". + + Replace the first element of the second employee with + a newly created Element node. Check the first position + after the replacement operation is completed. The new + Element should be "newChild". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodereplacechildinvalidnodetype.xml b/test/testcases/tests/level1/core/hc_nodereplacechildinvalidnodetype.xml new file mode 100644 index 0000000..f1bbfac --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodereplacechildinvalidnodetype.xml @@ -0,0 +1,55 @@ + + + + + +hc_nodeReplaceChildInvalidNodeType +Curt Arnold + + The "replaceChild(newChild,oldChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if this node is of + a type that does not allow children of the type "newChild" + to be inserted. + + Retrieve the root node and attempt to replace + one of its children with a newly created Attr node. + An Element node cannot have children of the "Attr" + type, therefore the desired exception should be raised. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodereplacechildnewchilddiffdocument.xml b/test/testcases/tests/level1/core/hc_nodereplacechildnewchilddiffdocument.xml new file mode 100644 index 0000000..4c57934 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodereplacechildnewchilddiffdocument.xml @@ -0,0 +1,55 @@ + + + + + +hc_nodeReplaceChildNewChildDiffDocument +Curt Arnold + + The "replaceChild(newChild,oldChild)" method raises a + WRONG_DOCUMENT_ERR DOMException if the "newChild" was + created from a different document than the one that + created this node. + + Retrieve the second employee and attempt to replace one + of its children with a node created from a different + document. An attempt to make such a replacement + should raise the desired exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodereplacechildnewchildexists.xml b/test/testcases/tests/level1/core/hc_nodereplacechildnewchildexists.xml new file mode 100644 index 0000000..66c9b06 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodereplacechildnewchildexists.xml @@ -0,0 +1,67 @@ + + + + + +hc_nodeReplaceChildNewChildExists +Curt Arnold + + If the "newChild" is already in the tree, it is first + removed before the new one is added. + + Retrieve the second "p" and replace "acronym" with its "em". + +2002-06-09 + + + + + + + + + + + + + + +"strong" +"code" +"sup" +"var" +"em" + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodereplacechildnodeancestor.xml b/test/testcases/tests/level1/core/hc_nodereplacechildnodeancestor.xml new file mode 100644 index 0000000..3c5ec89 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodereplacechildnodeancestor.xml @@ -0,0 +1,53 @@ + + + + + +hc_nodeReplaceChildNodeAncestor +Curt Arnold + + The "replaceChild(newChild,oldChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if the node to put + in is one of this node's ancestors. + + Retrieve the second employee and attempt to replace + one of its children with an ancestor node(root node). + An attempt to make such a replacement should raise the + desired exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodereplacechildnodename.xml b/test/testcases/tests/level1/core/hc_nodereplacechildnodename.xml new file mode 100644 index 0000000..d8d73ad --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodereplacechildnodename.xml @@ -0,0 +1,51 @@ + + + + + +hc_nodeReplaceChildNodeName +Curt Arnold + + The "replaceChild(newChild,oldChild)" method returns + the node being replaced. + + Replace the second Element of the second employee with + a newly created node Element and check the NodeName + returned by the "replaceChild(newChild,oldChild)" + method. The returned node should have a NodeName equal + to "em". + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodereplacechildoldchildnonexistent.xml b/test/testcases/tests/level1/core/hc_nodereplacechildoldchildnonexistent.xml new file mode 100644 index 0000000..907da84 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodereplacechildoldchildnonexistent.xml @@ -0,0 +1,51 @@ + + + + + +hc_nodeReplaceChildOldChildNonexistent +Curt Arnold + + The "replaceChild(newChild,oldChild)" method raises a + NOT_FOUND_ERR DOMException if the old child is + not a child of this node. + + Retrieve the second employee and attempt to replace a + node that is not one of its children. An attempt to + replace such a node should raise the desired exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodetextnodeattribute.xml b/test/testcases/tests/level1/core/hc_nodetextnodeattribute.xml new file mode 100644 index 0000000..f7a14ac --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodetextnodeattribute.xml @@ -0,0 +1,44 @@ + + + + + +hc_nodeTextNodeAttribute +Curt Arnold + +The "getAttributes()" method invoked on a Text +Node returns null. + +Retrieve the Text node from the last child of the +first employee and invoke the "getAttributes()" method +on the Text Node. It should return null. + + +2002-06-09 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodetextnodename.xml b/test/testcases/tests/level1/core/hc_nodetextnodename.xml new file mode 100644 index 0000000..54f4a8b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodetextnodename.xml @@ -0,0 +1,37 @@ + + + + + +hc_nodeTextNodeName +Curt Arnold + + The string returned by the "getNodeName()" method for a + Text Node is "#text". + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodetextnodetype.xml b/test/testcases/tests/level1/core/hc_nodetextnodetype.xml new file mode 100644 index 0000000..dfadb11 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodetextnodetype.xml @@ -0,0 +1,48 @@ + + + + + +hc_nodeTextNodeType +Curt Arnold + + + The "getNodeType()" method for a Text Node + + returns the constant value 3. + + + + Retrieve the Text node from the last child of + + the first employee and invoke the "getNodeType()" + + method. The method should return 3. + + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodetextnodevalue.xml b/test/testcases/tests/level1/core/hc_nodetextnodevalue.xml new file mode 100644 index 0000000..83286f8 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodetextnodevalue.xml @@ -0,0 +1,43 @@ + + + + + +hc_nodeTextNodeValue +Curt Arnold + + The string returned by the "getNodeValue()" method for a + Text Node is the content of the Text node. + + Retrieve the Text node from the last child of the first + employee and check the string returned by the + "getNodeValue()" method. It should be equal to + "1230 North Ave. Dallas, Texas 98551". + + +2002-06-09 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodevalue01.xml b/test/testcases/tests/level1/core/hc_nodevalue01.xml new file mode 100644 index 0000000..62a4e3d --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodevalue01.xml @@ -0,0 +1,37 @@ + + + + + +hc_nodevalue01 +Curt Arnold + +An element is created, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodevalue02.xml b/test/testcases/tests/level1/core/hc_nodevalue02.xml new file mode 100644 index 0000000..2c31f8a --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodevalue02.xml @@ -0,0 +1,38 @@ + + + + + +hc_nodevalue02 +Curt Arnold + +An comment is created, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodevalue03.xml b/test/testcases/tests/level1/core/hc_nodevalue03.xml new file mode 100644 index 0000000..6e7ac63 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodevalue03.xml @@ -0,0 +1,47 @@ + + + + + +hc_nodevalue03 +Curt Arnold + +An entity reference is created, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodevalue04.xml b/test/testcases/tests/level1/core/hc_nodevalue04.xml new file mode 100644 index 0000000..f85ff65 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodevalue04.xml @@ -0,0 +1,46 @@ + + + + + +hc_nodevalue04 +Curt Arnold + +An document type accessed, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodevalue05.xml b/test/testcases/tests/level1/core/hc_nodevalue05.xml new file mode 100644 index 0000000..9476bf4 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodevalue05.xml @@ -0,0 +1,37 @@ + + + + + +hc_nodevalue05 +Curt Arnold + +A document fragment is created, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2002-06-09 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodevalue06.xml b/test/testcases/tests/level1/core/hc_nodevalue06.xml new file mode 100644 index 0000000..2f8b0a4 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodevalue06.xml @@ -0,0 +1,35 @@ + + + + + +hc_nodevalue06 +Curt Arnold + +An document is accessed, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2002-06-09 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodevalue07.xml b/test/testcases/tests/level1/core/hc_nodevalue07.xml new file mode 100644 index 0000000..0c99f89 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodevalue07.xml @@ -0,0 +1,47 @@ + + + + + +hc_nodevalue07 +Curt Arnold + +An Entity is accessed, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_nodevalue08.xml b/test/testcases/tests/level1/core/hc_nodevalue08.xml new file mode 100644 index 0000000..e753f87 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodevalue08.xml @@ -0,0 +1,47 @@ + + + + + +hc_nodevalue08 +Curt Arnold + +An notation is accessed, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_notationsremovenameditem1.xml b/test/testcases/tests/level1/core/hc_notationsremovenameditem1.xml new file mode 100644 index 0000000..b565e18 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_notationsremovenameditem1.xml @@ -0,0 +1,44 @@ + + + + + +hc_notationsremovenameditem1 +Curt Arnold + +An attempt to add remove an notation should result in a NO_MODIFICATION_ERR. + +2004-01-11 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_notationssetnameditem1.xml b/test/testcases/tests/level1/core/hc_notationssetnameditem1.xml new file mode 100644 index 0000000..575b80b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_notationssetnameditem1.xml @@ -0,0 +1,50 @@ + + + + + +hc_notationssetnameditem1 +Curt Arnold + +An attempt to add an element to the named node map returned by notations should +result in a NO_MODIFICATION_ERR or HIERARCHY_REQUEST_ERR. + +2004-01-11 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_textindexsizeerrnegativeoffset.xml b/test/testcases/tests/level1/core/hc_textindexsizeerrnegativeoffset.xml new file mode 100644 index 0000000..7e51807 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_textindexsizeerrnegativeoffset.xml @@ -0,0 +1,49 @@ + + + + + +hc_textIndexSizeErrNegativeOffset +Curt Arnold + + The "splitText(offset)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset is + negative. + + Retrieve the textual data from the second child of the + third employee and invoke the "splitText(offset)" method. + The desired exception should be raised since the offset + is a negative number. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_textindexsizeerroffsetoutofbounds.xml b/test/testcases/tests/level1/core/hc_textindexsizeerroffsetoutofbounds.xml new file mode 100644 index 0000000..fc3f23b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_textindexsizeerroffsetoutofbounds.xml @@ -0,0 +1,50 @@ + + + + + +hc_textIndexSizeErrOffsetOutOfBounds +Curt Arnold + + The "splitText(offset)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset is + greater than the number of characters in the Text node. + + Retrieve the textual data from the second child of the + third employee and invoke the "splitText(offset)" method. + The desired exception should be raised since the offset + is a greater than the number of characters in the Text + node. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_textparseintolistofelements.xml b/test/testcases/tests/level1/core/hc_textparseintolistofelements.xml new file mode 100644 index 0000000..280b79c --- /dev/null +++ b/test/testcases/tests/level1/core/hc_textparseintolistofelements.xml @@ -0,0 +1,75 @@ + + + + + +hc_textParseIntoListOfElements +Curt Arnold + + Retrieve the textual data from the last child of the + second employee. That node is composed of two + EntityReference nodes and two Text nodes. After + the content node is parsed, the "acronym" Element + should contain four children with each one of the + EntityReferences containing one child. + + +2002-06-09 + + + + + + + + + + + + + + + +"β" +" Dallas, " +"γ" +"\n 98554" + + +"β Dallas, γ\n 98554" + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_textsplittextfour.xml b/test/testcases/tests/level1/core/hc_textsplittextfour.xml new file mode 100644 index 0000000..0adfa92 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_textsplittextfour.xml @@ -0,0 +1,46 @@ + + + + + +hc_textSplitTextFour +Curt Arnold + + The "splitText(offset)" method returns the new Text node. + + Retrieve the textual data from the last child of the + first employee and invoke the "splitText(offset)" method. + The method should return the new Text node. The offset + value used for this test is 30. The "getNodeValue()" + method is called to check that the new node now contains + the characters at and after position 30. + (Starting count at 0) + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_textsplittextone.xml b/test/testcases/tests/level1/core/hc_textsplittextone.xml new file mode 100644 index 0000000..9fc5307 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_textsplittextone.xml @@ -0,0 +1,49 @@ + + + + + +hc_textSplitTextOne +Curt Arnold + + The "splitText(offset)" method breaks the Text node into + two Text nodes at the specified offset keeping each node + as siblings in the tree. + + Retrieve the textual data from the second child of the + third employee and invoke the "splitText(offset)" method. + The method splits the Text node into two new sibling + Text nodes keeping both of them in the tree. This test + checks the "nextSibling()" method of the original node + to ensure that the two nodes are indeed siblings. + + +2002-06-09 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_textsplittextthree.xml b/test/testcases/tests/level1/core/hc_textsplittextthree.xml new file mode 100644 index 0000000..bb4f55b --- /dev/null +++ b/test/testcases/tests/level1/core/hc_textsplittextthree.xml @@ -0,0 +1,48 @@ + + + + + +hc_textSplitTextThree +Curt Arnold + + After the "splitText(offset)" method breaks the Text node + into two Text nodes, the new Text node contains all the + content at and after the offset point. + + Retrieve the textual data from the second child of the + third employee and invoke the "splitText(offset)" method. + The new Text node should contain all the content + at and after the offset point. The "getNodeValue()" + method is called to check that the new node now contains + the characters at and after position seven. + (Starting count at 0) + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_textsplittexttwo.xml b/test/testcases/tests/level1/core/hc_textsplittexttwo.xml new file mode 100644 index 0000000..86f8f17 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_textsplittexttwo.xml @@ -0,0 +1,47 @@ + + + + + +hc_textSplitTextTwo +Curt Arnold + + After the "splitText(offset)" method breaks the Text node + into two Text nodes, the original node contains all the + content up to the offset point. + + Retrieve the textual data from the second child of the + third employee and invoke the "splitText(offset)" method. + The original Text node should contain all the content + up to the offset point. The "getNodeValue()" method + is called to check that the original node now contains + the first five characters. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/hc_textwithnomarkup.xml b/test/testcases/tests/level1/core/hc_textwithnomarkup.xml new file mode 100644 index 0000000..3b263c5 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_textwithnomarkup.xml @@ -0,0 +1,47 @@ + + + + + +hc_textWithNoMarkup +Curt Arnold + + If there is not any markup inside an Element or Attr node + content, then the text is contained in a single object + implementing the Text interface that is the only child + of the element. + + Retrieve the textual data from the second child of the + third employee. That Text node contains a block of + multiple text lines without markup, so they should be + treated as a single Text node. The "getNodeValue()" + method should contain the combination of the two lines. + + +2002-06-09 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/metadata.xml b/test/testcases/tests/level1/core/metadata.xml new file mode 100644 index 0000000..6826b5c --- /dev/null +++ b/test/testcases/tests/level1/core/metadata.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapchildnoderange.xml b/test/testcases/tests/level1/core/namednodemapchildnoderange.xml new file mode 100644 index 0000000..12dbd09 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapchildnoderange.xml @@ -0,0 +1,49 @@ + + + + + +namednodemapChildNodeRange +NIST + + The range of valid child node indices is 0 to Length -1. + + Create a NamedNodeMap object from the attributes of the + last child of the third employee and traverse the + list from index 0 thru length -1. All indices should + be valid. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapgetnameditem.xml b/test/testcases/tests/level1/core/namednodemapgetnameditem.xml new file mode 100644 index 0000000..ab7a012 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapgetnameditem.xml @@ -0,0 +1,46 @@ + + + + + +namednodemapGetNamedItem +NIST + + The "getNamedItem(name)" method retrieves a node + specified by name. + + Retrieve the second employee and create a NamedNodeMap + listing of the attributes of the last child. Once the + list is created an invocation of the "getNamedItem(name)" + method is done with name="domestic". This should result + in the domestic Attr node being returned. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapinuseattributeerr.xml b/test/testcases/tests/level1/core/namednodemapinuseattributeerr.xml new file mode 100644 index 0000000..9a530a6 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapinuseattributeerr.xml @@ -0,0 +1,57 @@ + + + + + +namedNodeMapInUseAttributeErr +NIST + +The "setNamedItem(arg)" method raises a +INUSE_ATTRIBUTE_ERR DOMException if "arg" is an +Attr that is already in an attribute of another Element. + +Create a NamedNodeMap object from the attributes of the +last child of the third employee and attempt to add +an attribute that is already being used by the first +employee. This should raise the desired exception. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapnotfounderr.xml b/test/testcases/tests/level1/core/namednodemapnotfounderr.xml new file mode 100644 index 0000000..f608066 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapnotfounderr.xml @@ -0,0 +1,49 @@ + + + + + +namednodemapNotFoundErr +NIST + + The "removeNamedItem(name)" method raises a + NOT_FOUND_ERR DOMException if there is not a node + named "name" in the map. + + Create a NamedNodeMap object from the attributes of the + last child of the third employee and attempt to remove + the "district" attribute. There is not a node named + "district" in the list and therefore the desired + exception should be raised. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapnumberofnodes.xml b/test/testcases/tests/level1/core/namednodemapnumberofnodes.xml new file mode 100644 index 0000000..03c61f5 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapnumberofnodes.xml @@ -0,0 +1,45 @@ + + + + + +namednodemapNumberOfNodes +NIST + + The "getLength()" method returns the number of nodes + in the map. + + Retrieve the second employee and create a NamedNodeMap + listing of the attributes of the last child. Once the + list is created an invocation of the "getLength()" + method is executed. The number of nodes should be 2. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapremovenameditem.xml b/test/testcases/tests/level1/core/namednodemapremovenameditem.xml new file mode 100644 index 0000000..da7c3c2 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapremovenameditem.xml @@ -0,0 +1,54 @@ + + + + + +namednodemapRemoveNamedItem +NIST + + The "removeNamedItem(name)" method removes a node + specified by name. + + Retrieve the third employee and create a NamedNodeMap + object of the attributes of the last child. Once the + list is created invoke the "removeNamedItem(name)" + method with name="street". This should result + in the removal of the specified attribute and + the "getSpecified()" method should return false. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapremovenameditemgetvalue.xml b/test/testcases/tests/level1/core/namednodemapremovenameditemgetvalue.xml new file mode 100644 index 0000000..f1d221f --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapremovenameditemgetvalue.xml @@ -0,0 +1,56 @@ + + + + + +namednodemapRemoveNamedItemGetValue +NIST + + If the node removed by the "removeNamedItem(name)" method + is an Attr node with a default value it is immediately + replaced. + + Retrieve the third employee and create a NamedNodeMap + object of the attributes of the last child. Once the + list is created invoke the "removeNamedItem(name)" + method with name="street". The "removeNamedItem(name)" + method should remove the "street" attribute and since + it has a default value of "Yes", that value should + immediately be the attributes value. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapremovenameditemreturnnodevalue.xml b/test/testcases/tests/level1/core/namednodemapremovenameditemreturnnodevalue.xml new file mode 100644 index 0000000..043edfe --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapremovenameditemreturnnodevalue.xml @@ -0,0 +1,47 @@ + + + + + +namednodemapRemoveNamedItemReturnNodeValue +NIST + + The "removeNamedItem(name)" method returns the node + removed from the map. + + Retrieve the third employee and create a NamedNodeMap + object of the attributes of the last child. Once the + list is created invoke the "removeNamedItem(name)" + method with name="street". The "removeNamedItem(name)" + method should remove the existing "street" attribute + and return it. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapreturnattrnode.xml b/test/testcases/tests/level1/core/namednodemapreturnattrnode.xml new file mode 100644 index 0000000..ed53288 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapreturnattrnode.xml @@ -0,0 +1,55 @@ + + + + + +namednodemapReturnAttrNode +NIST + + The "getNamedItem(name)" method returns a node of any + type specified by name. + + Retrieve the second employee and create a NamedNodeMap + listing of the attributes of the last child. Once the + list is created an invocation of the "getNamedItem(name)" + method is done with name="street". This should result + in the method returning an Attr node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapreturnfirstitem.xml b/test/testcases/tests/level1/core/namednodemapreturnfirstitem.xml new file mode 100644 index 0000000..1eb5004 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapreturnfirstitem.xml @@ -0,0 +1,51 @@ + + + + + +namednodemapReturnFirstItem +NIST + + The "item(index)" method returns the indexth item in + the map(test for first item). + + Retrieve the second employee and create a NamedNodeMap + listing of the attributes of the last child. Since the + DOM does not specify an order of these nodes the contents + of the FIRST node can contain either "domestic" or "street". + The test should return "true" if the FIRST node is either + of these values. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapreturnlastitem.xml b/test/testcases/tests/level1/core/namednodemapreturnlastitem.xml new file mode 100644 index 0000000..cc6bd27 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapreturnlastitem.xml @@ -0,0 +1,51 @@ + + + + + +namednodemapReturnLastItem +NIST + + The "item(index)" method returns the indexth item in + the map(test for last item). + + Retrieve the second employee and create a NamedNodeMap + listing of the attributes of the last child. Since the + DOM does not specify an order of these nodes the contents + of the LAST node can contain either "domestic" or "street". + The test should return "true" if the LAST node is either + of these values. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapreturnnull.xml b/test/testcases/tests/level1/core/namednodemapreturnnull.xml new file mode 100644 index 0000000..fef7d3c --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapreturnnull.xml @@ -0,0 +1,45 @@ + + + + + +namednodemapReturnNull +NIST + + The "getNamedItem(name)" method returns null of the + specified name did not identify any node in the map. + + Retrieve the second employee and create a NamedNodeMap + listing of the attributes of the last child. Once the + list is created an invocation of the "getNamedItem(name)" + method is done with name="district". This name does not + match any names in the list therefore the method should + return null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapsetnameditem.xml b/test/testcases/tests/level1/core/namednodemapsetnameditem.xml new file mode 100644 index 0000000..6114520 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapsetnameditem.xml @@ -0,0 +1,56 @@ + + + + + +namednodemapSetNamedItem +NIST + + The "setNamedItem(arg)" method adds a node using its + nodeName attribute. + + Retrieve the second employee and create a NamedNodeMap + object from the attributes of the last child by + invoking the "getAttributes()" method. Once the + list is created an invocation of the "setNamedItem(arg)" + method is done with arg=newAttr, where newAttr is a + new Attr Node previously created. The "setNamedItem(arg)" + method should add then new node to the NamedNodeItem + object by using its "nodeName" attribute("district'). + This node is then retrieved using the "getNamedItem(name)" + method. This test uses the "createAttribute(name)" + method from the document interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapsetnameditemreturnvalue.xml b/test/testcases/tests/level1/core/namednodemapsetnameditemreturnvalue.xml new file mode 100644 index 0000000..948c972 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapsetnameditemreturnvalue.xml @@ -0,0 +1,56 @@ + + + + + +namednodemapSetNamedItemReturnValue +NIST + + If the "setNamedItem(arg)" method replaces an already + existing node with the same name then the already + existing node is returned. + + Retrieve the third employee and create a NamedNodeMap + object from the attributes of the last child by + invoking the "getAttributes()" method. Once the + list is created an invocation of the "setNamedItem(arg)" + method is done with arg=newAttr, where newAttr is a + new Attr Node previously created and whose node name + already exists in the map. The "setNamedItem(arg)" + method should replace the already existing node with + the new one and return the existing node. + This test uses the "createAttribute(name)" method from + the document interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapsetnameditemthatexists.xml b/test/testcases/tests/level1/core/namednodemapsetnameditemthatexists.xml new file mode 100644 index 0000000..7ae5aac --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapsetnameditemthatexists.xml @@ -0,0 +1,59 @@ + + + + + +namednodemapSetNamedItemThatExists +NIST + + If the node to be added by the "setNamedItem(arg)" method + already exists in the NamedNodeMap, it is replaced by + the new one. + + Retrieve the second employee and create a NamedNodeMap + object from the attributes of the last child by + invoking the "getAttributes()" method. Once the + list is created an invocation of the "setNamedItem(arg)" + method is done with arg=newAttr, where newAttr is a + new Attr Node previously created and whose node name + already exists in the map. The "setNamedItem(arg)" + method should replace the already existing node with + the new one. + This node is then retrieved using the "getNamedItem(name)" + method. This test uses the "createAttribute(name)" + method from the document interface + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapsetnameditemwithnewvalue.xml b/test/testcases/tests/level1/core/namednodemapsetnameditemwithnewvalue.xml new file mode 100644 index 0000000..bfc17a7 --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapsetnameditemwithnewvalue.xml @@ -0,0 +1,50 @@ + + + + + +namednodemapSetNamedItemWithNewValue +NIST + + If the "setNamedItem(arg)" method does not replace an + existing node with the same name then it returns null. + + Retrieve the third employee and create a NamedNodeMap + object from the attributes of the last child. + Once the list is created the "setNamedItem(arg)" method + is invoked with arg=newAttr, where newAttr is a + newly created Attr Node and whose node name + already exists in the map. The "setNamedItem(arg)" + method should add the new node and return null. + This test uses the "createAttribute(name)" method from + the document interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/namednodemapwrongdocumenterr.xml b/test/testcases/tests/level1/core/namednodemapwrongdocumenterr.xml new file mode 100644 index 0000000..9f1971c --- /dev/null +++ b/test/testcases/tests/level1/core/namednodemapwrongdocumenterr.xml @@ -0,0 +1,56 @@ + + + + + +namednodemapWrongDocumentErr +NIST + + The "setNamedItem(arg)" method raises a + WRONG_DOCUMENT_ERR DOMException if "arg" was created + from a different document than the one that created + the NamedNodeMap. + + Create a NamedNodeMap object from the attributes of the + last child of the third employee and attempt to add + another Attr node to it that was created from a + different DOM document. This should raise the desired + exception. This method uses the "createAttribute(name)" + method from the Document interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeappendchild.xml b/test/testcases/tests/level1/core/nodeappendchild.xml new file mode 100644 index 0000000..1af00a1 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeappendchild.xml @@ -0,0 +1,49 @@ + + + + + +nodeAppendChild +NIST + + The "appendChild(newChild)" method adds the node + "newChild" to the end of the list of children of the + node. + + Retrieve the second employee and append a new Element + node to the list of children. The last node in the list + is then retrieved and its NodeName examined. The + "getNodeName()" method should return "newChild". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeappendchildchildexists.xml b/test/testcases/tests/level1/core/nodeappendchildchildexists.xml new file mode 100644 index 0000000..f8d1888 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeappendchildchildexists.xml @@ -0,0 +1,60 @@ + + + + + +nodeAppendChildChildExists +NIST + + If the "newChild" is already in the tree, it is first + removed before the new one is appended. + + Retrieve the first child of the second employee and + append the first child to the end of the list. After + the "appendChild(newChild)" method is invoked the first + child should be the one that was second and the last + child should be the one that was first. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeappendchilddocfragment.xml b/test/testcases/tests/level1/core/nodeappendchilddocfragment.xml new file mode 100644 index 0000000..b10cdc0 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeappendchilddocfragment.xml @@ -0,0 +1,70 @@ + + + + + +nodeAppendChildDocFragment +NIST + + Create and populate a new DocumentFragment object and + append it to the second employee. After the + "appendChild(newChild)" method is invoked retrieve the + new nodes at the end of the list, they should be the + two Element nodes from the DocumentFragment. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + +"employeeId" +"name" +"position" +"salary" +"gender" +"address" +"newChild1" +"newChild2" + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeappendchildgetnodename.xml b/test/testcases/tests/level1/core/nodeappendchildgetnodename.xml new file mode 100644 index 0000000..bf34ad1 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeappendchildgetnodename.xml @@ -0,0 +1,46 @@ + + + + + +nodeAppendChildGetNodeName +NIST + + The "appendChild(newChild)" method returns the node + added. + + Append a newly created node to the child list of the + second employee and check the NodeName returned. The + "getNodeName()" method should return "newChild". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeappendchildinvalidnodetype.xml b/test/testcases/tests/level1/core/nodeappendchildinvalidnodetype.xml new file mode 100644 index 0000000..fa17937 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeappendchildinvalidnodetype.xml @@ -0,0 +1,49 @@ + + + + + +nodeAppendChildInvalidNodeType +NIST + + The "appendChild(newChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if this node is of + a type that does not allow children of the type "newChild" + to be inserted. + + Retrieve the root node and attempt to append a newly + created Attr node. An Element node cannot have children + of the "Attr" type, therefore the desired exception + should be raised. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeappendchildnewchilddiffdocument.xml b/test/testcases/tests/level1/core/nodeappendchildnewchilddiffdocument.xml new file mode 100644 index 0000000..2d773bf --- /dev/null +++ b/test/testcases/tests/level1/core/nodeappendchildnewchilddiffdocument.xml @@ -0,0 +1,53 @@ + + + + + +nodeAppendChildNewChildDiffDocument +NIST + + The "appendChild(newChild)" method raises a + WRONG_DOCUMENT_ERR DOMException if the "newChild" was + created from a different document than the one that + created this node. + + Retrieve the second employee and attempt to append + a node created from a different document. An attempt + to make such a replacement should raise the desired + exception. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeappendchildnodeancestor.xml b/test/testcases/tests/level1/core/nodeappendchildnodeancestor.xml new file mode 100644 index 0000000..cb50075 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeappendchildnodeancestor.xml @@ -0,0 +1,50 @@ + + + + + +nodeAppendChildNodeAncestor +NIST + + The "appendChild(newChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if the node to + append is one of this node's ancestors. + + Retrieve the second employee and attempt to append + an ancestor node(root node) to it. + An attempt to make such an addition should raise the + desired exception. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeappendchildnomodificationallowederr.xml b/test/testcases/tests/level1/core/nodeappendchildnomodificationallowederr.xml new file mode 100644 index 0000000..f748185 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeappendchildnomodificationallowederr.xml @@ -0,0 +1,61 @@ + + + + + +nodeAppendChildNoModificationAllowedErr +NIST + + The "appendChild(newChild)" method causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the FIRST item + from the entity reference and execute the "appendChild(newChild)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeappendchildnomodificationallowederrEE.xml b/test/testcases/tests/level1/core/nodeappendchildnomodificationallowederrEE.xml new file mode 100644 index 0000000..475ab94 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeappendchildnomodificationallowederrEE.xml @@ -0,0 +1,46 @@ + + + + + +nodeAppendChildNoModificationAllowedErrEE +Curt Arnold + + The "appendChild(newChild)" method causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Create an ent4 entity reference and the "appendChild(newChild)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-21 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeattributenodeattribute.xml b/test/testcases/tests/level1/core/nodeattributenodeattribute.xml new file mode 100644 index 0000000..e3e7857 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeattributenodeattribute.xml @@ -0,0 +1,46 @@ + + + + + +characterdataDeleteDataEnd +NIST + +The "getAttributes()" method invoked on an Attribute +Node returns null. + +Retrieve the first attribute from the last child of the +first employee and invoke the "getAttributes()" method +on the Attribute Node. It should return null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeattributenodename.xml b/test/testcases/tests/level1/core/nodeattributenodename.xml new file mode 100644 index 0000000..2e540e6 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeattributenodename.xml @@ -0,0 +1,50 @@ + + + + + +nodeAttributeNodeName +NIST + + + The string returned by the "getNodeName()" method for an + + Attribute Node is the name of the Attribute. + + + + Retrieve the Attribute named "domestic" from the last + + child of the first employee and check the string returned + + by the "getNodeName()" method. It should be equal to + + "domestic". + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeattributenodetype.xml b/test/testcases/tests/level1/core/nodeattributenodetype.xml new file mode 100644 index 0000000..409970c --- /dev/null +++ b/test/testcases/tests/level1/core/nodeattributenodetype.xml @@ -0,0 +1,48 @@ + + + + + +nodeAttributeNodeType +NIST + + + The "getNodeType()" method for an Attribute Node + + returns the constant value 2. + + + + Retrieve the first attribute from the last child of + + the first employee and invoke the "getNodeType()" + + method. The method should return 2. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeattributenodevalue.xml b/test/testcases/tests/level1/core/nodeattributenodevalue.xml new file mode 100644 index 0000000..6a4a603 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeattributenodevalue.xml @@ -0,0 +1,50 @@ + + + + + +nodeAttributeNodeValue +NIST + + + The string returned by the "getNodeValue()" method for an + + Attribute Node is the value of the Attribute. + + + + Retrieve the Attribute named "domestic" from the last + + child of the first employee and check the string returned + + by the "getNodeValue()" method. It should be equal to + + "Yes". + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodecdatasectionnodeattribute.xml b/test/testcases/tests/level1/core/nodecdatasectionnodeattribute.xml new file mode 100644 index 0000000..69d7c5b --- /dev/null +++ b/test/testcases/tests/level1/core/nodecdatasectionnodeattribute.xml @@ -0,0 +1,50 @@ + + + + + +nodeCDATASectionNodeAttribute +NIST + +The "getAttributes()" method invoked on a CDATASection +Node returns null. + +Retrieve the CDATASection node contained inside the +second child of the second employee and invoke the +"getAttributes()" method on the CDATASection node. +It should return null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodecdatasectionnodename.xml b/test/testcases/tests/level1/core/nodecdatasectionnodename.xml new file mode 100644 index 0000000..4c0d99b --- /dev/null +++ b/test/testcases/tests/level1/core/nodecdatasectionnodename.xml @@ -0,0 +1,48 @@ + + + + + +nodeCDATASectionNodeName +NIST + + The string returned by the "getNodeName()" method for a + CDATASection Node is #cdata-section". + + Retrieve the CDATASection node inside the second child + of the second employee and check the string returned + by the "getNodeName()" method. It should be equal to + "#cdata-section". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodecdatasectionnodetype.xml b/test/testcases/tests/level1/core/nodecdatasectionnodetype.xml new file mode 100644 index 0000000..9ffe7dc --- /dev/null +++ b/test/testcases/tests/level1/core/nodecdatasectionnodetype.xml @@ -0,0 +1,47 @@ + + + + + +nodeCDATASectionNodeType +NIST + + The "getNodeType()" method for a CDATASection Node + returns the constant value 4. + + Retrieve the CDATASection node contained inside the + second child of the second employee and invoke the + "getNodeType()" method. The method should return 4. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodecdatasectionnodevalue.xml b/test/testcases/tests/level1/core/nodecdatasectionnodevalue.xml new file mode 100644 index 0000000..905b114 --- /dev/null +++ b/test/testcases/tests/level1/core/nodecdatasectionnodevalue.xml @@ -0,0 +1,51 @@ + + + + + +nodeCDATASectionNodeValue +NIST + + The string returned by the "getNodeValue()" method for a + CDATASection Node is the content of the CDATASection. + + Retrieve the CDATASection node inside the second child + of the second employee and check the string returned + by the "getNodeValue()" method. It should be equal to + "This is a CDATA Section with EntityReference number 2 + &ent2;". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodechildnodes.xml b/test/testcases/tests/level1/core/nodechildnodes.xml new file mode 100644 index 0000000..65bc32f --- /dev/null +++ b/test/testcases/tests/level1/core/nodechildnodes.xml @@ -0,0 +1,53 @@ + + + + + +nodechildnodes +NIST + +Collect the element names from Node.childNodes and check against expectations. + +Mary Brady +2001-08-17 + + + + + + + + + + + + "employeeId" + "name" + "position" + "salary" + "gender" + "address" + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodechildnodesappendchild.xml b/test/testcases/tests/level1/core/nodechildnodesappendchild.xml new file mode 100644 index 0000000..8297b0a --- /dev/null +++ b/test/testcases/tests/level1/core/nodechildnodesappendchild.xml @@ -0,0 +1,44 @@ + + + + + +nodechildnodesappendchild +NIST + +Add an element and check that the previously retrieved childNodes NodeList +is live. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodechildnodesempty.xml b/test/testcases/tests/level1/core/nodechildnodesempty.xml new file mode 100644 index 0000000..5588e18 --- /dev/null +++ b/test/testcases/tests/level1/core/nodechildnodesempty.xml @@ -0,0 +1,47 @@ + + + + + +nodeChildNodesEmpty +NIST + + The "getChildNodes()" method returns a NodeList + that contains all children of this node. If there + are not any children, this is a NodeList that does not + contain any nodes. + + Retrieve the Text node from the second child of the second + employee and invoke the "getChildNodes()" method. The + NodeList returned should not have any nodes. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodecloneattributescopied.xml b/test/testcases/tests/level1/core/nodecloneattributescopied.xml new file mode 100644 index 0000000..ddfdc18 --- /dev/null +++ b/test/testcases/tests/level1/core/nodecloneattributescopied.xml @@ -0,0 +1,54 @@ + + + + + +nodeCloneAttributesCopied +NIST + + If the cloneNode method is used to clone an + Element node, all the attributes of the Element are + copied along with their values. + + Retrieve the last child of the second employee and invoke + the cloneNode method. The + duplicate node returned by the method should copy the + attributes associated with this node. + +Mary Brady +2001-08-17 + + + + + + + + + + + +"domestic" +"street" + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeclonefalsenocopytext.xml b/test/testcases/tests/level1/core/nodeclonefalsenocopytext.xml new file mode 100644 index 0000000..175c936 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeclonefalsenocopytext.xml @@ -0,0 +1,46 @@ + + + + + +nodeCloneFalseNoCopyText +NIST + + The "cloneNode(deep)" method does not copy text unless it + is deep cloned.(Test for deep=false) + + Retrieve the fourth child of the second employee and + the "cloneNode(deep)" method with deep=false. The + duplicate node returned by the method should not copy + any text data contained in this node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeclonegetparentnull.xml b/test/testcases/tests/level1/core/nodeclonegetparentnull.xml new file mode 100644 index 0000000..dcaa41a --- /dev/null +++ b/test/testcases/tests/level1/core/nodeclonegetparentnull.xml @@ -0,0 +1,42 @@ + + + + + +nodeCloneGetParentNull +NIST + + The duplicate node returned by the "cloneNode(deep)" + method does not have a ParentNode. + + Retrieve the second employee and invoke the + "cloneNode(deep)" method with deep=false. The + duplicate node returned should return null when the + "getParentNode()" is invoked. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeclonenodefalse.xml b/test/testcases/tests/level1/core/nodeclonenodefalse.xml new file mode 100644 index 0000000..e51c7d0 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeclonenodefalse.xml @@ -0,0 +1,49 @@ + + + + + +nodeCloneNodeFalse +NIST + + The "cloneNode(deep)" method returns a copy of the node + only if deep=false. + + Retrieve the second employee and invoke the + "cloneNode(deep)" method with deep=false. The + method should only clone this node. The NodeName and + length of the NodeList are checked. The "getNodeName()" + method should return "employee" and the "getLength()" + method should return 0. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeclonenodetrue.xml b/test/testcases/tests/level1/core/nodeclonenodetrue.xml new file mode 100644 index 0000000..812e235 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeclonenodetrue.xml @@ -0,0 +1,83 @@ + + + + + +nodeCloneNodeTrue +NIST + + The "cloneNode(deep)" method returns a copy of the node + and the subtree under it if deep=true. + + Retrieve the second employee and invoke the + "cloneNode(deep)" method with deep=true. The + method should clone this node and the subtree under it. + The NodeName of each child in the returned node is + checked to insure the entire subtree under the second + employee was cloned. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + +"#text" +"employeeId" +"#text" +"name" +"#text" +"position" +"#text" +"salary" +"#text" +"gender" +"#text" +"address" +"#text" + + +"employeeId" +"name" +"position" +"salary" +"gender" +"address" + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeclonetruecopytext.xml b/test/testcases/tests/level1/core/nodeclonetruecopytext.xml new file mode 100644 index 0000000..a4cacc9 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeclonetruecopytext.xml @@ -0,0 +1,42 @@ + + + + + +nodeclonetruecopytext +NIST + + Retrieve the second salary and + the "cloneNode(deep)" method with deep=true. The + duplicate node returned by the method should copy + any text data contained in this node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodecommentnodeattributes.xml b/test/testcases/tests/level1/core/nodecommentnodeattributes.xml new file mode 100644 index 0000000..0a3b8c2 --- /dev/null +++ b/test/testcases/tests/level1/core/nodecommentnodeattributes.xml @@ -0,0 +1,50 @@ + + + + + +nodeCommentNodeAttributes +NIST + + The "getAttributes()" method invoked on a Comment + Node returns null. + + Find any comment that is an immediate child of the root + and assert that Node.attributes is null. Then create + a new comment node (in case they had been omitted) and + make the assertion. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodecommentnodename.xml b/test/testcases/tests/level1/core/nodecommentnodename.xml new file mode 100644 index 0000000..a907ba7 --- /dev/null +++ b/test/testcases/tests/level1/core/nodecommentnodename.xml @@ -0,0 +1,47 @@ + + + + + +nodeCommentNodeName +NIST + + The string returned by the "getNodeName()" method for a + Comment Node is "#comment". + + Retrieve the Comment node in the XML file + and check the string returned by the "getNodeName()" + method. It should be equal to "#comment". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodecommentnodetype.xml b/test/testcases/tests/level1/core/nodecommentnodetype.xml new file mode 100644 index 0000000..d5817b5 --- /dev/null +++ b/test/testcases/tests/level1/core/nodecommentnodetype.xml @@ -0,0 +1,46 @@ + + + + + +nodeCommentNodeType +NIST + + The "getNodeType()" method for a Comment Node + returns the constant value 8. + + Retrieve the nodes from the document and check for + a comment node and invoke the "getNodeType()" method. This should + return 8. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodecommentnodevalue.xml b/test/testcases/tests/level1/core/nodecommentnodevalue.xml new file mode 100644 index 0000000..4dc430c --- /dev/null +++ b/test/testcases/tests/level1/core/nodecommentnodevalue.xml @@ -0,0 +1,46 @@ + + + + + +nodeCommentNodeValue +NIST + + The string returned by the "getNodeValue()" method for a + Comment Node is the content of the comment. + + Retrieve the comment in the XML file and + check the string returned by the "getNodeValue()" method. + It should be equal to "This is comment number 1". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodedocumentfragmentnodename.xml b/test/testcases/tests/level1/core/nodedocumentfragmentnodename.xml new file mode 100644 index 0000000..a1fdda6 --- /dev/null +++ b/test/testcases/tests/level1/core/nodedocumentfragmentnodename.xml @@ -0,0 +1,39 @@ + + + + + +nodeDocumentFragmentNodeName +NIST + + The string returned by the "getNodeName()" method for a + DocumentFragment Node is "#document-frament". + + Retrieve the DOM document and invoke the + "createDocumentFragment()" method and check the string + returned by the "getNodeName()" method. It should be + equal to "#document-fragment". + +Mary Brady +2001-08-17 + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodedocumentfragmentnodetype.xml b/test/testcases/tests/level1/core/nodedocumentfragmentnodetype.xml new file mode 100644 index 0000000..42e46da --- /dev/null +++ b/test/testcases/tests/level1/core/nodedocumentfragmentnodetype.xml @@ -0,0 +1,39 @@ + + + + + +nodeDocumentFragmentNodeType +NIST + + The "getNodeType()" method for a DocumentFragment Node + returns the constant value 11. + + Invoke the "createDocumentFragment()" method and + examine the NodeType of the document fragment + returned by the "getNodeType()" method. The method + should return 11. + +Mary Brady +2001-08-17 + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodedocumentfragmentnodevalue.xml b/test/testcases/tests/level1/core/nodedocumentfragmentnodevalue.xml new file mode 100644 index 0000000..906b5b9 --- /dev/null +++ b/test/testcases/tests/level1/core/nodedocumentfragmentnodevalue.xml @@ -0,0 +1,48 @@ + + + + + +nodeDocumentFragmentNodeValue +NIST + + The string returned by the "getNodeValue()" method for a + DocumentFragment Node is null. + + Retrieve the DOM document and invoke the + "createDocumentFragment()" method and check the string + returned by the "getNodeValue()" method. It should be + equal to null. + +Mary Brady +Curt Arnold +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodedocumentnodeattribute.xml b/test/testcases/tests/level1/core/nodedocumentnodeattribute.xml new file mode 100644 index 0000000..2fc6b8b --- /dev/null +++ b/test/testcases/tests/level1/core/nodedocumentnodeattribute.xml @@ -0,0 +1,34 @@ + + + + + +nodedocumentnodeattribute +NIST + +The "getAttributes()" method invoked on a Document +Node returns null. + +Mary Brady +2001-08-17 + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodedocumentnodename.xml b/test/testcases/tests/level1/core/nodedocumentnodename.xml new file mode 100644 index 0000000..4560d2a --- /dev/null +++ b/test/testcases/tests/level1/core/nodedocumentnodename.xml @@ -0,0 +1,38 @@ + + + + + +nodeDocumentNodeName +NIST + + The string returned by the "getNodeName()" method for a + Document Node is "#document". + + Retrieve the DOM document and check the string returned + by the "getNodeName()" method. It should be equal to + "#document". + +Mary Brady +2001-08-17 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodedocumentnodetype.xml b/test/testcases/tests/level1/core/nodedocumentnodetype.xml new file mode 100644 index 0000000..9f1e85d --- /dev/null +++ b/test/testcases/tests/level1/core/nodedocumentnodetype.xml @@ -0,0 +1,36 @@ + + + + + +nodeDocumentNodeType +NIST + +The "getNodeType()" method for a Document Node +returns the constant value 9. + +Retrieve the document and invoke the "getNodeType()" +method. The method should return 9. + +Mary Brady +2001-08-17 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodedocumentnodevalue.xml b/test/testcases/tests/level1/core/nodedocumentnodevalue.xml new file mode 100644 index 0000000..6ff28e5 --- /dev/null +++ b/test/testcases/tests/level1/core/nodedocumentnodevalue.xml @@ -0,0 +1,38 @@ + + + + + +nodeDocumentNodeValue +NIST + + The string returned by the "getNodeValue()" method for a + Document Node is null. + + Retrieve the DOM Document and check the string returned + by the "getNodeValue()" method. It should be equal to + null. + + +Mary Brady +2001-08-17 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodedocumenttypenodename.xml b/test/testcases/tests/level1/core/nodedocumenttypenodename.xml new file mode 100644 index 0000000..a168320 --- /dev/null +++ b/test/testcases/tests/level1/core/nodedocumenttypenodename.xml @@ -0,0 +1,40 @@ + + + + + +nodedocumenttypenodename +NIST + + Retrieve the DOCTYPE declaration from the XML file and + check the string returned by the "getNodeName()" + method. It should be equal to "staff" or "svg". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodedocumenttypenodetype.xml b/test/testcases/tests/level1/core/nodedocumenttypenodetype.xml new file mode 100644 index 0000000..30db085 --- /dev/null +++ b/test/testcases/tests/level1/core/nodedocumenttypenodetype.xml @@ -0,0 +1,34 @@ + + + + + +nodedocumenttypenodetype +NIST + + The "getNodeType()" method for a DocumentType Node + returns the constant value 10. + +Mary Brady +2001-08-17 + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodedocumenttypenodevalue.xml b/test/testcases/tests/level1/core/nodedocumenttypenodevalue.xml new file mode 100644 index 0000000..188761a --- /dev/null +++ b/test/testcases/tests/level1/core/nodedocumenttypenodevalue.xml @@ -0,0 +1,33 @@ + + + + + +nodedocumenttypenodevalue +NIST + + The string returned by the "getNodeValue()" method for a + DocumentType Node is null. + +Mary Brady +2001-08-17 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeelementnodeattributes.xml b/test/testcases/tests/level1/core/nodeelementnodeattributes.xml new file mode 100644 index 0000000..3620d18 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeelementnodeattributes.xml @@ -0,0 +1,52 @@ + + + + + +nodeElementNodeAttributes +NIST + + The "getAttributes()" method invoked on an Element + Node returns a NamedNodeMap containing the attributes + of this node. + + Retrieve the last child of the third employee and + invoke the "getAttributes()" method. It should return + a NamedNodeMap containing the attributes of the Element + node. + +Mary Brady +2001-08-17 + + + + + + + + + + +"domestic" +"street" + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeelementnodename.xml b/test/testcases/tests/level1/core/nodeelementnodename.xml new file mode 100644 index 0000000..6f7028b --- /dev/null +++ b/test/testcases/tests/level1/core/nodeelementnodename.xml @@ -0,0 +1,52 @@ + + + + + +nodeElementNodeName +NIST + + + The string returned by the "getNodeName()" method for an + + Element Node is its tagName. + + + + Retrieve the first Element Node(Root Node) of the + + DOM object and check the string returned by the + + "getNodeName()" method. It should be equal to its + + tagName. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeelementnodetype.xml b/test/testcases/tests/level1/core/nodeelementnodetype.xml new file mode 100644 index 0000000..84fdb9c --- /dev/null +++ b/test/testcases/tests/level1/core/nodeelementnodetype.xml @@ -0,0 +1,36 @@ + + + + + +nodeElementNodeType +NIST + + The "getNodeType()" method for an Element Node + returns the constant value 1. + + Retrieve the root node and invoke the "getNodeType()" + method. The method should return 1. + +Mary Brady +2001-08-17 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeelementnodevalue.xml b/test/testcases/tests/level1/core/nodeelementnodevalue.xml new file mode 100644 index 0000000..cffc9d5 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeelementnodevalue.xml @@ -0,0 +1,33 @@ + + + + + +nodeElementNodeValue +NIST + + The string returned by the "getNodeValue()" method for an + Element Node is null. + +Mary Brady +2001-08-17 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeentitynodeattributes.xml b/test/testcases/tests/level1/core/nodeentitynodeattributes.xml new file mode 100644 index 0000000..b8806d2 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeentitynodeattributes.xml @@ -0,0 +1,40 @@ + + + + + +nodeentitynodeattributes +NIST + + The "getAttributes()" method invoked on an Entity + Node returns null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeentitynodename.xml b/test/testcases/tests/level1/core/nodeentitynodename.xml new file mode 100644 index 0000000..e511a53 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeentitynodename.xml @@ -0,0 +1,39 @@ + + + + + +nodeEntityNodeName +NIST + +Check the nodeName of the entity returned by DocumentType.entities.getNamedItem("ent1"). + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeentitynodetype.xml b/test/testcases/tests/level1/core/nodeentitynodetype.xml new file mode 100644 index 0000000..a033257 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeentitynodetype.xml @@ -0,0 +1,40 @@ + + + + + +nodeEntityNodeType +NIST + + The "getNodeType()" method for an Entity Node + returns the constant value 6. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeentitynodevalue.xml b/test/testcases/tests/level1/core/nodeentitynodevalue.xml new file mode 100644 index 0000000..d02b393 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeentitynodevalue.xml @@ -0,0 +1,40 @@ + + + + + +nodeEntityNodeValue +NIST + + The string returned by the "getNodeValue()" method for an + Entity Node is null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeentityreferencenodeattributes.xml b/test/testcases/tests/level1/core/nodeentityreferencenodeattributes.xml new file mode 100644 index 0000000..dd37ec9 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeentityreferencenodeattributes.xml @@ -0,0 +1,43 @@ + + + + + +nodeentityreferencenodeattributes +NIST + + The "getAttributes()" method invoked on an EntityReference + Node returns null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeentityreferencenodename.xml b/test/testcases/tests/level1/core/nodeentityreferencenodename.xml new file mode 100644 index 0000000..1cfc361 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeentityreferencenodename.xml @@ -0,0 +1,49 @@ + + + + + +nodeEntityReferenceNodeName +NIST + + The string returned by the "getNodeName()" method for an + EntityReference Node is the name of the entity referenced. + + Retrieve the first Entity Reference node from the last + child of the second employee and check the string + returned by the "getNodeName()" method. It should be + equal to "ent2". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeentityreferencenodetype.xml b/test/testcases/tests/level1/core/nodeentityreferencenodetype.xml new file mode 100644 index 0000000..e512e17 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeentityreferencenodetype.xml @@ -0,0 +1,47 @@ + + + + + +nodeEntityReferenceNodeType +NIST + + The "getNodeType()" method for an EntityReference Node + returns the constant value 5. + + Retrieve the EntityReference node from the last child + of the second employee and invoke the "getNodeType()" + method. The method should return 5. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeentityreferencenodevalue.xml b/test/testcases/tests/level1/core/nodeentityreferencenodevalue.xml new file mode 100644 index 0000000..eef360e --- /dev/null +++ b/test/testcases/tests/level1/core/nodeentityreferencenodevalue.xml @@ -0,0 +1,49 @@ + + + + + +nodeEntityReferenceNodeValue +NIST + + The string returned by the "getNodeValue()" method for an + EntityReference Node is null. + + Retrieve the first Entity Reference node from the last + child of the second employee and check the string + returned by the "getNodeValue()" method. It should be + equal to null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeentitysetnodevalue.xml b/test/testcases/tests/level1/core/nodeentitysetnodevalue.xml new file mode 100644 index 0000000..6a1c836 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeentitysetnodevalue.xml @@ -0,0 +1,43 @@ + + + + + +nodeentitysetnodevalue +Curt Arnold + + The string returned by the "getNodeValue()" method for an + Entity Node is always null and "setNodeValue" should have no effect. + +2001-10-21 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodegetfirstchild.xml b/test/testcases/tests/level1/core/nodegetfirstchild.xml new file mode 100644 index 0000000..488eeef --- /dev/null +++ b/test/testcases/tests/level1/core/nodegetfirstchild.xml @@ -0,0 +1,41 @@ + + + + + +nodegetfirstchild +NIST + + The "getFirstChild()" method returns the first child + of this node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodegetfirstchildnull.xml b/test/testcases/tests/level1/core/nodegetfirstchildnull.xml new file mode 100644 index 0000000..cd67a6f --- /dev/null +++ b/test/testcases/tests/level1/core/nodegetfirstchildnull.xml @@ -0,0 +1,52 @@ + + + + + +nodeGetFirstChildNull +NIST + + + If there is not a first child then the "getFirstChild()" + + method returns null. + + + + Retrieve the Text node form the second child of the first + + employee and invoke the "getFirstChild()" method. It + + should return null. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodegetlastchild.xml b/test/testcases/tests/level1/core/nodegetlastchild.xml new file mode 100644 index 0000000..27a55ad --- /dev/null +++ b/test/testcases/tests/level1/core/nodegetlastchild.xml @@ -0,0 +1,41 @@ + + + + + +nodegetlastchild +NIST + + The "getLastChild()" method returns the last child + of this node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodegetlastchildnull.xml b/test/testcases/tests/level1/core/nodegetlastchildnull.xml new file mode 100644 index 0000000..f493e1c --- /dev/null +++ b/test/testcases/tests/level1/core/nodegetlastchildnull.xml @@ -0,0 +1,52 @@ + + + + + +nodeGetLastChildNull +NIST + + + If there is not a last child then the "getLastChild()" + + method returns null. + + + + Retrieve the Text node from the second child of the first + + employee and invoke the "getLastChild()" method. It + + should return null. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodegetnextsibling.xml b/test/testcases/tests/level1/core/nodegetnextsibling.xml new file mode 100644 index 0000000..a77741f --- /dev/null +++ b/test/testcases/tests/level1/core/nodegetnextsibling.xml @@ -0,0 +1,41 @@ + + + + + +nodegetnextsibling +NIST + + The "getNextSibling()" method returns the node immediately + following this node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodegetnextsiblingnull.xml b/test/testcases/tests/level1/core/nodegetnextsiblingnull.xml new file mode 100644 index 0000000..b9ab799 --- /dev/null +++ b/test/testcases/tests/level1/core/nodegetnextsiblingnull.xml @@ -0,0 +1,48 @@ + + + + + +nodeGetNextSiblingNull +NIST + + + If there is not a node immediately following this node the + + "getNextSibling()" method returns null. + + + + Retrieve the first child of the second employee and + + invoke the "getNextSibling()" method. It should + + be set to null. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodegetownerdocument.xml b/test/testcases/tests/level1/core/nodegetownerdocument.xml new file mode 100644 index 0000000..414a607 --- /dev/null +++ b/test/testcases/tests/level1/core/nodegetownerdocument.xml @@ -0,0 +1,50 @@ + + + + + +nodeGetOwnerDocument +NIST + + The "getOwnerDocument()" method returns the Document + object associated with this node. + + Retrieve the second employee and examine Document + returned by the "getOwnerDocument()" method. Invoke + the "getDocumentElement()" on the Document which will + return an Element that is equal to "staff". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodegetownerdocumentnull.xml b/test/testcases/tests/level1/core/nodegetownerdocumentnull.xml new file mode 100644 index 0000000..ca50949 --- /dev/null +++ b/test/testcases/tests/level1/core/nodegetownerdocumentnull.xml @@ -0,0 +1,31 @@ + + + + + +nodeGetOwnerDocumentNull +NIST + + The "getOwnerDocument()" method returns null if the target + node itself is a document. + +Mary Brady +2001-08-17 + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodegetprevioussibling.xml b/test/testcases/tests/level1/core/nodegetprevioussibling.xml new file mode 100644 index 0000000..9ee58f2 --- /dev/null +++ b/test/testcases/tests/level1/core/nodegetprevioussibling.xml @@ -0,0 +1,41 @@ + + + + + +nodegetprevioussibling +NIST + + The "getPreviousSibling()" method returns the node + immediately preceding this node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodegetprevioussiblingnull.xml b/test/testcases/tests/level1/core/nodegetprevioussiblingnull.xml new file mode 100644 index 0000000..6050c98 --- /dev/null +++ b/test/testcases/tests/level1/core/nodegetprevioussiblingnull.xml @@ -0,0 +1,48 @@ + + + + + +nodeGetPreviousSiblingNull +NIST + + + If there is not a node immediately preceding this node the + + "getPreviousSibling()" method returns null. + + + + Retrieve the first child of the second employee and + + invoke the "getPreviousSibling()" method. It should + + be set to null. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodehaschildnodes.xml b/test/testcases/tests/level1/core/nodehaschildnodes.xml new file mode 100644 index 0000000..edc5151 --- /dev/null +++ b/test/testcases/tests/level1/core/nodehaschildnodes.xml @@ -0,0 +1,39 @@ + + + + + +nodeHasChildNodes +NIST + + The "hasChildNodes()" method returns true if the node + has children. + + Retrieve the root node("staff") and invoke the + "hasChildNodes()" method. It should return the boolean + value "true". + +Mary Brady +2001-08-17 + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodehaschildnodesfalse.xml b/test/testcases/tests/level1/core/nodehaschildnodesfalse.xml new file mode 100644 index 0000000..dd64125 --- /dev/null +++ b/test/testcases/tests/level1/core/nodehaschildnodesfalse.xml @@ -0,0 +1,46 @@ + + + + + +nodeHasChildNodesFalse +NIST + + The "hasChildNodes()" method returns false if the node + does not have any children. + + Retrieve the Text node inside the first child of the + second employee and invoke the "hasChildNodes()" method. + It should return the boolean value "false". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbefore.xml b/test/testcases/tests/level1/core/nodeinsertbefore.xml new file mode 100644 index 0000000..810b427 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbefore.xml @@ -0,0 +1,87 @@ + + + + + +nodeInsertBefore +NIST + + The "insertBefore(newChild,refChild)" method inserts the + node "newChild" before the node "refChild". + + Insert a newly created Element node before the eigth + child of the second employee and check the "newChild" + and "refChild" after insertion for correct placement. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + +"#text" +"employeeId" +"#text" +"name" +"#text" +"position" +"#text" +"newChild" +"salary" +"#text" +"gender" +"#text" +"address" +"#text" + + +"employeeId" +"name" +"position" +"newChild" +"salary" +"gender" +"address" + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbeforedocfragment.xml b/test/testcases/tests/level1/core/nodeinsertbeforedocfragment.xml new file mode 100644 index 0000000..6fd3579 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbeforedocfragment.xml @@ -0,0 +1,63 @@ + + + + + +nodeInsertBeforeDocFragment +NIST + + If the "newChild" is a DocumentFragment object then all + its children are inserted in the same order before the + the "refChild". + + Create a DocumentFragment object and populate it with + two Element nodes. Retrieve the second employee and + insert the newly created DocumentFragment before its + fourth child. The second employee should now have two + extra children("newChild1" and "newChild2") at + positions fourth and fifth respectively. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbeforeinvalidnodetype.xml b/test/testcases/tests/level1/core/nodeinsertbeforeinvalidnodetype.xml new file mode 100644 index 0000000..3c0b3a7 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbeforeinvalidnodetype.xml @@ -0,0 +1,53 @@ + + + + + +nodeInsertBeforeInvalidNodeType +NIST + + The "insertBefore(newChild,refChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if this node is of + a type that does not allow children of the type "newChild" + to be inserted. + + Retrieve the root node and attempt to insert a newly + created Attr node. An Element node cannot have children + of the "Attr" type, therefore the desired exception + should be raised. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbeforenewchilddiffdocument.xml b/test/testcases/tests/level1/core/nodeinsertbeforenewchilddiffdocument.xml new file mode 100644 index 0000000..46a8aad --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbeforenewchilddiffdocument.xml @@ -0,0 +1,54 @@ + + + + + +nodeInsertBeforeNewChildDiffDocument +NIST + + The "insertBefore(newChild,refChild)" method raises a + WRONG_DOCUMENT_ERR DOMException if the "newChild" was + created from a different document than the one that + created this node. + + Retrieve the second employee and attempt to insert a new + child that was created from a different document than the + one that created the second employee. An attempt to + insert such a child should raise the desired exception. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbeforenewchildexists.xml b/test/testcases/tests/level1/core/nodeinsertbeforenewchildexists.xml new file mode 100644 index 0000000..c202d0f --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbeforenewchildexists.xml @@ -0,0 +1,89 @@ + + + + + +nodeInsertBeforeNewChildExists +NIST + + If the "newChild" is already in the tree, the + "insertBefore(newChild,refChild)" method must first + remove it before the insertion takes place. + + Insert a node Element ("employeeId") that is already + present in the tree. The existing node should be + removed first and the new one inserted. The node is + inserted at a different position in the tree to assure + that it was indeed inserted. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + +"#text" +"#text" +"name" +"#text" +"position" +"#text" +"salary" +"#text" +"gender" +"#text" +"employeeId" +"address" +"#text" + + +"name" +"position" +"salary" +"gender" +"employeeId" +"address" + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbeforenodeancestor.xml b/test/testcases/tests/level1/core/nodeinsertbeforenodeancestor.xml new file mode 100644 index 0000000..6bcbea4 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbeforenodeancestor.xml @@ -0,0 +1,54 @@ + + + + + +nodeInsertBeforeNodeAncestor +NIST + + The "insertBefore(newChild,refChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if the node to be + inserted is one of this nodes ancestors. + + Retrieve the second employee and attempt to insert a + node that is one of its ancestors(root node). An + attempt to insert such a node should raise the + desired exception. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbeforenodename.xml b/test/testcases/tests/level1/core/nodeinsertbeforenodename.xml new file mode 100644 index 0000000..b8333a2 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbeforenodename.xml @@ -0,0 +1,49 @@ + + + + + +nodeInsertBeforeNodeName +NIST + + The "insertBefore(newChild,refchild)" method returns + the node being inserted. + + Insert an Element node before the fourth + child of the second employee and check the node + returned from the "insertBefore(newChild,refChild)" + method. The node returned should be "newChild". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbeforenomodificationallowederr.xml b/test/testcases/tests/level1/core/nodeinsertbeforenomodificationallowederr.xml new file mode 100644 index 0000000..5fe4165 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbeforenomodificationallowederr.xml @@ -0,0 +1,62 @@ + + + + + +nodeInsertBeforeNoModificationAllowedErr +NIST + + The "insertBefore(newChild,refChild)" method causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the FIRST item + from the entity reference and execute the "insertBefore(newChild,refChild)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbeforenomodificationallowederrEE.xml b/test/testcases/tests/level1/core/nodeinsertbeforenomodificationallowederrEE.xml new file mode 100644 index 0000000..91033a4 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbeforenomodificationallowederrEE.xml @@ -0,0 +1,47 @@ + + + + + +nodeInsertBeforeNoModificationAllowedErrEE +Curt Arnold + + The "insertBefore(newChild,refChild)" method causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Create an ent4 entity reference and and execute the "insertBefore(newChild,refChild)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-21 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbeforerefchildnonexistent.xml b/test/testcases/tests/level1/core/nodeinsertbeforerefchildnonexistent.xml new file mode 100644 index 0000000..196814e --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbeforerefchildnonexistent.xml @@ -0,0 +1,52 @@ + + + + + +nodeInsertBeforeRefChildNonexistent +NIST + + The "insertBefore(newChild,refChild)" method raises a + NOT_FOUND_ERR DOMException if the reference child is + not a child of this node. + + Retrieve the second employee and attempt to insert a + new node before a reference node that is not a child + of this node. An attempt to insert before a non child + node should raise the desired exception. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeinsertbeforerefchildnull.xml b/test/testcases/tests/level1/core/nodeinsertbeforerefchildnull.xml new file mode 100644 index 0000000..a104b02 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeinsertbeforerefchildnull.xml @@ -0,0 +1,52 @@ + + + + + +nodeInsertBeforeRefChildNull +NIST + + If the "refChild" is null then the + "insertBefore(newChild,refChild)" method inserts the + node "newChild" at the end of the list of children. + + Retrieve the second employee and invoke the + "insertBefore(newChild,refChild)" method with + refChild=null. Since "refChild" is null the "newChild" + should be added to the end of the list. The last item + in the list is checked after insertion. The last Element + node of the list should be "newChild". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodelistindexequalzero.xml b/test/testcases/tests/level1/core/nodelistindexequalzero.xml new file mode 100644 index 0000000..19b3a33 --- /dev/null +++ b/test/testcases/tests/level1/core/nodelistindexequalzero.xml @@ -0,0 +1,43 @@ + + + + + +nodelistindexequalzero +NIST + + Create a list of all the children elements of the third + employee and access its first child by using an index + of 0. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodelistindexgetlength.xml b/test/testcases/tests/level1/core/nodelistindexgetlength.xml new file mode 100644 index 0000000..bd32f4f --- /dev/null +++ b/test/testcases/tests/level1/core/nodelistindexgetlength.xml @@ -0,0 +1,44 @@ + + + + + +nodelistIndexGetLength +NIST + + The "getLength()" method returns the number of nodes + in the list should be 6 (no whitespace) or 13. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodelistindexgetlengthofemptylist.xml b/test/testcases/tests/level1/core/nodelistindexgetlengthofemptylist.xml new file mode 100644 index 0000000..f33c17b --- /dev/null +++ b/test/testcases/tests/level1/core/nodelistindexgetlengthofemptylist.xml @@ -0,0 +1,47 @@ + + + + + +nodelistIndexGetLengthOfEmptyList +NIST + + The "getLength()" method returns the number of nodes + in the list.(Test for EMPTY list) + + Create a list of all the children of the Text node + inside the first child of the third employee and + invoke the "getLength()" method. It should contain + the value 0. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodelistindexnotzero.xml b/test/testcases/tests/level1/core/nodelistindexnotzero.xml new file mode 100644 index 0000000..f0331f0 --- /dev/null +++ b/test/testcases/tests/level1/core/nodelistindexnotzero.xml @@ -0,0 +1,52 @@ + + + + + +nodelistIndexNotZero +NIST + + Create a list of all the children elements of the third + employee and access its fourth child by using an index + of 3. This should result in "name" being + selected. Further we evaluate its content(by using + the "getNodeName()" method) to ensure the proper + element was accessed. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodelistreturnfirstitem.xml b/test/testcases/tests/level1/core/nodelistreturnfirstitem.xml new file mode 100644 index 0000000..177c8e3 --- /dev/null +++ b/test/testcases/tests/level1/core/nodelistreturnfirstitem.xml @@ -0,0 +1,46 @@ + + + + + +nodelistReturnFirstItem +NIST + +Get the first child of the third employee using NodeList.item(0) +which will either be a Text node (whitespace) or employeeId element. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodelistreturnlastitem.xml b/test/testcases/tests/level1/core/nodelistreturnlastitem.xml new file mode 100644 index 0000000..fcf0700 --- /dev/null +++ b/test/testcases/tests/level1/core/nodelistreturnlastitem.xml @@ -0,0 +1,48 @@ + + + + + +nodelistReturnLastItem +NIST + +Get this last child of the third employee using NodeList.item(NodeList.length - 1) +and check that it is either a Text element (with whitespace) or an address element. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodelisttraverselist.xml b/test/testcases/tests/level1/core/nodelisttraverselist.xml new file mode 100644 index 0000000..abbcd40 --- /dev/null +++ b/test/testcases/tests/level1/core/nodelisttraverselist.xml @@ -0,0 +1,78 @@ + + + + + +nodelistTraverseList +NIST + + The range of valid child node indices is 0 thru length -1 + + Create a list of all the children elements of the third + employee and traverse the list from index=0 thru + length -1. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + +"#text" +"employeeId" +"#text" +"name" +"#text" +"position" +"#text" +"salary" +"#text" +"gender" +"#text" +"address" +"#text" + + +"employeeId" +"name" +"position" +"salary" +"gender" +"address" + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodenotationnodeattributes.xml b/test/testcases/tests/level1/core/nodenotationnodeattributes.xml new file mode 100644 index 0000000..09d0152 --- /dev/null +++ b/test/testcases/tests/level1/core/nodenotationnodeattributes.xml @@ -0,0 +1,44 @@ + + + + + +nodeNotationNodeAttributes +NIST + + The "getAttributes()" method invoked on a Notation + Node returns null. + + Retrieve the Notation declaration inside the DocumentType + node and invoke the "getAttributes()" method on the + Notation Node. It should return null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodenotationnodename.xml b/test/testcases/tests/level1/core/nodenotationnodename.xml new file mode 100644 index 0000000..97cd2b3 --- /dev/null +++ b/test/testcases/tests/level1/core/nodenotationnodename.xml @@ -0,0 +1,45 @@ + + + + + +nodeNotationNodeName +NIST + + The string returned by the "getNodeName()" method for a + Notation Node is the name of the notation. + + Retrieve the Notation declaration inside the + DocumentType node and check the string returned + by the "getNodeName()" method. It should be equal to + "notation1". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodenotationnodetype.xml b/test/testcases/tests/level1/core/nodenotationnodetype.xml new file mode 100644 index 0000000..c2243d4 --- /dev/null +++ b/test/testcases/tests/level1/core/nodenotationnodetype.xml @@ -0,0 +1,44 @@ + + + + + +nodeNotationNodeType +NIST + + The "getNodeType()" method for an Notation Node + returns the constant value 12. + + Retrieve the Notation declaration in the DocumentType + node and invoke the "getNodeType()" method. The method + should return 12. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodenotationnodevalue.xml b/test/testcases/tests/level1/core/nodenotationnodevalue.xml new file mode 100644 index 0000000..787ae9e --- /dev/null +++ b/test/testcases/tests/level1/core/nodenotationnodevalue.xml @@ -0,0 +1,45 @@ + + + + + +nodeNotationNodeValue +NIST + + The string returned by the "getNodeValue()" method for a + Notation Node is null. + + Retrieve the Notation declaration inside the + DocumentType node and check the string returned + by the "getNodeValue()" method. It should be equal to + null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeparentnode.xml b/test/testcases/tests/level1/core/nodeparentnode.xml new file mode 100644 index 0000000..1984a7b --- /dev/null +++ b/test/testcases/tests/level1/core/nodeparentnode.xml @@ -0,0 +1,47 @@ + + + + + +nodeParentNode +NIST + + The "getParentNode()" method returns the parent + of this node. + + Retrieve the second employee and invoke the + "getParentNode()" method on this node. It should + be set to "staff". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeparentnodenull.xml b/test/testcases/tests/level1/core/nodeparentnodenull.xml new file mode 100644 index 0000000..01dacd2 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeparentnodenull.xml @@ -0,0 +1,37 @@ + + + + +nodeParentNodeNull +NIST + + The "getParentNode()" method invoked on a node that has + just been created and not yet added to the tree is null. + + Create a new "employee" Element node using the + "createElement(name)" method from the Document interface. + Since this new node has not yet been added to the tree, + the "getParentNode()" method will return null. + +Mary Brady +2001-08-17 + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeprocessinginstructionnodeattributes.xml b/test/testcases/tests/level1/core/nodeprocessinginstructionnodeattributes.xml new file mode 100644 index 0000000..100fc48 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeprocessinginstructionnodeattributes.xml @@ -0,0 +1,44 @@ + + + + + +nodeProcessingInstructionNodeAttributes +NIST + + + The "getAttributes()" method invoked on a Processing + + Instruction Node returns null. + + + + Retrieve the Processing Instruction node and invoke + + the "getAttributes()" method. It should return null. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeprocessinginstructionnodename.xml b/test/testcases/tests/level1/core/nodeprocessinginstructionnodename.xml new file mode 100644 index 0000000..e26e024 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeprocessinginstructionnodename.xml @@ -0,0 +1,46 @@ + + + + + +nodeProcessingInstructionNodeName +NIST + + + The string returned by the "getNodeName()" method for a + + Processing Instruction Node is the target. + + + + Retrieve the Processing Instruction Node in the XML file + + and check the string returned by the "getNodeName()" + + method. It should be equal to "XML-STYLE". + + +Mary Brady +2001-08-17 + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeprocessinginstructionnodetype.xml b/test/testcases/tests/level1/core/nodeprocessinginstructionnodetype.xml new file mode 100644 index 0000000..401dbbb --- /dev/null +++ b/test/testcases/tests/level1/core/nodeprocessinginstructionnodetype.xml @@ -0,0 +1,46 @@ + + + + + +nodeProcessingInstructionNodeType +NIST + + + The "getNodeType()" method for a Processing Instruction + + node returns the constant value 7. + + + + Retrieve a NodeList of child elements from the document. + + Retrieve the first child and invoke the "getNodeType()" + + method. The method should return 7. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeprocessinginstructionnodevalue.xml b/test/testcases/tests/level1/core/nodeprocessinginstructionnodevalue.xml new file mode 100644 index 0000000..fa10a90 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeprocessinginstructionnodevalue.xml @@ -0,0 +1,40 @@ + + + + + +nodeProcessingInstructionNodeValue +NIST + + The string returned by the "getNodeValue()" method for a + Processing Instruction Node is the content of the + Processing Instruction(exclude the target). + + Retrieve the Processing Instruction node in the XML file + and check the string returned by the "getNodeValue()" + method. It should be equal to "PIDATA". + +Mary Brady +2001-08-17 + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodeprocessinginstructionsetnodevalue.xml b/test/testcases/tests/level1/core/nodeprocessinginstructionsetnodevalue.xml new file mode 100644 index 0000000..78f0f65 --- /dev/null +++ b/test/testcases/tests/level1/core/nodeprocessinginstructionsetnodevalue.xml @@ -0,0 +1,43 @@ + + + + + +nodeProcessingInstructionSetNodeValue +Curt Arnold + + Setting the nodeValue should change the value returned by + nodeValue and ProcessingInstruction.getData. + +2001-10-21 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/noderemovechild.xml b/test/testcases/tests/level1/core/noderemovechild.xml new file mode 100644 index 0000000..4ccd597 --- /dev/null +++ b/test/testcases/tests/level1/core/noderemovechild.xml @@ -0,0 +1,45 @@ + + + + + +nodeRemoveChild +NIST + + The "removeChild(oldChild)" method removes the child node + indicated by "oldChild" from the list of children and + returns it. + + Remove the first employee by invoking the + "removeChild(oldChild)" method an checking the + node returned by the "getParentNode()" method. It + should be set to null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/noderemovechildgetnodename.xml b/test/testcases/tests/level1/core/noderemovechildgetnodename.xml new file mode 100644 index 0000000..33da6b7 --- /dev/null +++ b/test/testcases/tests/level1/core/noderemovechildgetnodename.xml @@ -0,0 +1,51 @@ + + + + + +nodeRemoveChildGetNodeName +NIST + + Remove the first child of the second employee + and check the NodeName returned by the + "removeChild(oldChild)" method. The returned node + should have a NodeName equal to "#text" or employeeId depending on whitespace. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/noderemovechildnode.xml b/test/testcases/tests/level1/core/noderemovechildnode.xml new file mode 100644 index 0000000..7d83ce3 --- /dev/null +++ b/test/testcases/tests/level1/core/noderemovechildnode.xml @@ -0,0 +1,57 @@ + + + + + +nodeRemoveChildNode +NIST + + Retrieve the second employee and remove its first child. + After the removal, the second employee should have five or twelve + children and the first child should now be the child + that used to be at the second position in the list. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/noderemovechildnomodificationallowederr.xml b/test/testcases/tests/level1/core/noderemovechildnomodificationallowederr.xml new file mode 100644 index 0000000..72c050a --- /dev/null +++ b/test/testcases/tests/level1/core/noderemovechildnomodificationallowederr.xml @@ -0,0 +1,59 @@ + + + + + +nodeRemoveChildNoModificationAllowedErr +NIST + + The "removeChild(oldChild)" method causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the FIRST item + from the entity reference and execute the "removeChild(oldChild)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/noderemovechildnomodificationallowederrEE.xml b/test/testcases/tests/level1/core/noderemovechildnomodificationallowederrEE.xml new file mode 100644 index 0000000..47dc24d --- /dev/null +++ b/test/testcases/tests/level1/core/noderemovechildnomodificationallowederrEE.xml @@ -0,0 +1,47 @@ + + + + + +nodeRemoveChildNoModificationAllowedErrEE +Curt Arnold + + The "removeChild(oldChild)" method causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Create an entity reference and execute the "removeChild(oldChild)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-21 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/noderemovechildoldchildnonexistent.xml b/test/testcases/tests/level1/core/noderemovechildoldchildnonexistent.xml new file mode 100644 index 0000000..472de7a --- /dev/null +++ b/test/testcases/tests/level1/core/noderemovechildoldchildnonexistent.xml @@ -0,0 +1,49 @@ + + + + + +nodeRemoveChildOldChildNonexistent +NIST + + The "removeChild(oldChild)" method raises a + NOT_FOUND_ERR DOMException if the old child is + not a child of this node. + + Retrieve the second employee and attempt to remove a + node that is not one of its children. An attempt to + remove such a node should raise the desired exception. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodereplacechild.xml b/test/testcases/tests/level1/core/nodereplacechild.xml new file mode 100644 index 0000000..4e6b4e5 --- /dev/null +++ b/test/testcases/tests/level1/core/nodereplacechild.xml @@ -0,0 +1,50 @@ + + + + + +nodeReplaceChild +NIST + + The "replaceChild(newChild,oldChild)" method replaces + the node "oldChild" with the node "newChild". + + Replace the first element of the second employee with + a newly created Element node. Check the first position + after the replacement operation is completed. The new + Element should be "newChild". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodereplacechildinvalidnodetype.xml b/test/testcases/tests/level1/core/nodereplacechildinvalidnodetype.xml new file mode 100644 index 0000000..4ca9203 --- /dev/null +++ b/test/testcases/tests/level1/core/nodereplacechildinvalidnodetype.xml @@ -0,0 +1,53 @@ + + + + + +nodeReplaceChildInvalidNodeType +NIST + + The "replaceChild(newChild,oldChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if this node is of + a type that does not allow children of the type "newChild" + to be inserted. + + Retrieve the root node and attempt to replace + one of its children with a newly created Attr node. + An Element node cannot have children of the "Attr" + type, therefore the desired exception should be raised. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodereplacechildnewchilddiffdocument.xml b/test/testcases/tests/level1/core/nodereplacechildnewchilddiffdocument.xml new file mode 100644 index 0000000..d441e65 --- /dev/null +++ b/test/testcases/tests/level1/core/nodereplacechildnewchilddiffdocument.xml @@ -0,0 +1,54 @@ + + + + + +nodeReplaceChildNewChildDiffDocument +NIST + + The "replaceChild(newChild,oldChild)" method raises a + WRONG_DOCUMENT_ERR DOMException if the "newChild" was + created from a different document than the one that + created this node. + + Retrieve the second employee and attempt to replace one + of its children with a node created from a different + document. An attempt to make such a replacement + should raise the desired exception. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodereplacechildnewchildexists.xml b/test/testcases/tests/level1/core/nodereplacechildnewchildexists.xml new file mode 100644 index 0000000..87a05eb --- /dev/null +++ b/test/testcases/tests/level1/core/nodereplacechildnewchildexists.xml @@ -0,0 +1,84 @@ + + + + + +nodeReplaceChildNewChildExists +NIST + + Retrieve the second employee and replace its TWELFTH + child(address) with its SECOND child(employeeId). After the + replacement the second child should now be the one that used + to be at the third position and the TWELFTH child should be the + one that used to be at the SECOND position. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + +"name" +"position" +"salary" +"gender" +"employeeId" + + +"#text" +"#text" +"name" +"#text" +"position" +"#text" +"salary" +"#text" +"gender" +"#text" +"employeeId" +"#text" + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodereplacechildnodeancestor.xml b/test/testcases/tests/level1/core/nodereplacechildnodeancestor.xml new file mode 100644 index 0000000..8073e13 --- /dev/null +++ b/test/testcases/tests/level1/core/nodereplacechildnodeancestor.xml @@ -0,0 +1,54 @@ + + + + + +nodeReplaceChildNodeAncestor +NIST + + The "replaceChild(newChild,oldChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if the node to put + in is one of this node's ancestors. + + Retrieve the second employee and attempt to replace + one of its children with an ancestor node(root node). + An attempt to make such a replacement should raise the + desired exception. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodereplacechildnodename.xml b/test/testcases/tests/level1/core/nodereplacechildnodename.xml new file mode 100644 index 0000000..174f104 --- /dev/null +++ b/test/testcases/tests/level1/core/nodereplacechildnodename.xml @@ -0,0 +1,54 @@ + + + + + +nodeReplaceChildNodeName +NIST + + Replace the second Element of the second employee with + a newly created node Element and check the NodeName + returned by the "replaceChild(newChild,oldChild)" + method. The returned node should have a NodeName equal + to "employeeId". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodereplacechildnomodificationallowederr.xml b/test/testcases/tests/level1/core/nodereplacechildnomodificationallowederr.xml new file mode 100644 index 0000000..83e061d --- /dev/null +++ b/test/testcases/tests/level1/core/nodereplacechildnomodificationallowederr.xml @@ -0,0 +1,60 @@ + + + + + +nodeReplaceChildNoModificationAllowedErr +NIST + + The "replaceChild(newChild,oldChild)" method causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the FIRST item + from the entity reference and execute the "replaceChild(newChild,oldChild)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +Curt Arnold +2001-08-22 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodereplacechildnomodificationallowederrEE.xml b/test/testcases/tests/level1/core/nodereplacechildnomodificationallowederrEE.xml new file mode 100644 index 0000000..9007392 --- /dev/null +++ b/test/testcases/tests/level1/core/nodereplacechildnomodificationallowederrEE.xml @@ -0,0 +1,48 @@ + + + + + +nodeReplaceChildNoModificationAllowedErrEE +Curt Arnold + + The "replaceChild(newChild,oldChild)" method causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Create an entity reference execute the "replaceChild(newChild,oldChild)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodereplacechildoldchildnonexistent.xml b/test/testcases/tests/level1/core/nodereplacechildoldchildnonexistent.xml new file mode 100644 index 0000000..e0d8c60 --- /dev/null +++ b/test/testcases/tests/level1/core/nodereplacechildoldchildnonexistent.xml @@ -0,0 +1,51 @@ + + + + + +nodeReplaceChildOldChildNonexistent +NIST + + The "replaceChild(newChild,oldChild)" method raises a + NOT_FOUND_ERR DOMException if the old child is + not a child of this node. + + Retrieve the second employee and attempt to replace a + node that is not one of its children. An attempt to + replace such a node should raise the desired exception. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodesetnodevaluenomodificationallowederr.xml b/test/testcases/tests/level1/core/nodesetnodevaluenomodificationallowederr.xml new file mode 100644 index 0000000..ba294e3 --- /dev/null +++ b/test/testcases/tests/level1/core/nodesetnodevaluenomodificationallowederr.xml @@ -0,0 +1,62 @@ + + + + + +nodeSetNodeValueNoModificationAllowedErr +NIST + + The "setNodeValue(nodeValue)" method causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the SECOND item + from the entity reference and execute the "setNodeValue(nodeValue)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +Curt Arnold +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodesetnodevaluenomodificationallowederrEE.xml b/test/testcases/tests/level1/core/nodesetnodevaluenomodificationallowederrEE.xml new file mode 100644 index 0000000..be2cd4a --- /dev/null +++ b/test/testcases/tests/level1/core/nodesetnodevaluenomodificationallowederrEE.xml @@ -0,0 +1,42 @@ + + + + + +nodeSetNodeValueNoModificationAllowedErrEE +Curt Arnold + + Create an entity reference and execute the "setNodeValue(nodeValue)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodetextnodeattribute.xml b/test/testcases/tests/level1/core/nodetextnodeattribute.xml new file mode 100644 index 0000000..a0581e3 --- /dev/null +++ b/test/testcases/tests/level1/core/nodetextnodeattribute.xml @@ -0,0 +1,44 @@ + + + + + +nodeTextNodeAttribute +NIST + +The "getAttributes()" method invoked on a Text +Node returns null. + +Retrieve the Text node from the last child of the +first employee and invoke the "getAttributes()" method +on the Text Node. It should return null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodetextnodename.xml b/test/testcases/tests/level1/core/nodetextnodename.xml new file mode 100644 index 0000000..0f18aa4 --- /dev/null +++ b/test/testcases/tests/level1/core/nodetextnodename.xml @@ -0,0 +1,50 @@ + + + + + +nodeTextNodeName +NIST + + + The string returned by the "getNodeName()" method for a + + Text Node is "#text". + + + + Retrieve the Text Node from the last child of the + + first employee and check the string returned + + by the "getNodeName()" method. It should be equal to + + "#text". + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodetextnodetype.xml b/test/testcases/tests/level1/core/nodetextnodetype.xml new file mode 100644 index 0000000..611d4e8 --- /dev/null +++ b/test/testcases/tests/level1/core/nodetextnodetype.xml @@ -0,0 +1,48 @@ + + + + + +nodeTextNodeType +NIST + + + The "getNodeType()" method for a Text Node + + returns the constant value 3. + + + + Retrieve the Text node from the last child of + + the first employee and invoke the "getNodeType()" + + method. The method should return 3. + + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodetextnodevalue.xml b/test/testcases/tests/level1/core/nodetextnodevalue.xml new file mode 100644 index 0000000..36b756f --- /dev/null +++ b/test/testcases/tests/level1/core/nodetextnodevalue.xml @@ -0,0 +1,42 @@ + + + + + +nodeTextNodeValue +NIST + + The string returned by the "getNodeValue()" method for a + Text Node is the content of the Text node. + + Retrieve the Text node from the last child of the first + employee and check the string returned by the + "getNodeValue()" method. It should be equal to + "1230 North Ave. Dallas, Texas 98551". + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodevalue01.xml b/test/testcases/tests/level1/core/nodevalue01.xml new file mode 100644 index 0000000..a5afffa --- /dev/null +++ b/test/testcases/tests/level1/core/nodevalue01.xml @@ -0,0 +1,37 @@ + + + + + +nodevalue01 +Curt Arnold + +An element is created, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2001-10-24 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodevalue02.xml b/test/testcases/tests/level1/core/nodevalue02.xml new file mode 100644 index 0000000..0b3c6f2 --- /dev/null +++ b/test/testcases/tests/level1/core/nodevalue02.xml @@ -0,0 +1,38 @@ + + + + + +nodevalue02 +Curt Arnold + +An comment is created, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2001-10-24 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodevalue03.xml b/test/testcases/tests/level1/core/nodevalue03.xml new file mode 100644 index 0000000..c3bd383 --- /dev/null +++ b/test/testcases/tests/level1/core/nodevalue03.xml @@ -0,0 +1,38 @@ + + + + + +nodevalue03 +Curt Arnold + +An entity reference is created, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2001-10-24 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodevalue04.xml b/test/testcases/tests/level1/core/nodevalue04.xml new file mode 100644 index 0000000..a8929bb --- /dev/null +++ b/test/testcases/tests/level1/core/nodevalue04.xml @@ -0,0 +1,38 @@ + + + + + +nodevalue04 +Curt Arnold + +An document type accessed, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2001-10-24 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodevalue05.xml b/test/testcases/tests/level1/core/nodevalue05.xml new file mode 100644 index 0000000..88f19c3 --- /dev/null +++ b/test/testcases/tests/level1/core/nodevalue05.xml @@ -0,0 +1,37 @@ + + + + + +nodevalue05 +Curt Arnold + +A document fragment is created, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2001-10-24 + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodevalue06.xml b/test/testcases/tests/level1/core/nodevalue06.xml new file mode 100644 index 0000000..af42ec3 --- /dev/null +++ b/test/testcases/tests/level1/core/nodevalue06.xml @@ -0,0 +1,35 @@ + + + + + +nodevalue06 +Curt Arnold + +An document is accessed, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2001-10-24 + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodevalue07.xml b/test/testcases/tests/level1/core/nodevalue07.xml new file mode 100644 index 0000000..f0c808e --- /dev/null +++ b/test/testcases/tests/level1/core/nodevalue07.xml @@ -0,0 +1,44 @@ + + + + + +nodevalue07 +Curt Arnold + +An Entity is accessed, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2001-10-24 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodevalue08.xml b/test/testcases/tests/level1/core/nodevalue08.xml new file mode 100644 index 0000000..f64df09 --- /dev/null +++ b/test/testcases/tests/level1/core/nodevalue08.xml @@ -0,0 +1,44 @@ + + + + + +nodevalue08 +Curt Arnold + +An notation is accessed, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2001-10-24 + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/nodevalue09.xml b/test/testcases/tests/level1/core/nodevalue09.xml new file mode 100644 index 0000000..780cbfe --- /dev/null +++ b/test/testcases/tests/level1/core/nodevalue09.xml @@ -0,0 +1,36 @@ + + + + + +nodevalue09 +Curt Arnold + +An processing instruction is created, setNodeValue is called with a non-null argument, but getNodeValue +should still return null. + +2001-10-24 + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/notationgetnotationname.xml b/test/testcases/tests/level1/core/notationgetnotationname.xml new file mode 100644 index 0000000..ded685c --- /dev/null +++ b/test/testcases/tests/level1/core/notationgetnotationname.xml @@ -0,0 +1,43 @@ + + + + + +notationGetNotationName +NIST + + Retrieve the notation named "notation1" and access its + name by invoking the "getNodeName()" method inherited + from the Node interface. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/notationgetpublicid.xml b/test/testcases/tests/level1/core/notationgetpublicid.xml new file mode 100644 index 0000000..882cc54 --- /dev/null +++ b/test/testcases/tests/level1/core/notationgetpublicid.xml @@ -0,0 +1,40 @@ + + + + + +notationGetPublicId +NIST + + Retrieve the notation named "notation1" and access its + public identifier. The string "notation1File" should be + returned. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/notationgetpublicidnull.xml b/test/testcases/tests/level1/core/notationgetpublicidnull.xml new file mode 100644 index 0000000..39e23ad --- /dev/null +++ b/test/testcases/tests/level1/core/notationgetpublicidnull.xml @@ -0,0 +1,45 @@ + + + + + +notationGetPublicIdNull +NIST + + The "getPublicId()" method of a Notation node contains + the public identifier associated with the notation, if + one was not specified a null value should be returned. + + Retrieve the notation named "notation2" and access its + public identifier. Since a public identifier was not + specified for this notation, the "getPublicId()" method + should return null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/notationgetsystemid.xml b/test/testcases/tests/level1/core/notationgetsystemid.xml new file mode 100644 index 0000000..04a84ac --- /dev/null +++ b/test/testcases/tests/level1/core/notationgetsystemid.xml @@ -0,0 +1,45 @@ + + + + + +notationGetSystemId +NIST + + The "getSystemId()" method of a Notation node contains + the system identifier associated with the notation, if + one was specified. + + Retrieve the notation named "notation2" and access its + system identifier. The string "notation2File" should be + returned. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/notationgetsystemidnull.xml b/test/testcases/tests/level1/core/notationgetsystemidnull.xml new file mode 100644 index 0000000..cf15a2f --- /dev/null +++ b/test/testcases/tests/level1/core/notationgetsystemidnull.xml @@ -0,0 +1,41 @@ + + + + + +notationGetSystemIdNull +NIST + + Retrieve the notation named "notation1" and access its + system identifier. Since a system identifier was not + specified for this notation, the "getSystemId()" method + should return null. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/processinginstructiongetdata.xml b/test/testcases/tests/level1/core/processinginstructiongetdata.xml new file mode 100644 index 0000000..1760419 --- /dev/null +++ b/test/testcases/tests/level1/core/processinginstructiongetdata.xml @@ -0,0 +1,43 @@ + + + + + +processinginstructionGetData +NIST + + The "getData()" method returns the content of the + processing instruction. It starts at the first non + white character following the target and ends at the + character immediately preceding the "?>". + + Retrieve the ProcessingInstruction node located + immediately after the prolog. Create a nodelist of the + child nodes of this document. Invoke the "getData()" + method on the first child in the list. This should + return the content of the ProcessingInstruction. + +Mary Brady +2001-08-17 + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/processinginstructiongettarget.xml b/test/testcases/tests/level1/core/processinginstructiongettarget.xml new file mode 100644 index 0000000..e02e3d6 --- /dev/null +++ b/test/testcases/tests/level1/core/processinginstructiongettarget.xml @@ -0,0 +1,42 @@ + + + + + +processinginstructionGetTarget +NIST + + The "getTarget()" method returns the target of the + processing instruction. It is the first token following + the markup that begins the processing instruction. + + Retrieve the ProcessingInstruction node located + immediately after the prolog. Create a nodelist of the + child nodes of this document. Invoke the "getTarget()" + method on the first child in the list. This should + return the target of the ProcessingInstruction. + +Mary Brady +2001-08-17 + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/processinginstructionsetdatanomodificationallowederr.xml b/test/testcases/tests/level1/core/processinginstructionsetdatanomodificationallowederr.xml new file mode 100644 index 0000000..8d7ed81 --- /dev/null +++ b/test/testcases/tests/level1/core/processinginstructionsetdatanomodificationallowederr.xml @@ -0,0 +1,53 @@ + + + + + +processinginstructionSetDataNoModificationAllowedErr +NIST + + The "setData(data)" method for a processing instruction causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Try to remove the "domestic" attribute + from the entity reference by executing the "setData(data)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/processinginstructionsetdatanomodificationallowederrEE.xml b/test/testcases/tests/level1/core/processinginstructionsetdatanomodificationallowederrEE.xml new file mode 100644 index 0000000..8c99919 --- /dev/null +++ b/test/testcases/tests/level1/core/processinginstructionsetdatanomodificationallowederrEE.xml @@ -0,0 +1,57 @@ + + + + + +processinginstructionSetDataNoModificationAllowedErrEE +Curt Arnold + + The "setData(data)" method for a processing instruction causes the + DOMException NO_MODIFICATION_ALLOWED_ERR to be raised + if the node is readonly. + + Create an ent4 entity reference and add to document of the THIRD "gender" element. The elements + content is an entity reference. Try to remove the "domestic" attribute + from the entity reference by executing the "setData(data)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-21 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/textindexsizeerrnegativeoffset.xml b/test/testcases/tests/level1/core/textindexsizeerrnegativeoffset.xml new file mode 100644 index 0000000..9bf1232 --- /dev/null +++ b/test/testcases/tests/level1/core/textindexsizeerrnegativeoffset.xml @@ -0,0 +1,49 @@ + + + + + +textIndexSizeErrNegativeOffset +NIST + + The "splitText(offset)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset is + negative. + + Retrieve the textual data from the second child of the + third employee and invoke the "splitText(offset)" method. + The desired exception should be raised since the offset + is a negative number. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/textindexsizeerroffsetoutofbounds.xml b/test/testcases/tests/level1/core/textindexsizeerroffsetoutofbounds.xml new file mode 100644 index 0000000..35082c3 --- /dev/null +++ b/test/testcases/tests/level1/core/textindexsizeerroffsetoutofbounds.xml @@ -0,0 +1,50 @@ + + + + + +textIndexSizeErrOffsetOutOfBounds +NIST + + The "splitText(offset)" method raises an + INDEX_SIZE_ERR DOMException if the specified offset is + greater than the number of characters in the Text node. + + Retrieve the textual data from the second child of the + third employee and invoke the "splitText(offset)" method. + The desired exception should be raised since the offset + is a greater than the number of characters in the Text + node. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/textparseintolistofelements.xml b/test/testcases/tests/level1/core/textparseintolistofelements.xml new file mode 100644 index 0000000..77f5fe5 --- /dev/null +++ b/test/testcases/tests/level1/core/textparseintolistofelements.xml @@ -0,0 +1,74 @@ + + + + + +textParseIntoListOfElements +NIST + + Retrieve the textual data from the last child of the + second employee. That node is composed of two + EntityReference nodes and two Text nodes. After + the content node is parsed, the "address" Element + should contain four children with each one of the + EntityReferences containing one child. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + +"1900 Dallas Road" +" Dallas, " +"Texas" +"\n 98554" + + +"1900 Dallas Road Dallas, Texas\n 98554" + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/textsplittextfour.xml b/test/testcases/tests/level1/core/textsplittextfour.xml new file mode 100644 index 0000000..c744ae3 --- /dev/null +++ b/test/testcases/tests/level1/core/textsplittextfour.xml @@ -0,0 +1,46 @@ + + + + + +textSplitTextFour +NIST + + The "splitText(offset)" method returns the new Text node. + + Retrieve the textual data from the last child of the + first employee and invoke the "splitText(offset)" method. + The method should return the new Text node. The offset + value used for this test is 30. The "getNodeValue()" + method is called to check that the new node now contains + the characters at and after position 30. + (Starting count at 0) + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/textsplittextnomodificationallowederr.xml b/test/testcases/tests/level1/core/textsplittextnomodificationallowederr.xml new file mode 100644 index 0000000..f61255a --- /dev/null +++ b/test/testcases/tests/level1/core/textsplittextnomodificationallowederr.xml @@ -0,0 +1,62 @@ + + + + + +textSplitTextNoModificationAllowedErr +NIST + + The "splitText(offset)" method raises a + NO_MODIFICATION_ALLOWED_ERR DOMException if the + node is readonly. + + Obtain the children of the THIRD "gender" element. The elements + content is an entity reference. Get the element content of the FIRST + Text Node of the entity reference and execute the "splitText(offset)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/textsplittextnomodificationallowederrEE.xml b/test/testcases/tests/level1/core/textsplittextnomodificationallowederrEE.xml new file mode 100644 index 0000000..4fbde86 --- /dev/null +++ b/test/testcases/tests/level1/core/textsplittextnomodificationallowederrEE.xml @@ -0,0 +1,43 @@ + + + + + +textSplitTextNoModificationAllowedErrEE +Curt Arnold + + Create an ent3 reference and execute the "splitText(offset)" method. + This causes a NO_MODIFICATION_ALLOWED_ERR DOMException to be thrown. + +2001-08-21 + + + + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/textsplittextone.xml b/test/testcases/tests/level1/core/textsplittextone.xml new file mode 100644 index 0000000..7529614 --- /dev/null +++ b/test/testcases/tests/level1/core/textsplittextone.xml @@ -0,0 +1,49 @@ + + + + + +textSplitTextOne +NIST + + The "splitText(offset)" method breaks the Text node into + two Text nodes at the specified offset keeping each node + as siblings in the tree. + + Retrieve the textual data from the second child of the + third employee and invoke the "splitText(offset)" method. + The method splits the Text node into two new sibling + Text nodes keeping both of them in the tree. This test + checks the "nextSibling()" method of the original node + to ensure that the two nodes are indeed siblings. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/textsplittextthree.xml b/test/testcases/tests/level1/core/textsplittextthree.xml new file mode 100644 index 0000000..7bbaf48 --- /dev/null +++ b/test/testcases/tests/level1/core/textsplittextthree.xml @@ -0,0 +1,48 @@ + + + + + +textSplitTextThree +NIST + + After the "splitText(offset)" method breaks the Text node + into two Text nodes, the new Text node contains all the + content at and after the offset point. + + Retrieve the textual data from the second child of the + third employee and invoke the "splitText(offset)" method. + The new Text node should contain all the content + at and after the offset point. The "getNodeValue()" + method is called to check that the new node now contains + the characters at and after position seven. + (Starting count at 0) + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/textsplittexttwo.xml b/test/testcases/tests/level1/core/textsplittexttwo.xml new file mode 100644 index 0000000..0421815 --- /dev/null +++ b/test/testcases/tests/level1/core/textsplittexttwo.xml @@ -0,0 +1,47 @@ + + + + + +textSplitTextTwo +NIST + + After the "splitText(offset)" method breaks the Text node + into two Text nodes, the original node contains all the + content up to the offset point. + + Retrieve the textual data from the second child of the + third employee and invoke the "splitText(offset)" method. + The original Text node should contain all the content + up to the offset point. The "getNodeValue()" method + is called to check that the original node now contains + the first five characters. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + diff --git a/test/testcases/tests/level1/core/textwithnomarkup.xml b/test/testcases/tests/level1/core/textwithnomarkup.xml new file mode 100644 index 0000000..8b90b54 --- /dev/null +++ b/test/testcases/tests/level1/core/textwithnomarkup.xml @@ -0,0 +1,47 @@ + + + + + +textWithNoMarkup +NIST + + If there is not any markup inside an Element or Attr node + content, then the text is contained in a single object + implementing the Text interface that is the only child + of the element. + + Retrieve the textual data from the second child of the + third employee. That Text node contains a block of + multiple text lines without markup, so they should be + treated as a single Text node. The "getNodeValue()" + method should contain the combination of the two lines. + +Mary Brady +2001-08-17 + + + + + + + + + + + + + + + + -- cgit v1.2.3