summaryrefslogtreecommitdiff
path: root/test/testcases/tests/level1/core
diff options
context:
space:
mode:
Diffstat (limited to 'test/testcases/tests/level1/core')
-rw-r--r--test/testcases/tests/level1/core/.cvsignore2
-rw-r--r--test/testcases/tests/level1/core/.nodeappendchild.xml.swpbin0 -> 12288 bytes
-rw-r--r--test/testcases/tests/level1/core/CVS/Entries531
-rw-r--r--test/testcases/tests/level1/core/CVS/Repository1
-rw-r--r--test/testcases/tests/level1/core/CVS/Root1
-rw-r--r--test/testcases/tests/level1/core/CVS/Template0
-rw-r--r--test/testcases/tests/level1/core/alltests.xml550
-rw-r--r--test/testcases/tests/level1/core/attrcreatedocumentfragment.xml51
-rw-r--r--test/testcases/tests/level1/core/attrcreatetextnode.xml51
-rw-r--r--test/testcases/tests/level1/core/attrcreatetextnode2.xml50
-rw-r--r--test/testcases/tests/level1/core/attrdefaultvalue.xml53
-rw-r--r--test/testcases/tests/level1/core/attreffectivevalue.xml44
-rw-r--r--test/testcases/tests/level1/core/attrentityreplacement.xml48
-rw-r--r--test/testcases/tests/level1/core/attrname.xml47
-rw-r--r--test/testcases/tests/level1/core/attrnextsiblingnull.xml44
-rw-r--r--test/testcases/tests/level1/core/attrnotspecifiedvalue.xml48
-rw-r--r--test/testcases/tests/level1/core/attrparentnodenull.xml44
-rw-r--r--test/testcases/tests/level1/core/attrprevioussiblingnull.xml44
-rw-r--r--test/testcases/tests/level1/core/attrremovechild1.xml45
-rw-r--r--test/testcases/tests/level1/core/attrreplacechild1.xml47
-rw-r--r--test/testcases/tests/level1/core/attrsetvaluenomodificationallowederr.xml69
-rw-r--r--test/testcases/tests/level1/core/attrsetvaluenomodificationallowederrEE.xml65
-rw-r--r--test/testcases/tests/level1/core/attrspecifiedvalue.xml45
-rw-r--r--test/testcases/tests/level1/core/attrspecifiedvaluechanged.xml47
-rw-r--r--test/testcases/tests/level1/core/attrspecifiedvalueremove.xml55
-rw-r--r--test/testcases/tests/level1/core/cdatasectiongetdata.xml45
-rw-r--r--test/testcases/tests/level1/core/cdatasectionnormalize.xml49
-rw-r--r--test/testcases/tests/level1/core/characterdataappenddata.xml48
-rw-r--r--test/testcases/tests/level1/core/characterdataappenddatagetdata.xml47
-rw-r--r--test/testcases/tests/level1/core/characterdataappenddatanomodificationallowederr.xml59
-rw-r--r--test/testcases/tests/level1/core/characterdataappenddatanomodificationallowederrEE.xml47
-rw-r--r--test/testcases/tests/level1/core/characterdatadeletedatabegining.xml45
-rw-r--r--test/testcases/tests/level1/core/characterdatadeletedataend.xml47
-rw-r--r--test/testcases/tests/level1/core/characterdatadeletedataexceedslength.xml49
-rw-r--r--test/testcases/tests/level1/core/characterdatadeletedatagetlengthanddata.xml54
-rw-r--r--test/testcases/tests/level1/core/characterdatadeletedatamiddle.xml47
-rw-r--r--test/testcases/tests/level1/core/characterdatadeletedatanomodificationallowederr.xml59
-rw-r--r--test/testcases/tests/level1/core/characterdatadeletedatanomodificationallowederrEE.xml47
-rw-r--r--test/testcases/tests/level1/core/characterdatagetdata.xml48
-rw-r--r--test/testcases/tests/level1/core/characterdatagetlength.xml43
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrdeletedatacountnegative.xml48
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrdeletedataoffsetgreater.xml50
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrdeletedataoffsetnegative.xml49
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrinsertdataoffsetgreater.xml49
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrinsertdataoffsetnegative.xml48
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrreplacedatacountnegative.xml49
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrreplacedataoffsetgreater.xml50
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrreplacedataoffsetnegative.xml50
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrsubstringcountnegative.xml49
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrsubstringnegativeoffset.xml49
-rw-r--r--test/testcases/tests/level1/core/characterdataindexsizeerrsubstringoffsetgreater.xml50
-rw-r--r--test/testcases/tests/level1/core/characterdatainsertdatabeginning.xml46
-rw-r--r--test/testcases/tests/level1/core/characterdatainsertdataend.xml47
-rw-r--r--test/testcases/tests/level1/core/characterdatainsertdatamiddle.xml47
-rw-r--r--test/testcases/tests/level1/core/characterdatainsertdatanomodificationallowederr.xml59
-rw-r--r--test/testcases/tests/level1/core/characterdatainsertdatanomodificationallowederrEE.xml45
-rw-r--r--test/testcases/tests/level1/core/characterdatareplacedatabegining.xml46
-rw-r--r--test/testcases/tests/level1/core/characterdatareplacedataend.xml47
-rw-r--r--test/testcases/tests/level1/core/characterdatareplacedataexceedslengthofarg.xml48
-rw-r--r--test/testcases/tests/level1/core/characterdatareplacedataexceedslengthofdata.xml46
-rw-r--r--test/testcases/tests/level1/core/characterdatareplacedatamiddle.xml47
-rw-r--r--test/testcases/tests/level1/core/characterdatareplacedatanomodificationallowederr.xml60
-rw-r--r--test/testcases/tests/level1/core/characterdatareplacedatanomodificationallowederrEE.xml47
-rw-r--r--test/testcases/tests/level1/core/characterdatasetdatanomodificationallowederr.xml59
-rw-r--r--test/testcases/tests/level1/core/characterdatasetdatanomodificationallowederrEE.xml44
-rw-r--r--test/testcases/tests/level1/core/characterdatasetnodevalue.xml43
-rw-r--r--test/testcases/tests/level1/core/characterdatasubstringexceedsvalue.xml46
-rw-r--r--test/testcases/tests/level1/core/characterdatasubstringvalue.xml45
-rw-r--r--test/testcases/tests/level1/core/commentgetcomment.xml56
-rw-r--r--test/testcases/tests/level1/core/documentcreateattribute.xml45
-rw-r--r--test/testcases/tests/level1/core/documentcreatecdatasection.xml44
-rw-r--r--test/testcases/tests/level1/core/documentcreatecomment.xml43
-rw-r--r--test/testcases/tests/level1/core/documentcreatedocumentfragment.xml47
-rw-r--r--test/testcases/tests/level1/core/documentcreateelement.xml44
-rw-r--r--test/testcases/tests/level1/core/documentcreateelementcasesensitive.xml46
-rw-r--r--test/testcases/tests/level1/core/documentcreateelementdefaultattr.xml53
-rw-r--r--test/testcases/tests/level1/core/documentcreateentityreference.xml48
-rw-r--r--test/testcases/tests/level1/core/documentcreateentityreferenceknown.xml51
-rw-r--r--test/testcases/tests/level1/core/documentcreateprocessinginstruction.xml51
-rw-r--r--test/testcases/tests/level1/core/documentcreatetextnode.xml43
-rw-r--r--test/testcases/tests/level1/core/documentgetdoctype.xml49
-rw-r--r--test/testcases/tests/level1/core/documentgetdoctypenodtd.xml34
-rw-r--r--test/testcases/tests/level1/core/documentgetelementsbytagnamelength.xml36
-rw-r--r--test/testcases/tests/level1/core/documentgetelementsbytagnametotallength.xml36
-rw-r--r--test/testcases/tests/level1/core/documentgetelementsbytagnamevalue.xml44
-rw-r--r--test/testcases/tests/level1/core/documentgetimplementation.xml37
-rw-r--r--test/testcases/tests/level1/core/documentgetrootnode.xml43
-rw-r--r--test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateattribute.xml44
-rw-r--r--test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateelement.xml44
-rw-r--r--test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateentref.xml48
-rw-r--r--test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreateentref1.xml45
-rw-r--r--test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreatepi.xml48
-rw-r--r--test/testcases/tests/level1/core/documentinvalidcharacterexceptioncreatepi1.xml45
-rw-r--r--test/testcases/tests/level1/core/documenttypegetdoctype.xml44
-rw-r--r--test/testcases/tests/level1/core/documenttypegetentities.xml68
-rw-r--r--test/testcases/tests/level1/core/documenttypegetentitieslength.xml43
-rw-r--r--test/testcases/tests/level1/core/documenttypegetentitiestype.xml45
-rw-r--r--test/testcases/tests/level1/core/documenttypegetnotations.xml51
-rw-r--r--test/testcases/tests/level1/core/documenttypegetnotationstype.xml44
-rw-r--r--test/testcases/tests/level1/core/domimplementationfeaturenoversion.xml33
-rw-r--r--test/testcases/tests/level1/core/domimplementationfeaturenull.xml35
-rw-r--r--test/testcases/tests/level1/core/domimplementationfeaturexml.xml32
-rw-r--r--test/testcases/tests/level1/core/elementaddnewattribute.xml43
-rw-r--r--test/testcases/tests/level1/core/elementassociatedattribute.xml46
-rw-r--r--test/testcases/tests/level1/core/elementchangeattributevalue.xml46
-rw-r--r--test/testcases/tests/level1/core/elementcreatenewattribute.xml50
-rw-r--r--test/testcases/tests/level1/core/elementgetattributenode.xml42
-rw-r--r--test/testcases/tests/level1/core/elementgetattributenodenull.xml41
-rw-r--r--test/testcases/tests/level1/core/elementgetelementempty.xml49
-rw-r--r--test/testcases/tests/level1/core/elementgetelementsbytagname.xml39
-rw-r--r--test/testcases/tests/level1/core/elementgetelementsbytagnameaccessnodelist.xml48
-rw-r--r--test/testcases/tests/level1/core/elementgetelementsbytagnamenomatch.xml37
-rw-r--r--test/testcases/tests/level1/core/elementgetelementsbytagnamespecialvalue.xml56
-rw-r--r--test/testcases/tests/level1/core/elementgettagname.xml48
-rw-r--r--test/testcases/tests/level1/core/elementinuseattributeerr.xml58
-rw-r--r--test/testcases/tests/level1/core/elementinvalidcharacterexception.xml53
-rw-r--r--test/testcases/tests/level1/core/elementnormalize.xml46
-rw-r--r--test/testcases/tests/level1/core/elementnotfounderr.xml50
-rw-r--r--test/testcases/tests/level1/core/elementremoveattribute.xml47
-rw-r--r--test/testcases/tests/level1/core/elementremoveattributeaftercreate.xml49
-rw-r--r--test/testcases/tests/level1/core/elementremoveattributenode.xml43
-rw-r--r--test/testcases/tests/level1/core/elementremoveattributenodenomodificationallowederr.xml67
-rw-r--r--test/testcases/tests/level1/core/elementremoveattributenodenomodificationallowederrEE.xml61
-rw-r--r--test/testcases/tests/level1/core/elementremoveattributenomodificationallowederr.xml62
-rw-r--r--test/testcases/tests/level1/core/elementremoveattributenomodificationallowederrEE.xml53
-rw-r--r--test/testcases/tests/level1/core/elementremoveattributerestoredefaultvalue.xml48
-rw-r--r--test/testcases/tests/level1/core/elementreplaceattributewithself.xml42
-rw-r--r--test/testcases/tests/level1/core/elementreplaceexistingattribute.xml48
-rw-r--r--test/testcases/tests/level1/core/elementreplaceexistingattributegevalue.xml48
-rw-r--r--test/testcases/tests/level1/core/elementretrieveallattributes.xml46
-rw-r--r--test/testcases/tests/level1/core/elementretrieveattrvalue.xml40
-rw-r--r--test/testcases/tests/level1/core/elementretrievetagname.xml44
-rw-r--r--test/testcases/tests/level1/core/elementsetattributenodenomodificationallowederr.xml61
-rw-r--r--test/testcases/tests/level1/core/elementsetattributenodenomodificationallowederrEE.xml58
-rw-r--r--test/testcases/tests/level1/core/elementsetattributenodenull.xml45
-rw-r--r--test/testcases/tests/level1/core/elementsetattributenomodificationallowederr.xml53
-rw-r--r--test/testcases/tests/level1/core/elementsetattributenomodificationallowederrEE.xml53
-rw-r--r--test/testcases/tests/level1/core/elementwrongdocumenterr.xml68
-rw-r--r--test/testcases/tests/level1/core/entitygetentityname.xml46
-rw-r--r--test/testcases/tests/level1/core/entitygetpublicid.xml55
-rw-r--r--test/testcases/tests/level1/core/entitygetpublicidnull.xml45
-rw-r--r--test/testcases/tests/level1/core/files/.cvsignore0
-rw-r--r--test/testcases/tests/level1/core/files/CVS/Entries16
-rw-r--r--test/testcases/tests/level1/core/files/CVS/Repository1
-rw-r--r--test/testcases/tests/level1/core/files/CVS/Root1
-rw-r--r--test/testcases/tests/level1/core/files/CVS/Template0
-rw-r--r--test/testcases/tests/level1/core/files/hc_nodtdstaff.html10
-rw-r--r--test/testcases/tests/level1/core/files/hc_nodtdstaff.svg10
-rw-r--r--test/testcases/tests/level1/core/files/hc_nodtdstaff.xhtml10
-rw-r--r--test/testcases/tests/level1/core/files/hc_nodtdstaff.xml10
-rw-r--r--test/testcases/tests/level1/core/files/hc_staff.html48
-rw-r--r--test/testcases/tests/level1/core/files/hc_staff.svg72
-rw-r--r--test/testcases/tests/level1/core/files/hc_staff.xhtml60
-rw-r--r--test/testcases/tests/level1/core/files/hc_staff.xml60
-rw-r--r--test/testcases/tests/level1/core/files/staff.dtd17
-rw-r--r--test/testcases/tests/level1/core/files/staff.svg72
-rw-r--r--test/testcases/tests/level1/core/files/staff.xml57
-rw-r--r--test/testcases/tests/level1/core/files/svgtest.js0
-rw-r--r--test/testcases/tests/level1/core/files/svgunit.js0
-rw-r--r--test/testcases/tests/level1/core/files/xhtml1-strict.dtd65
-rw-r--r--test/testcases/tests/level1/core/hc_attrappendchild1.xml63
-rw-r--r--test/testcases/tests/level1/core/hc_attrappendchild2.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_attrappendchild3.xml72
-rw-r--r--test/testcases/tests/level1/core/hc_attrappendchild4.xml59
-rw-r--r--test/testcases/tests/level1/core/hc_attrappendchild5.xml54
-rw-r--r--test/testcases/tests/level1/core/hc_attrappendchild6.xml59
-rw-r--r--test/testcases/tests/level1/core/hc_attrchildnodes1.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_attrchildnodes2.xml59
-rw-r--r--test/testcases/tests/level1/core/hc_attrclonenode1.xml63
-rw-r--r--test/testcases/tests/level1/core/hc_attrcreatedocumentfragment.xml58
-rw-r--r--test/testcases/tests/level1/core/hc_attrcreatetextnode.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_attrcreatetextnode2.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_attreffectivevalue.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_attrfirstchild.xml52
-rw-r--r--test/testcases/tests/level1/core/hc_attrgetvalue1.xml45
-rw-r--r--test/testcases/tests/level1/core/hc_attrgetvalue2.xml61
-rw-r--r--test/testcases/tests/level1/core/hc_attrhaschildnodes.xml43
-rw-r--r--test/testcases/tests/level1/core/hc_attrinsertbefore1.xml72
-rw-r--r--test/testcases/tests/level1/core/hc_attrinsertbefore2.xml71
-rw-r--r--test/testcases/tests/level1/core/hc_attrinsertbefore3.xml79
-rw-r--r--test/testcases/tests/level1/core/hc_attrinsertbefore4.xml81
-rw-r--r--test/testcases/tests/level1/core/hc_attrinsertbefore5.xml60
-rw-r--r--test/testcases/tests/level1/core/hc_attrinsertbefore6.xml53
-rw-r--r--test/testcases/tests/level1/core/hc_attrinsertbefore7.xml69
-rw-r--r--test/testcases/tests/level1/core/hc_attrlastchild.xml52
-rw-r--r--test/testcases/tests/level1/core/hc_attrname.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_attrnextsiblingnull.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_attrnormalize.xml65
-rw-r--r--test/testcases/tests/level1/core/hc_attrparentnodenull.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_attrprevioussiblingnull.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_attrremovechild1.xml62
-rw-r--r--test/testcases/tests/level1/core/hc_attrremovechild2.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_attrreplacechild1.xml65
-rw-r--r--test/testcases/tests/level1/core/hc_attrreplacechild2.xml74
-rw-r--r--test/testcases/tests/level1/core/hc_attrsetvalue1.xml68
-rw-r--r--test/testcases/tests/level1/core/hc_attrsetvalue2.xml71
-rw-r--r--test/testcases/tests/level1/core/hc_attrspecifiedvalue.xml45
-rw-r--r--test/testcases/tests/level1/core/hc_attrspecifiedvaluechanged.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataappenddata.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataappenddatagetdata.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatadeletedatabegining.xml45
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatadeletedataend.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatadeletedataexceedslength.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatadeletedatagetlengthanddata.xml54
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatadeletedatamiddle.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatagetdata.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatagetlength.xml43
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedatacountnegative.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedataoffsetgreater.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrdeletedataoffsetnegative.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrinsertdataoffsetgreater.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrinsertdataoffsetnegative.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedatacountnegative.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedataoffsetgreater.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrreplacedataoffsetnegative.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringcountnegative.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringnegativeoffset.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_characterdataindexsizeerrsubstringoffsetgreater.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatainsertdatabeginning.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatainsertdataend.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatainsertdatamiddle.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatareplacedatabegining.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatareplacedataend.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatareplacedataexceedslengthofarg.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatareplacedataexceedslengthofdata.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatareplacedatamiddle.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatasetnodevalue.xml43
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatasubstringexceedsvalue.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_characterdatasubstringvalue.xml45
-rw-r--r--test/testcases/tests/level1/core/hc_commentgetcomment.xml61
-rw-r--r--test/testcases/tests/level1/core/hc_documentcreateattribute.xml45
-rw-r--r--test/testcases/tests/level1/core/hc_documentcreatecomment.xml43
-rw-r--r--test/testcases/tests/level1/core/hc_documentcreatedocumentfragment.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_documentcreateelement.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_documentcreateelementcasesensitive.xml56
-rw-r--r--test/testcases/tests/level1/core/hc_documentcreatetextnode.xml43
-rw-r--r--test/testcases/tests/level1/core/hc_documentgetdoctype.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_documentgetelementsbytagnamelength.xml36
-rw-r--r--test/testcases/tests/level1/core/hc_documentgetelementsbytagnametotallength.xml135
-rw-r--r--test/testcases/tests/level1/core/hc_documentgetelementsbytagnamevalue.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_documentgetimplementation.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_documentgetrootnode.xml40
-rw-r--r--test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateattribute.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateattribute1.xml36
-rw-r--r--test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateelement.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_documentinvalidcharacterexceptioncreateelement1.xml36
-rw-r--r--test/testcases/tests/level1/core/hc_domimplementationfeaturenoversion.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_domimplementationfeaturenull.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_domimplementationfeaturexml.xml43
-rw-r--r--test/testcases/tests/level1/core/hc_elementaddnewattribute.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_elementassociatedattribute.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_elementchangeattributevalue.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_elementcreatenewattribute.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_elementgetattributenode.xml39
-rw-r--r--test/testcases/tests/level1/core/hc_elementgetattributenodenull.xml41
-rw-r--r--test/testcases/tests/level1/core/hc_elementgetelementempty.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_elementgetelementsbytagname.xml39
-rw-r--r--test/testcases/tests/level1/core/hc_elementgetelementsbytagnameaccessnodelist.xml61
-rw-r--r--test/testcases/tests/level1/core/hc_elementgetelementsbytagnamenomatch.xml37
-rw-r--r--test/testcases/tests/level1/core/hc_elementgetelementsbytagnamespecialvalue.xml56
-rw-r--r--test/testcases/tests/level1/core/hc_elementgettagname.xml39
-rw-r--r--test/testcases/tests/level1/core/hc_elementinuseattributeerr.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_elementinvalidcharacterexception.xml45
-rw-r--r--test/testcases/tests/level1/core/hc_elementinvalidcharacterexception1.xml38
-rw-r--r--test/testcases/tests/level1/core/hc_elementnormalize.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_elementnormalize2.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_elementnotfounderr.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_elementremoveattribute.xml40
-rw-r--r--test/testcases/tests/level1/core/hc_elementremoveattributeaftercreate.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_elementremoveattributenode.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_elementreplaceattributewithself.xml43
-rw-r--r--test/testcases/tests/level1/core/hc_elementreplaceexistingattribute.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_elementreplaceexistingattributegevalue.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_elementretrieveallattributes.xml59
-rw-r--r--test/testcases/tests/level1/core/hc_elementretrieveattrvalue.xml40
-rw-r--r--test/testcases/tests/level1/core/hc_elementretrievetagname.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_elementsetattributenodenull.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_elementwrongdocumenterr.xml56
-rw-r--r--test/testcases/tests/level1/core/hc_entitiesremovenameditem1.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_entitiessetnameditem1.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapchildnoderange.xml60
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapgetnameditem.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapinuseattributeerr.xml57
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapnotfounderr.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapnumberofnodes.xml45
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapremovenameditem.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapreturnattrnode.xml53
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapreturnfirstitem.xml63
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapreturnlastitem.xml65
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapreturnnull.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapsetnameditem.xml56
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapsetnameditemreturnvalue.xml56
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapsetnameditemthatexists.xml58
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapsetnameditemwithnewvalue.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_namednodemapwrongdocumenterr.xml57
-rw-r--r--test/testcases/tests/level1/core/hc_nodeappendchild.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_nodeappendchildchildexists.xml72
-rw-r--r--test/testcases/tests/level1/core/hc_nodeappendchilddocfragment.xml74
-rw-r--r--test/testcases/tests/level1/core/hc_nodeappendchildgetnodename.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_nodeappendchildinvalidnodetype.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_nodeappendchildnewchilddiffdocument.xml53
-rw-r--r--test/testcases/tests/level1/core/hc_nodeappendchildnodeancestor.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_nodeattributenodeattribute.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_nodeattributenodename.xml41
-rw-r--r--test/testcases/tests/level1/core/hc_nodeattributenodetype.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_nodeattributenodevalue.xml43
-rw-r--r--test/testcases/tests/level1/core/hc_nodechildnodes.xml63
-rw-r--r--test/testcases/tests/level1/core/hc_nodechildnodesappendchild.xml73
-rw-r--r--test/testcases/tests/level1/core/hc_nodechildnodesempty.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_nodecloneattributescopied.xml62
-rw-r--r--test/testcases/tests/level1/core/hc_nodeclonefalsenocopytext.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_nodeclonegetparentnull.xml42
-rw-r--r--test/testcases/tests/level1/core/hc_nodeclonenodefalse.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_nodeclonenodetrue.xml61
-rw-r--r--test/testcases/tests/level1/core/hc_nodeclonetruecopytext.xml45
-rw-r--r--test/testcases/tests/level1/core/hc_nodecommentnodeattributes.xml52
-rw-r--r--test/testcases/tests/level1/core/hc_nodecommentnodename.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_nodecommentnodetype.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_nodecommentnodevalue.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_nodedocumentfragmentnodename.xml39
-rw-r--r--test/testcases/tests/level1/core/hc_nodedocumentfragmentnodetype.xml39
-rw-r--r--test/testcases/tests/level1/core/hc_nodedocumentfragmentnodevalue.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_nodedocumentnodeattribute.xml38
-rw-r--r--test/testcases/tests/level1/core/hc_nodedocumentnodename.xml37
-rw-r--r--test/testcases/tests/level1/core/hc_nodedocumentnodetype.xml36
-rw-r--r--test/testcases/tests/level1/core/hc_nodedocumentnodevalue.xml38
-rw-r--r--test/testcases/tests/level1/core/hc_nodeelementnodeattributes.xml59
-rw-r--r--test/testcases/tests/level1/core/hc_nodeelementnodename.xml41
-rw-r--r--test/testcases/tests/level1/core/hc_nodeelementnodetype.xml36
-rw-r--r--test/testcases/tests/level1/core/hc_nodeelementnodevalue.xml33
-rw-r--r--test/testcases/tests/level1/core/hc_nodegetfirstchild.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_nodegetfirstchildnull.xml41
-rw-r--r--test/testcases/tests/level1/core/hc_nodegetlastchild.xml41
-rw-r--r--test/testcases/tests/level1/core/hc_nodegetlastchildnull.xml42
-rw-r--r--test/testcases/tests/level1/core/hc_nodegetnextsibling.xml41
-rw-r--r--test/testcases/tests/level1/core/hc_nodegetnextsiblingnull.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_nodegetownerdocument.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_nodegetownerdocumentnull.xml40
-rw-r--r--test/testcases/tests/level1/core/hc_nodegetprevioussibling.xml41
-rw-r--r--test/testcases/tests/level1/core/hc_nodegetprevioussiblingnull.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_nodehaschildnodes.xml39
-rw-r--r--test/testcases/tests/level1/core/hc_nodehaschildnodesfalse.xml42
-rw-r--r--test/testcases/tests/level1/core/hc_nodeinsertbefore.xml68
-rw-r--r--test/testcases/tests/level1/core/hc_nodeinsertbeforedocfragment.xml64
-rw-r--r--test/testcases/tests/level1/core/hc_nodeinsertbeforeinvalidnodetype.xml55
-rw-r--r--test/testcases/tests/level1/core/hc_nodeinsertbeforenewchilddiffdocument.xml55
-rw-r--r--test/testcases/tests/level1/core/hc_nodeinsertbeforenewchildexists.xml68
-rw-r--r--test/testcases/tests/level1/core/hc_nodeinsertbeforenodeancestor.xml53
-rw-r--r--test/testcases/tests/level1/core/hc_nodeinsertbeforenodename.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_nodeinsertbeforerefchildnonexistent.xml53
-rw-r--r--test/testcases/tests/level1/core/hc_nodeinsertbeforerefchildnull.xml53
-rw-r--r--test/testcases/tests/level1/core/hc_nodelistindexequalzero.xml53
-rw-r--r--test/testcases/tests/level1/core/hc_nodelistindexgetlength.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_nodelistindexgetlengthofemptylist.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_nodelistindexnotzero.xml52
-rw-r--r--test/testcases/tests/level1/core/hc_nodelistreturnfirstitem.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_nodelistreturnlastitem.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_nodelisttraverselist.xml65
-rw-r--r--test/testcases/tests/level1/core/hc_nodeparentnode.xml41
-rw-r--r--test/testcases/tests/level1/core/hc_nodeparentnodenull.xml38
-rw-r--r--test/testcases/tests/level1/core/hc_noderemovechild.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_noderemovechildgetnodename.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_noderemovechildnode.xml73
-rw-r--r--test/testcases/tests/level1/core/hc_noderemovechildoldchildnonexistent.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_nodereplacechild.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_nodereplacechildinvalidnodetype.xml55
-rw-r--r--test/testcases/tests/level1/core/hc_nodereplacechildnewchilddiffdocument.xml55
-rw-r--r--test/testcases/tests/level1/core/hc_nodereplacechildnewchildexists.xml67
-rw-r--r--test/testcases/tests/level1/core/hc_nodereplacechildnodeancestor.xml53
-rw-r--r--test/testcases/tests/level1/core/hc_nodereplacechildnodename.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_nodereplacechildoldchildnonexistent.xml51
-rw-r--r--test/testcases/tests/level1/core/hc_nodetextnodeattribute.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_nodetextnodename.xml37
-rw-r--r--test/testcases/tests/level1/core/hc_nodetextnodetype.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_nodetextnodevalue.xml43
-rw-r--r--test/testcases/tests/level1/core/hc_nodevalue01.xml37
-rw-r--r--test/testcases/tests/level1/core/hc_nodevalue02.xml38
-rw-r--r--test/testcases/tests/level1/core/hc_nodevalue03.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_nodevalue04.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_nodevalue05.xml37
-rw-r--r--test/testcases/tests/level1/core/hc_nodevalue06.xml35
-rw-r--r--test/testcases/tests/level1/core/hc_nodevalue07.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_nodevalue08.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_notationsremovenameditem1.xml44
-rw-r--r--test/testcases/tests/level1/core/hc_notationssetnameditem1.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_textindexsizeerrnegativeoffset.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_textindexsizeerroffsetoutofbounds.xml50
-rw-r--r--test/testcases/tests/level1/core/hc_textparseintolistofelements.xml75
-rw-r--r--test/testcases/tests/level1/core/hc_textsplittextfour.xml46
-rw-r--r--test/testcases/tests/level1/core/hc_textsplittextone.xml49
-rw-r--r--test/testcases/tests/level1/core/hc_textsplittextthree.xml48
-rw-r--r--test/testcases/tests/level1/core/hc_textsplittexttwo.xml47
-rw-r--r--test/testcases/tests/level1/core/hc_textwithnomarkup.xml47
-rw-r--r--test/testcases/tests/level1/core/metadata.xml15
-rw-r--r--test/testcases/tests/level1/core/namednodemapchildnoderange.xml49
-rw-r--r--test/testcases/tests/level1/core/namednodemapgetnameditem.xml46
-rw-r--r--test/testcases/tests/level1/core/namednodemapinuseattributeerr.xml57
-rw-r--r--test/testcases/tests/level1/core/namednodemapnotfounderr.xml49
-rw-r--r--test/testcases/tests/level1/core/namednodemapnumberofnodes.xml45
-rw-r--r--test/testcases/tests/level1/core/namednodemapremovenameditem.xml54
-rw-r--r--test/testcases/tests/level1/core/namednodemapremovenameditemgetvalue.xml56
-rw-r--r--test/testcases/tests/level1/core/namednodemapremovenameditemreturnnodevalue.xml47
-rw-r--r--test/testcases/tests/level1/core/namednodemapreturnattrnode.xml55
-rw-r--r--test/testcases/tests/level1/core/namednodemapreturnfirstitem.xml51
-rw-r--r--test/testcases/tests/level1/core/namednodemapreturnlastitem.xml51
-rw-r--r--test/testcases/tests/level1/core/namednodemapreturnnull.xml45
-rw-r--r--test/testcases/tests/level1/core/namednodemapsetnameditem.xml56
-rw-r--r--test/testcases/tests/level1/core/namednodemapsetnameditemreturnvalue.xml56
-rw-r--r--test/testcases/tests/level1/core/namednodemapsetnameditemthatexists.xml59
-rw-r--r--test/testcases/tests/level1/core/namednodemapsetnameditemwithnewvalue.xml50
-rw-r--r--test/testcases/tests/level1/core/namednodemapwrongdocumenterr.xml56
-rw-r--r--test/testcases/tests/level1/core/nodeappendchild.xml49
-rw-r--r--test/testcases/tests/level1/core/nodeappendchildchildexists.xml60
-rw-r--r--test/testcases/tests/level1/core/nodeappendchilddocfragment.xml70
-rw-r--r--test/testcases/tests/level1/core/nodeappendchildgetnodename.xml46
-rw-r--r--test/testcases/tests/level1/core/nodeappendchildinvalidnodetype.xml49
-rw-r--r--test/testcases/tests/level1/core/nodeappendchildnewchilddiffdocument.xml53
-rw-r--r--test/testcases/tests/level1/core/nodeappendchildnodeancestor.xml50
-rw-r--r--test/testcases/tests/level1/core/nodeappendchildnomodificationallowederr.xml61
-rw-r--r--test/testcases/tests/level1/core/nodeappendchildnomodificationallowederrEE.xml46
-rw-r--r--test/testcases/tests/level1/core/nodeattributenodeattribute.xml46
-rw-r--r--test/testcases/tests/level1/core/nodeattributenodename.xml50
-rw-r--r--test/testcases/tests/level1/core/nodeattributenodetype.xml48
-rw-r--r--test/testcases/tests/level1/core/nodeattributenodevalue.xml50
-rw-r--r--test/testcases/tests/level1/core/nodecdatasectionnodeattribute.xml50
-rw-r--r--test/testcases/tests/level1/core/nodecdatasectionnodename.xml48
-rw-r--r--test/testcases/tests/level1/core/nodecdatasectionnodetype.xml47
-rw-r--r--test/testcases/tests/level1/core/nodecdatasectionnodevalue.xml51
-rw-r--r--test/testcases/tests/level1/core/nodechildnodes.xml53
-rw-r--r--test/testcases/tests/level1/core/nodechildnodesappendchild.xml44
-rw-r--r--test/testcases/tests/level1/core/nodechildnodesempty.xml47
-rw-r--r--test/testcases/tests/level1/core/nodecloneattributescopied.xml54
-rw-r--r--test/testcases/tests/level1/core/nodeclonefalsenocopytext.xml46
-rw-r--r--test/testcases/tests/level1/core/nodeclonegetparentnull.xml42
-rw-r--r--test/testcases/tests/level1/core/nodeclonenodefalse.xml49
-rw-r--r--test/testcases/tests/level1/core/nodeclonenodetrue.xml83
-rw-r--r--test/testcases/tests/level1/core/nodeclonetruecopytext.xml42
-rw-r--r--test/testcases/tests/level1/core/nodecommentnodeattributes.xml50
-rw-r--r--test/testcases/tests/level1/core/nodecommentnodename.xml47
-rw-r--r--test/testcases/tests/level1/core/nodecommentnodetype.xml46
-rw-r--r--test/testcases/tests/level1/core/nodecommentnodevalue.xml46
-rw-r--r--test/testcases/tests/level1/core/nodedocumentfragmentnodename.xml39
-rw-r--r--test/testcases/tests/level1/core/nodedocumentfragmentnodetype.xml39
-rw-r--r--test/testcases/tests/level1/core/nodedocumentfragmentnodevalue.xml48
-rw-r--r--test/testcases/tests/level1/core/nodedocumentnodeattribute.xml34
-rw-r--r--test/testcases/tests/level1/core/nodedocumentnodename.xml38
-rw-r--r--test/testcases/tests/level1/core/nodedocumentnodetype.xml36
-rw-r--r--test/testcases/tests/level1/core/nodedocumentnodevalue.xml38
-rw-r--r--test/testcases/tests/level1/core/nodedocumenttypenodename.xml40
-rw-r--r--test/testcases/tests/level1/core/nodedocumenttypenodetype.xml34
-rw-r--r--test/testcases/tests/level1/core/nodedocumenttypenodevalue.xml33
-rw-r--r--test/testcases/tests/level1/core/nodeelementnodeattributes.xml52
-rw-r--r--test/testcases/tests/level1/core/nodeelementnodename.xml52
-rw-r--r--test/testcases/tests/level1/core/nodeelementnodetype.xml36
-rw-r--r--test/testcases/tests/level1/core/nodeelementnodevalue.xml33
-rw-r--r--test/testcases/tests/level1/core/nodeentitynodeattributes.xml40
-rw-r--r--test/testcases/tests/level1/core/nodeentitynodename.xml39
-rw-r--r--test/testcases/tests/level1/core/nodeentitynodetype.xml40
-rw-r--r--test/testcases/tests/level1/core/nodeentitynodevalue.xml40
-rw-r--r--test/testcases/tests/level1/core/nodeentityreferencenodeattributes.xml43
-rw-r--r--test/testcases/tests/level1/core/nodeentityreferencenodename.xml49
-rw-r--r--test/testcases/tests/level1/core/nodeentityreferencenodetype.xml47
-rw-r--r--test/testcases/tests/level1/core/nodeentityreferencenodevalue.xml49
-rw-r--r--test/testcases/tests/level1/core/nodeentitysetnodevalue.xml43
-rw-r--r--test/testcases/tests/level1/core/nodegetfirstchild.xml41
-rw-r--r--test/testcases/tests/level1/core/nodegetfirstchildnull.xml52
-rw-r--r--test/testcases/tests/level1/core/nodegetlastchild.xml41
-rw-r--r--test/testcases/tests/level1/core/nodegetlastchildnull.xml52
-rw-r--r--test/testcases/tests/level1/core/nodegetnextsibling.xml41
-rw-r--r--test/testcases/tests/level1/core/nodegetnextsiblingnull.xml48
-rw-r--r--test/testcases/tests/level1/core/nodegetownerdocument.xml50
-rw-r--r--test/testcases/tests/level1/core/nodegetownerdocumentnull.xml31
-rw-r--r--test/testcases/tests/level1/core/nodegetprevioussibling.xml41
-rw-r--r--test/testcases/tests/level1/core/nodegetprevioussiblingnull.xml48
-rw-r--r--test/testcases/tests/level1/core/nodehaschildnodes.xml39
-rw-r--r--test/testcases/tests/level1/core/nodehaschildnodesfalse.xml46
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbefore.xml87
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbeforedocfragment.xml63
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbeforeinvalidnodetype.xml53
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbeforenewchilddiffdocument.xml54
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbeforenewchildexists.xml89
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbeforenodeancestor.xml54
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbeforenodename.xml49
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbeforenomodificationallowederr.xml62
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbeforenomodificationallowederrEE.xml47
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbeforerefchildnonexistent.xml52
-rw-r--r--test/testcases/tests/level1/core/nodeinsertbeforerefchildnull.xml52
-rw-r--r--test/testcases/tests/level1/core/nodelistindexequalzero.xml43
-rw-r--r--test/testcases/tests/level1/core/nodelistindexgetlength.xml44
-rw-r--r--test/testcases/tests/level1/core/nodelistindexgetlengthofemptylist.xml47
-rw-r--r--test/testcases/tests/level1/core/nodelistindexnotzero.xml52
-rw-r--r--test/testcases/tests/level1/core/nodelistreturnfirstitem.xml46
-rw-r--r--test/testcases/tests/level1/core/nodelistreturnlastitem.xml48
-rw-r--r--test/testcases/tests/level1/core/nodelisttraverselist.xml78
-rw-r--r--test/testcases/tests/level1/core/nodenotationnodeattributes.xml44
-rw-r--r--test/testcases/tests/level1/core/nodenotationnodename.xml45
-rw-r--r--test/testcases/tests/level1/core/nodenotationnodetype.xml44
-rw-r--r--test/testcases/tests/level1/core/nodenotationnodevalue.xml45
-rw-r--r--test/testcases/tests/level1/core/nodeparentnode.xml47
-rw-r--r--test/testcases/tests/level1/core/nodeparentnodenull.xml37
-rw-r--r--test/testcases/tests/level1/core/nodeprocessinginstructionnodeattributes.xml44
-rw-r--r--test/testcases/tests/level1/core/nodeprocessinginstructionnodename.xml46
-rw-r--r--test/testcases/tests/level1/core/nodeprocessinginstructionnodetype.xml46
-rw-r--r--test/testcases/tests/level1/core/nodeprocessinginstructionnodevalue.xml40
-rw-r--r--test/testcases/tests/level1/core/nodeprocessinginstructionsetnodevalue.xml43
-rw-r--r--test/testcases/tests/level1/core/noderemovechild.xml45
-rw-r--r--test/testcases/tests/level1/core/noderemovechildgetnodename.xml51
-rw-r--r--test/testcases/tests/level1/core/noderemovechildnode.xml57
-rw-r--r--test/testcases/tests/level1/core/noderemovechildnomodificationallowederr.xml59
-rw-r--r--test/testcases/tests/level1/core/noderemovechildnomodificationallowederrEE.xml47
-rw-r--r--test/testcases/tests/level1/core/noderemovechildoldchildnonexistent.xml49
-rw-r--r--test/testcases/tests/level1/core/nodereplacechild.xml50
-rw-r--r--test/testcases/tests/level1/core/nodereplacechildinvalidnodetype.xml53
-rw-r--r--test/testcases/tests/level1/core/nodereplacechildnewchilddiffdocument.xml54
-rw-r--r--test/testcases/tests/level1/core/nodereplacechildnewchildexists.xml84
-rw-r--r--test/testcases/tests/level1/core/nodereplacechildnodeancestor.xml54
-rw-r--r--test/testcases/tests/level1/core/nodereplacechildnodename.xml54
-rw-r--r--test/testcases/tests/level1/core/nodereplacechildnomodificationallowederr.xml60
-rw-r--r--test/testcases/tests/level1/core/nodereplacechildnomodificationallowederrEE.xml48
-rw-r--r--test/testcases/tests/level1/core/nodereplacechildoldchildnonexistent.xml51
-rw-r--r--test/testcases/tests/level1/core/nodesetnodevaluenomodificationallowederr.xml62
-rw-r--r--test/testcases/tests/level1/core/nodesetnodevaluenomodificationallowederrEE.xml42
-rw-r--r--test/testcases/tests/level1/core/nodetextnodeattribute.xml44
-rw-r--r--test/testcases/tests/level1/core/nodetextnodename.xml50
-rw-r--r--test/testcases/tests/level1/core/nodetextnodetype.xml48
-rw-r--r--test/testcases/tests/level1/core/nodetextnodevalue.xml42
-rw-r--r--test/testcases/tests/level1/core/nodevalue01.xml37
-rw-r--r--test/testcases/tests/level1/core/nodevalue02.xml38
-rw-r--r--test/testcases/tests/level1/core/nodevalue03.xml38
-rw-r--r--test/testcases/tests/level1/core/nodevalue04.xml38
-rw-r--r--test/testcases/tests/level1/core/nodevalue05.xml37
-rw-r--r--test/testcases/tests/level1/core/nodevalue06.xml35
-rw-r--r--test/testcases/tests/level1/core/nodevalue07.xml44
-rw-r--r--test/testcases/tests/level1/core/nodevalue08.xml44
-rw-r--r--test/testcases/tests/level1/core/nodevalue09.xml36
-rw-r--r--test/testcases/tests/level1/core/notationgetnotationname.xml43
-rw-r--r--test/testcases/tests/level1/core/notationgetpublicid.xml40
-rw-r--r--test/testcases/tests/level1/core/notationgetpublicidnull.xml45
-rw-r--r--test/testcases/tests/level1/core/notationgetsystemid.xml45
-rw-r--r--test/testcases/tests/level1/core/notationgetsystemidnull.xml41
-rw-r--r--test/testcases/tests/level1/core/processinginstructiongetdata.xml43
-rw-r--r--test/testcases/tests/level1/core/processinginstructiongettarget.xml42
-rw-r--r--test/testcases/tests/level1/core/processinginstructionsetdatanomodificationallowederr.xml53
-rw-r--r--test/testcases/tests/level1/core/processinginstructionsetdatanomodificationallowederrEE.xml57
-rw-r--r--test/testcases/tests/level1/core/textindexsizeerrnegativeoffset.xml49
-rw-r--r--test/testcases/tests/level1/core/textindexsizeerroffsetoutofbounds.xml50
-rw-r--r--test/testcases/tests/level1/core/textparseintolistofelements.xml74
-rw-r--r--test/testcases/tests/level1/core/textsplittextfour.xml46
-rw-r--r--test/testcases/tests/level1/core/textsplittextnomodificationallowederr.xml62
-rw-r--r--test/testcases/tests/level1/core/textsplittextnomodificationallowederrEE.xml43
-rw-r--r--test/testcases/tests/level1/core/textsplittextone.xml49
-rw-r--r--test/testcases/tests/level1/core/textsplittextthree.xml48
-rw-r--r--test/testcases/tests/level1/core/textsplittexttwo.xml47
-rw-r--r--test/testcases/tests/level1/core/textwithnomarkup.xml47
554 files changed, 27514 insertions, 0 deletions
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
--- /dev/null
+++ b/test/testcases/tests/level1/core/.nodeappendchild.xml.swp
Binary files 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
--- /dev/null
+++ b/test/testcases/tests/level1/core/CVS/Template
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE suite SYSTEM "dom1.dtd">
+
+<suite xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="alltests">
+<metadata>
+<title>DOM Level 1 Core Test Suite</title>
+<creator>DOM Test Suite Project</creator>
+</metadata>
+<suite.member href="attrcreatedocumentfragment.xml"/>
+<suite.member href="attrcreatetextnode.xml"/>
+<suite.member href="attrcreatetextnode2.xml"/>
+<suite.member href="attrdefaultvalue.xml"/>
+<suite.member href="attreffectivevalue.xml"/>
+<suite.member href="attrentityreplacement.xml"/>
+<suite.member href="attrname.xml"/>
+<suite.member href="attrnextsiblingnull.xml"/>
+<suite.member href="attrnotspecifiedvalue.xml"/>
+<suite.member href="attrparentnodenull.xml"/>
+<suite.member href="attrprevioussiblingnull.xml"/>
+<suite.member href="attrsetvaluenomodificationallowederr.xml"/>
+<suite.member href="attrsetvaluenomodificationallowederrEE.xml"/>
+<suite.member href="attrspecifiedvalue.xml"/>
+<suite.member href="attrspecifiedvaluechanged.xml"/>
+<suite.member href="attrspecifiedvalueremove.xml"/>
+<suite.member href="cdatasectiongetdata.xml"/>
+<suite.member href="cdatasectionnormalize.xml"/>
+<suite.member href="characterdataappenddata.xml"/>
+<suite.member href="characterdataappenddatagetdata.xml"/>
+<suite.member href="characterdataappenddatanomodificationallowederr.xml"/>
+<suite.member href="characterdataappenddatanomodificationallowederrEE.xml"/>
+<suite.member href="characterdatadeletedatabegining.xml"/>
+<suite.member href="characterdatadeletedataend.xml"/>
+<suite.member href="characterdatadeletedataexceedslength.xml"/>
+<suite.member href="characterdatadeletedatagetlengthanddata.xml"/>
+<suite.member href="characterdatadeletedatamiddle.xml"/>
+<suite.member href="characterdatadeletedatanomodificationallowederr.xml"/>
+<suite.member href="characterdatadeletedatanomodificationallowederrEE.xml"/>
+<suite.member href="characterdatagetdata.xml"/>
+<suite.member href="characterdatagetlength.xml"/>
+<suite.member href="characterdataindexsizeerrdeletedatacountnegative.xml"/>
+<suite.member href="characterdataindexsizeerrdeletedataoffsetgreater.xml"/>
+<suite.member href="characterdataindexsizeerrdeletedataoffsetnegative.xml"/>
+<suite.member href="characterdataindexsizeerrinsertdataoffsetgreater.xml"/>
+<suite.member href="characterdataindexsizeerrinsertdataoffsetnegative.xml"/>
+<suite.member href="characterdataindexsizeerrreplacedatacountnegative.xml"/>
+<suite.member href="characterdataindexsizeerrreplacedataoffsetgreater.xml"/>
+<suite.member href="characterdataindexsizeerrreplacedataoffsetnegative.xml"/>
+<suite.member href="characterdataindexsizeerrsubstringcountnegative.xml"/>
+<suite.member href="characterdataindexsizeerrsubstringnegativeoffset.xml"/>
+<suite.member href="characterdataindexsizeerrsubstringoffsetgreater.xml"/>
+<suite.member href="characterdatainsertdatabeginning.xml"/>
+<suite.member href="characterdatainsertdataend.xml"/>
+<suite.member href="characterdatainsertdatamiddle.xml"/>
+<suite.member href="characterdatainsertdatanomodificationallowederr.xml"/>
+<suite.member href="characterdatainsertdatanomodificationallowederrEE.xml"/>
+<suite.member href="characterdatareplacedatabegining.xml"/>
+<suite.member href="characterdatareplacedataend.xml"/>
+<suite.member href="characterdatareplacedataexceedslengthofarg.xml"/>
+<suite.member href="characterdatareplacedataexceedslengthofdata.xml"/>
+<suite.member href="characterdatareplacedatamiddle.xml"/>
+<suite.member href="characterdatareplacedatanomodificationallowederr.xml"/>
+<suite.member href="characterdatareplacedatanomodificationallowederrEE.xml"/>
+<suite.member href="characterdatasetdatanomodificationallowederr.xml"/>
+<suite.member href="characterdatasetdatanomodificationallowederrEE.xml"/>
+<suite.member href="characterdatasetnodevalue.xml"/>
+<suite.member href="characterdatasubstringexceedsvalue.xml"/>
+<suite.member href="characterdatasubstringvalue.xml"/>
+<suite.member href="commentgetcomment.xml"/>
+<suite.member href="documentcreateattribute.xml"/>
+<suite.member href="documentcreatecdatasection.xml"/>
+<suite.member href="documentcreatecomment.xml"/>
+<suite.member href="documentcreatedocumentfragment.xml"/>
+<suite.member href="documentcreateelement.xml"/>
+<suite.member href="documentcreateelementcasesensitive.xml"/>
+<suite.member href="documentcreateelementdefaultattr.xml"/>
+<suite.member href="documentcreateentityreference.xml"/>
+<suite.member href="documentcreateentityreferenceknown.xml"/>
+<suite.member href="documentcreateprocessinginstruction.xml"/>
+<suite.member href="documentcreatetextnode.xml"/>
+<suite.member href="documentgetdoctype.xml"/>
+<suite.member href="documentgetdoctypenodtd.xml"/>
+<suite.member href="documentgetelementsbytagnamelength.xml"/>
+<suite.member href="documentgetelementsbytagnametotallength.xml"/>
+<suite.member href="documentgetelementsbytagnamevalue.xml"/>
+<suite.member href="documentgetimplementation.xml"/>
+<suite.member href="documentgetrootnode.xml"/>
+<suite.member href="documentinvalidcharacterexceptioncreateattribute.xml"/>
+<suite.member href="documentinvalidcharacterexceptioncreateelement.xml"/>
+<suite.member href="documentinvalidcharacterexceptioncreateentref.xml"/>
+<suite.member href="documentinvalidcharacterexceptioncreateentref1.xml"/>
+<suite.member href="documentinvalidcharacterexceptioncreatepi.xml"/>
+<suite.member href="documentinvalidcharacterexceptioncreatepi1.xml"/>
+<suite.member href="documenttypegetdoctype.xml"/>
+<suite.member href="documenttypegetentities.xml"/>
+<suite.member href="documenttypegetentitieslength.xml"/>
+<suite.member href="documenttypegetentitiestype.xml"/>
+<suite.member href="documenttypegetnotations.xml"/>
+<suite.member href="documenttypegetnotationstype.xml"/>
+<suite.member href="domimplementationfeaturenoversion.xml"/>
+<suite.member href="domimplementationfeaturenull.xml"/>
+<suite.member href="domimplementationfeaturexml.xml"/>
+<suite.member href="elementaddnewattribute.xml"/>
+<suite.member href="elementassociatedattribute.xml"/>
+<suite.member href="elementchangeattributevalue.xml"/>
+<suite.member href="elementcreatenewattribute.xml"/>
+<suite.member href="elementgetattributenode.xml"/>
+<suite.member href="elementgetattributenodenull.xml"/>
+<suite.member href="elementgetelementempty.xml"/>
+<suite.member href="elementgetelementsbytagname.xml"/>
+<suite.member href="elementgetelementsbytagnameaccessnodelist.xml"/>
+<suite.member href="elementgetelementsbytagnamenomatch.xml"/>
+<suite.member href="elementgetelementsbytagnamespecialvalue.xml"/>
+<suite.member href="elementgettagname.xml"/>
+<suite.member href="elementinuseattributeerr.xml"/>
+<suite.member href="elementinvalidcharacterexception.xml"/>
+<suite.member href="elementnormalize.xml"/>
+<suite.member href="elementnotfounderr.xml"/>
+<suite.member href="elementremoveattribute.xml"/>
+<suite.member href="elementremoveattributeaftercreate.xml"/>
+<suite.member href="elementremoveattributenode.xml"/>
+<suite.member href="elementremoveattributenodenomodificationallowederr.xml"/>
+<suite.member href="elementremoveattributenodenomodificationallowederrEE.xml"/>
+<suite.member href="elementremoveattributenomodificationallowederr.xml"/>
+<suite.member href="elementremoveattributenomodificationallowederrEE.xml"/>
+<suite.member href="elementremoveattributerestoredefaultvalue.xml"/>
+<suite.member href="elementreplaceattributewithself.xml"/>
+<suite.member href="elementreplaceexistingattribute.xml"/>
+<suite.member href="elementreplaceexistingattributegevalue.xml"/>
+<suite.member href="elementretrieveallattributes.xml"/>
+<suite.member href="elementretrieveattrvalue.xml"/>
+<suite.member href="elementretrievetagname.xml"/>
+<suite.member href="elementsetattributenodenomodificationallowederr.xml"/>
+<suite.member href="elementsetattributenodenomodificationallowederrEE.xml"/>
+<suite.member href="elementsetattributenodenull.xml"/>
+<suite.member href="elementsetattributenomodificationallowederr.xml"/>
+<suite.member href="elementsetattributenomodificationallowederrEE.xml"/>
+<suite.member href="elementwrongdocumenterr.xml"/>
+<suite.member href="entitygetentityname.xml"/>
+<suite.member href="entitygetpublicid.xml"/>
+<suite.member href="entitygetpublicidnull.xml"/>
+<suite.member href="namednodemapchildnoderange.xml"/>
+<suite.member href="namednodemapgetnameditem.xml"/>
+<suite.member href="namednodemapinuseattributeerr.xml"/>
+<suite.member href="namednodemapnotfounderr.xml"/>
+<suite.member href="namednodemapnumberofnodes.xml"/>
+<suite.member href="namednodemapremovenameditem.xml"/>
+<suite.member href="namednodemapremovenameditemgetvalue.xml"/>
+<suite.member href="namednodemapremovenameditemreturnnodevalue.xml"/>
+<suite.member href="namednodemapreturnattrnode.xml"/>
+<suite.member href="namednodemapreturnfirstitem.xml"/>
+<suite.member href="namednodemapreturnlastitem.xml"/>
+<suite.member href="namednodemapreturnnull.xml"/>
+<suite.member href="namednodemapsetnameditem.xml"/>
+<suite.member href="namednodemapsetnameditemreturnvalue.xml"/>
+<suite.member href="namednodemapsetnameditemthatexists.xml"/>
+<suite.member href="namednodemapsetnameditemwithnewvalue.xml"/>
+<suite.member href="namednodemapwrongdocumenterr.xml"/>
+<suite.member href="nodeappendchild.xml"/>
+<suite.member href="nodeappendchildchildexists.xml"/>
+<suite.member href="nodeappendchilddocfragment.xml"/>
+<suite.member href="nodeappendchildgetnodename.xml"/>
+<suite.member href="nodeappendchildinvalidnodetype.xml"/>
+<suite.member href="nodeappendchildnewchilddiffdocument.xml"/>
+<suite.member href="nodeappendchildnodeancestor.xml"/>
+<suite.member href="nodeappendchildnomodificationallowederr.xml"/>
+<suite.member href="nodeappendchildnomodificationallowederrEE.xml"/>
+<suite.member href="nodeattributenodeattribute.xml"/>
+<suite.member href="nodeattributenodename.xml"/>
+<suite.member href="nodeattributenodetype.xml"/>
+<suite.member href="nodeattributenodevalue.xml"/>
+<suite.member href="nodecdatasectionnodeattribute.xml"/>
+<suite.member href="nodecdatasectionnodename.xml"/>
+<suite.member href="nodecdatasectionnodetype.xml"/>
+<suite.member href="nodecdatasectionnodevalue.xml"/>
+<suite.member href="nodechildnodes.xml"/>
+<suite.member href="nodechildnodesappendchild.xml"/>
+<suite.member href="nodechildnodesempty.xml"/>
+<suite.member href="nodecloneattributescopied.xml"/>
+<suite.member href="nodeclonefalsenocopytext.xml"/>
+<suite.member href="nodeclonegetparentnull.xml"/>
+<suite.member href="nodeclonenodefalse.xml"/>
+<suite.member href="nodeclonenodetrue.xml"/>
+<suite.member href="nodeclonetruecopytext.xml"/>
+<suite.member href="nodecommentnodeattributes.xml"/>
+<suite.member href="nodecommentnodename.xml"/>
+<suite.member href="nodecommentnodetype.xml"/>
+<suite.member href="nodecommentnodevalue.xml"/>
+<suite.member href="nodedocumentfragmentnodename.xml"/>
+<suite.member href="nodedocumentfragmentnodetype.xml"/>
+<suite.member href="nodedocumentfragmentnodevalue.xml"/>
+<suite.member href="nodedocumentnodeattribute.xml"/>
+<suite.member href="nodedocumentnodename.xml"/>
+<suite.member href="nodedocumentnodetype.xml"/>
+<suite.member href="nodedocumentnodevalue.xml"/>
+<suite.member href="nodedocumenttypenodename.xml"/>
+<suite.member href="nodedocumenttypenodetype.xml"/>
+<suite.member href="nodedocumenttypenodevalue.xml"/>
+<suite.member href="nodeelementnodeattributes.xml"/>
+<suite.member href="nodeelementnodename.xml"/>
+<suite.member href="nodeelementnodetype.xml"/>
+<suite.member href="nodeelementnodevalue.xml"/>
+<suite.member href="nodeentitynodeattributes.xml"/>
+<suite.member href="nodeentitynodename.xml"/>
+<suite.member href="nodeentitynodetype.xml"/>
+<suite.member href="nodeentitynodevalue.xml"/>
+<suite.member href="nodeentitysetnodevalue.xml"/>
+<suite.member href="nodeentityreferencenodeattributes.xml"/>
+<suite.member href="nodeentityreferencenodename.xml"/>
+<suite.member href="nodeentityreferencenodetype.xml"/>
+<suite.member href="nodeentityreferencenodevalue.xml"/>
+<suite.member href="nodegetfirstchild.xml"/>
+<suite.member href="nodegetfirstchildnull.xml"/>
+<suite.member href="nodegetlastchild.xml"/>
+<suite.member href="nodegetlastchildnull.xml"/>
+<suite.member href="nodegetnextsibling.xml"/>
+<suite.member href="nodegetnextsiblingnull.xml"/>
+<suite.member href="nodegetownerdocument.xml"/>
+<suite.member href="nodegetownerdocumentnull.xml"/>
+<suite.member href="nodegetprevioussibling.xml"/>
+<suite.member href="nodegetprevioussiblingnull.xml"/>
+<suite.member href="nodehaschildnodes.xml"/>
+<suite.member href="nodehaschildnodesfalse.xml"/>
+<suite.member href="nodeinsertbefore.xml"/>
+<suite.member href="nodeinsertbeforedocfragment.xml"/>
+<suite.member href="nodeinsertbeforeinvalidnodetype.xml"/>
+<suite.member href="nodeinsertbeforenewchilddiffdocument.xml"/>
+<suite.member href="nodeinsertbeforenewchildexists.xml"/>
+<suite.member href="nodeinsertbeforenodeancestor.xml"/>
+<suite.member href="nodeinsertbeforenodename.xml"/>
+<suite.member href="nodeinsertbeforenomodificationallowederr.xml"/>
+<suite.member href="nodeinsertbeforenomodificationallowederrEE.xml"/>
+<suite.member href="nodeinsertbeforerefchildnonexistent.xml"/>
+<suite.member href="nodeinsertbeforerefchildnull.xml"/>
+<suite.member href="nodelistindexequalzero.xml"/>
+<suite.member href="nodelistindexgetlength.xml"/>
+<suite.member href="nodelistindexgetlengthofemptylist.xml"/>
+<suite.member href="nodelistindexnotzero.xml"/>
+<suite.member href="nodelistreturnfirstitem.xml"/>
+<suite.member href="nodelistreturnlastitem.xml"/>
+<suite.member href="nodelisttraverselist.xml"/>
+<suite.member href="nodenotationnodeattributes.xml"/>
+<suite.member href="nodenotationnodename.xml"/>
+<suite.member href="nodenotationnodetype.xml"/>
+<suite.member href="nodenotationnodevalue.xml"/>
+<suite.member href="nodeparentnode.xml"/>
+<suite.member href="nodeparentnodenull.xml"/>
+<suite.member href="nodeprocessinginstructionnodeattributes.xml"/>
+<suite.member href="nodeprocessinginstructionnodename.xml"/>
+<suite.member href="nodeprocessinginstructionnodetype.xml"/>
+<suite.member href="nodeprocessinginstructionnodevalue.xml"/>
+<suite.member href="nodeprocessinginstructionsetnodevalue.xml"/>
+<suite.member href="noderemovechild.xml"/>
+<suite.member href="noderemovechildgetnodename.xml"/>
+<suite.member href="noderemovechildnode.xml"/>
+<suite.member href="noderemovechildnomodificationallowederr.xml"/>
+<suite.member href="noderemovechildnomodificationallowederrEE.xml"/>
+<suite.member href="noderemovechildoldchildnonexistent.xml"/>
+<suite.member href="nodereplacechild.xml"/>
+<suite.member href="nodereplacechildinvalidnodetype.xml"/>
+<suite.member href="nodereplacechildnewchilddiffdocument.xml"/>
+<suite.member href="nodereplacechildnewchildexists.xml"/>
+<suite.member href="nodereplacechildnodeancestor.xml"/>
+<suite.member href="nodereplacechildnodename.xml"/>
+<suite.member href="nodereplacechildnomodificationallowederr.xml"/>
+<suite.member href="nodereplacechildnomodificationallowederrEE.xml"/>
+<suite.member href="nodereplacechildoldchildnonexistent.xml"/>
+<suite.member href="nodesetnodevaluenomodificationallowederr.xml"/>
+<suite.member href="nodesetnodevaluenomodificationallowederrEE.xml"/>
+<suite.member href="nodetextnodeattribute.xml"/>
+<suite.member href="nodetextnodename.xml"/>
+<suite.member href="nodetextnodetype.xml"/>
+<suite.member href="nodetextnodevalue.xml"/>
+<suite.member href="notationgetnotationname.xml"/>
+<suite.member href="notationgetpublicid.xml"/>
+<suite.member href="notationgetpublicidnull.xml"/>
+<suite.member href="notationgetsystemid.xml"/>
+<suite.member href="notationgetsystemidnull.xml"/>
+<suite.member href="processinginstructiongetdata.xml"/>
+<suite.member href="processinginstructiongettarget.xml"/>
+<suite.member href="processinginstructionsetdatanomodificationallowederr.xml"/>
+<suite.member href="processinginstructionsetdatanomodificationallowederrEE.xml"/>
+<suite.member href="textindexsizeerrnegativeoffset.xml"/>
+<suite.member href="textindexsizeerroffsetoutofbounds.xml"/>
+<suite.member href="textparseintolistofelements.xml"/>
+<suite.member href="textsplittextfour.xml"/>
+<suite.member href="textsplittextnomodificationallowederr.xml"/>
+<suite.member href="textsplittextnomodificationallowederrEE.xml"/>
+<suite.member href="textsplittextone.xml"/>
+<suite.member href="textsplittextthree.xml"/>
+<suite.member href="textsplittexttwo.xml"/>
+<suite.member href="textwithnomarkup.xml"/>
+<suite.member href="nodevalue01.xml"/>
+<suite.member href="nodevalue02.xml"/>
+<suite.member href="nodevalue03.xml"/>
+<suite.member href="nodevalue04.xml"/>
+<suite.member href="nodevalue05.xml"/>
+<suite.member href="nodevalue06.xml"/>
+<suite.member href="nodevalue07.xml"/>
+<suite.member href="nodevalue08.xml"/>
+<suite.member href="nodevalue09.xml"/>
+<!-- HTML compatible equivalents of the previous tests that
+ only used Fundamental interfaces -->
+<suite.member href="hc_attrcreatedocumentfragment.xml"/>
+<suite.member href="hc_attrcreatetextnode.xml"/>
+<suite.member href="hc_attrcreatetextnode2.xml"/>
+<suite.member href="hc_attreffectivevalue.xml"/>
+<suite.member href="hc_attrname.xml"/>
+<suite.member href="hc_attrnextsiblingnull.xml"/>
+<suite.member href="hc_attrparentnodenull.xml"/>
+<suite.member href="hc_attrprevioussiblingnull.xml"/>
+<suite.member href="hc_attrspecifiedvalue.xml"/>
+<suite.member href="hc_attrspecifiedvaluechanged.xml"/>
+<suite.member href="hc_characterdataappenddata.xml"/>
+<suite.member href="hc_characterdataappenddatagetdata.xml"/>
+<suite.member href="hc_characterdatadeletedatabegining.xml"/>
+<suite.member href="hc_characterdatadeletedataend.xml"/>
+<suite.member href="hc_characterdatadeletedataexceedslength.xml"/>
+<suite.member href="hc_characterdatadeletedatagetlengthanddata.xml"/>
+<suite.member href="hc_characterdatadeletedatamiddle.xml"/>
+<suite.member href="hc_characterdatagetdata.xml"/>
+<suite.member href="hc_characterdatagetlength.xml"/>
+<suite.member href="hc_characterdataindexsizeerrdeletedatacountnegative.xml"/>
+<suite.member href="hc_characterdataindexsizeerrdeletedataoffsetgreater.xml"/>
+<suite.member href="hc_characterdataindexsizeerrdeletedataoffsetnegative.xml"/>
+<suite.member href="hc_characterdataindexsizeerrinsertdataoffsetgreater.xml"/>
+<suite.member href="hc_characterdataindexsizeerrinsertdataoffsetnegative.xml"/>
+<suite.member href="hc_characterdataindexsizeerrreplacedatacountnegative.xml"/>
+<suite.member href="hc_characterdataindexsizeerrreplacedataoffsetgreater.xml"/>
+<suite.member href="hc_characterdataindexsizeerrreplacedataoffsetnegative.xml"/>
+<suite.member href="hc_characterdataindexsizeerrsubstringcountnegative.xml"/>
+<suite.member href="hc_characterdataindexsizeerrsubstringnegativeoffset.xml"/>
+<suite.member href="hc_characterdataindexsizeerrsubstringoffsetgreater.xml"/>
+<suite.member href="hc_characterdatainsertdatabeginning.xml"/>
+<suite.member href="hc_characterdatainsertdataend.xml"/>
+<suite.member href="hc_characterdatainsertdatamiddle.xml"/>
+<suite.member href="hc_characterdatareplacedatabegining.xml"/>
+<suite.member href="hc_characterdatareplacedataend.xml"/>
+<suite.member href="hc_characterdatareplacedataexceedslengthofarg.xml"/>
+<suite.member href="hc_characterdatareplacedataexceedslengthofdata.xml"/>
+<suite.member href="hc_characterdatareplacedatamiddle.xml"/>
+<suite.member href="hc_characterdatasetnodevalue.xml"/>
+<suite.member href="hc_characterdatasubstringexceedsvalue.xml"/>
+<suite.member href="hc_characterdatasubstringvalue.xml"/>
+<suite.member href="hc_commentgetcomment.xml"/>
+<suite.member href="hc_documentcreateattribute.xml"/>
+<suite.member href="hc_documentcreatecomment.xml"/>
+<suite.member href="hc_documentcreatedocumentfragment.xml"/>
+<suite.member href="hc_documentcreateelement.xml"/>
+<suite.member href="hc_documentcreateelementcasesensitive.xml"/>
+<suite.member href="hc_documentcreatetextnode.xml"/>
+<suite.member href="hc_documentgetdoctype.xml"/>
+<suite.member href="hc_documentgetelementsbytagnamelength.xml"/>
+<suite.member href="hc_documentgetelementsbytagnametotallength.xml"/>
+<suite.member href="hc_documentgetelementsbytagnamevalue.xml"/>
+<suite.member href="hc_documentgetimplementation.xml"/>
+<suite.member href="hc_documentgetrootnode.xml"/>
+<suite.member href="hc_documentinvalidcharacterexceptioncreateattribute.xml"/>
+<suite.member href="hc_documentinvalidcharacterexceptioncreateattribute1.xml"/>
+<suite.member href="hc_documentinvalidcharacterexceptioncreateelement.xml"/>
+<suite.member href="hc_documentinvalidcharacterexceptioncreateelement1.xml"/>
+<suite.member href="hc_domimplementationfeaturenoversion.xml"/>
+<suite.member href="hc_domimplementationfeaturenull.xml"/>
+<suite.member href="hc_domimplementationfeaturexml.xml"/>
+<suite.member href="hc_elementaddnewattribute.xml"/>
+<suite.member href="hc_elementassociatedattribute.xml"/>
+<suite.member href="hc_elementchangeattributevalue.xml"/>
+<suite.member href="hc_elementcreatenewattribute.xml"/>
+<suite.member href="hc_elementgetattributenode.xml"/>
+<suite.member href="hc_elementgetattributenodenull.xml"/>
+<suite.member href="hc_elementgetelementempty.xml"/>
+<suite.member href="hc_elementgetelementsbytagname.xml"/>
+<suite.member href="hc_elementgetelementsbytagnameaccessnodelist.xml"/>
+<suite.member href="hc_elementgetelementsbytagnamenomatch.xml"/>
+<suite.member href="hc_elementgetelementsbytagnamespecialvalue.xml"/>
+<suite.member href="hc_elementgettagname.xml"/>
+<suite.member href="hc_elementinuseattributeerr.xml"/>
+<suite.member href="hc_elementinvalidcharacterexception.xml"/>
+<suite.member href="hc_elementinvalidcharacterexception1.xml"/>
+<suite.member href="hc_elementnormalize.xml"/>
+<suite.member href="hc_elementnormalize2.xml"/>
+<suite.member href="hc_elementnotfounderr.xml"/>
+<suite.member href="hc_elementremoveattribute.xml"/>
+<suite.member href="hc_elementremoveattributeaftercreate.xml"/>
+<suite.member href="hc_elementremoveattributenode.xml"/>
+<suite.member href="hc_elementreplaceattributewithself.xml"/>
+<suite.member href="hc_elementreplaceexistingattribute.xml"/>
+<suite.member href="hc_elementreplaceexistingattributegevalue.xml"/>
+<suite.member href="hc_elementretrieveallattributes.xml"/>
+<suite.member href="hc_elementretrieveattrvalue.xml"/>
+<suite.member href="hc_elementretrievetagname.xml"/>
+<suite.member href="hc_elementsetattributenodenull.xml"/>
+<suite.member href="hc_elementwrongdocumenterr.xml"/>
+<suite.member href="hc_entitiesremovenameditem1.xml"/>
+<suite.member href="hc_entitiessetnameditem1.xml"/>
+<suite.member href="hc_namednodemapchildnoderange.xml"/>
+<suite.member href="hc_namednodemapgetnameditem.xml"/>
+<suite.member href="hc_namednodemapinuseattributeerr.xml"/>
+<suite.member href="hc_namednodemapnotfounderr.xml"/>
+<suite.member href="hc_namednodemapnumberofnodes.xml"/>
+<suite.member href="hc_namednodemapremovenameditem.xml"/>
+<suite.member href="hc_namednodemapreturnattrnode.xml"/>
+<suite.member href="hc_namednodemapreturnfirstitem.xml"/>
+<suite.member href="hc_namednodemapreturnlastitem.xml"/>
+<suite.member href="hc_namednodemapreturnnull.xml"/>
+<suite.member href="hc_namednodemapsetnameditem.xml"/>
+<suite.member href="hc_namednodemapsetnameditemreturnvalue.xml"/>
+<suite.member href="hc_namednodemapsetnameditemthatexists.xml"/>
+<suite.member href="hc_namednodemapsetnameditemwithnewvalue.xml"/>
+<suite.member href="hc_namednodemapwrongdocumenterr.xml"/>
+<suite.member href="hc_nodeappendchild.xml"/>
+<suite.member href="hc_nodeappendchildchildexists.xml"/>
+<suite.member href="hc_nodeappendchilddocfragment.xml"/>
+<suite.member href="hc_nodeappendchildgetnodename.xml"/>
+<suite.member href="hc_nodeappendchildinvalidnodetype.xml"/>
+<suite.member href="hc_nodeappendchildnewchilddiffdocument.xml"/>
+<suite.member href="hc_nodeappendchildnodeancestor.xml"/>
+<suite.member href="hc_nodeattributenodeattribute.xml"/>
+<suite.member href="hc_nodeattributenodename.xml"/>
+<suite.member href="hc_nodeattributenodetype.xml"/>
+<suite.member href="hc_nodeattributenodevalue.xml"/>
+<suite.member href="hc_nodechildnodes.xml"/>
+<suite.member href="hc_nodechildnodesappendchild.xml"/>
+<suite.member href="hc_nodechildnodesempty.xml"/>
+<suite.member href="hc_nodecloneattributescopied.xml"/>
+<suite.member href="hc_nodeclonefalsenocopytext.xml"/>
+<suite.member href="hc_nodeclonegetparentnull.xml"/>
+<suite.member href="hc_nodeclonenodefalse.xml"/>
+<suite.member href="hc_nodeclonenodetrue.xml"/>
+<suite.member href="hc_nodeclonetruecopytext.xml"/>
+<suite.member href="hc_nodecommentnodeattributes.xml"/>
+<suite.member href="hc_nodecommentnodename.xml"/>
+<suite.member href="hc_nodecommentnodetype.xml"/>
+<suite.member href="hc_nodecommentnodevalue.xml"/>
+<suite.member href="hc_nodedocumentfragmentnodename.xml"/>
+<suite.member href="hc_nodedocumentfragmentnodetype.xml"/>
+<suite.member href="hc_nodedocumentfragmentnodevalue.xml"/>
+<suite.member href="hc_nodedocumentnodeattribute.xml"/>
+<suite.member href="hc_nodedocumentnodename.xml"/>
+<suite.member href="hc_nodedocumentnodetype.xml"/>
+<suite.member href="hc_nodedocumentnodevalue.xml"/>
+<suite.member href="hc_nodeelementnodeattributes.xml"/>
+<suite.member href="hc_nodeelementnodename.xml"/>
+<suite.member href="hc_nodeelementnodetype.xml"/>
+<suite.member href="hc_nodeelementnodevalue.xml"/>
+<suite.member href="hc_nodegetfirstchild.xml"/>
+<suite.member href="hc_nodegetfirstchildnull.xml"/>
+<suite.member href="hc_nodegetlastchild.xml"/>
+<suite.member href="hc_nodegetlastchildnull.xml"/>
+<suite.member href="hc_nodegetnextsibling.xml"/>
+<suite.member href="hc_nodegetnextsiblingnull.xml"/>
+<suite.member href="hc_nodegetownerdocument.xml"/>
+<suite.member href="hc_nodegetownerdocumentnull.xml"/>
+<suite.member href="hc_nodegetprevioussibling.xml"/>
+<suite.member href="hc_nodegetprevioussiblingnull.xml"/>
+<suite.member href="hc_nodehaschildnodes.xml"/>
+<suite.member href="hc_nodehaschildnodesfalse.xml"/>
+<suite.member href="hc_nodeinsertbefore.xml"/>
+<suite.member href="hc_nodeinsertbeforedocfragment.xml"/>
+<suite.member href="hc_nodeinsertbeforeinvalidnodetype.xml"/>
+<suite.member href="hc_nodeinsertbeforenewchilddiffdocument.xml"/>
+<suite.member href="hc_nodeinsertbeforenewchildexists.xml"/>
+<suite.member href="hc_nodeinsertbeforenodeancestor.xml"/>
+<suite.member href="hc_nodeinsertbeforenodename.xml"/>
+<suite.member href="hc_nodeinsertbeforerefchildnonexistent.xml"/>
+<suite.member href="hc_nodeinsertbeforerefchildnull.xml"/>
+<suite.member href="hc_nodelistindexequalzero.xml"/>
+<suite.member href="hc_nodelistindexgetlength.xml"/>
+<suite.member href="hc_nodelistindexgetlengthofemptylist.xml"/>
+<suite.member href="hc_nodelistindexnotzero.xml"/>
+<suite.member href="hc_nodelistreturnfirstitem.xml"/>
+<suite.member href="hc_nodelistreturnlastitem.xml"/>
+<suite.member href="hc_nodelisttraverselist.xml"/>
+<suite.member href="hc_nodeparentnode.xml"/>
+<suite.member href="hc_nodeparentnodenull.xml"/>
+<suite.member href="hc_noderemovechild.xml"/>
+<suite.member href="hc_noderemovechildgetnodename.xml"/>
+<suite.member href="hc_noderemovechildnode.xml"/>
+<suite.member href="hc_noderemovechildoldchildnonexistent.xml"/>
+<suite.member href="hc_nodereplacechild.xml"/>
+<suite.member href="hc_nodereplacechildinvalidnodetype.xml"/>
+<suite.member href="hc_nodereplacechildnewchilddiffdocument.xml"/>
+<suite.member href="hc_nodereplacechildnewchildexists.xml"/>
+<suite.member href="hc_nodereplacechildnodeancestor.xml"/>
+<suite.member href="hc_nodereplacechildnodename.xml"/>
+<suite.member href="hc_nodereplacechildoldchildnonexistent.xml"/>
+<suite.member href="hc_nodetextnodeattribute.xml"/>
+<suite.member href="hc_nodetextnodename.xml"/>
+<suite.member href="hc_nodetextnodetype.xml"/>
+<suite.member href="hc_nodetextnodevalue.xml"/>
+<suite.member href="hc_nodevalue01.xml"/>
+<suite.member href="hc_nodevalue02.xml"/>
+<suite.member href="hc_nodevalue03.xml"/>
+<suite.member href="hc_nodevalue04.xml"/>
+<suite.member href="hc_nodevalue05.xml"/>
+<suite.member href="hc_nodevalue06.xml"/>
+<suite.member href="hc_nodevalue07.xml"/>
+<suite.member href="hc_nodevalue08.xml"/>
+<suite.member href="hc_notationsremovenameditem1.xml"/>
+<suite.member href="hc_notationssetnameditem1.xml"/>
+<suite.member href="hc_textindexsizeerrnegativeoffset.xml"/>
+<suite.member href="hc_textindexsizeerroffsetoutofbounds.xml"/>
+<suite.member href="hc_textparseintolistofelements.xml"/>
+<suite.member href="hc_textsplittextfour.xml"/>
+<suite.member href="hc_textsplittextone.xml"/>
+<suite.member href="hc_textsplittextthree.xml"/>
+<suite.member href="hc_textsplittexttwo.xml"/>
+<suite.member href="hc_textwithnomarkup.xml"/>
+
+<suite.member href="hc_attrappendchild1.xml"/>
+<suite.member href="hc_attrappendchild2.xml"/>
+<suite.member href="hc_attrappendchild3.xml"/>
+<suite.member href="hc_attrappendchild4.xml"/>
+<suite.member href="hc_attrappendchild5.xml"/>
+<suite.member href="hc_attrappendchild6.xml"/>
+<suite.member href="hc_attrchildnodes1.xml"/>
+<suite.member href="hc_attrchildnodes2.xml"/>
+<suite.member href="hc_attrclonenode1.xml"/>
+<suite.member href="hc_attrfirstchild.xml"/>
+<suite.member href="hc_attrgetvalue1.xml"/>
+<suite.member href="hc_attrgetvalue2.xml"/>
+<suite.member href="hc_attrhaschildnodes.xml"/>
+<suite.member href="hc_attrinsertbefore1.xml"/>
+<suite.member href="hc_attrinsertbefore2.xml"/>
+<suite.member href="hc_attrinsertbefore3.xml"/>
+<suite.member href="hc_attrinsertbefore4.xml"/>
+<suite.member href="hc_attrinsertbefore5.xml"/>
+<suite.member href="hc_attrinsertbefore6.xml"/>
+<suite.member href="hc_attrinsertbefore7.xml"/>
+<suite.member href="hc_attrlastchild.xml"/>
+<suite.member href="hc_attrnormalize.xml"/>
+<suite.member href="hc_attrremovechild1.xml"/>
+<suite.member href="hc_attrremovechild2.xml"/>
+<suite.member href="hc_attrreplacechild1.xml"/>
+<suite.member href="hc_attrreplacechild2.xml"/>
+<suite.member href="hc_attrsetvalue1.xml"/>
+<suite.member href="hc_attrsetvalue2.xml"/>
+<suite.member href="attrremovechild1.xml"/>
+<suite.member href="attrreplacechild1.xml"/>
+
+</suite>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrcreatedocumentfragment">
+<metadata>
+<title>attrCreateDocumentFragment</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!-- createDocumentFragment -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-35CB04B5"/>
+<!-- setAttribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68F082"/>
+<!-- DocumentFragment -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-B63ED1A3"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docFragment" type="DocumentFragment"/>
+<var name="newOne" type="Element"/>
+<var name="domesticNode" type="Node"/>
+<var name="domesticAttr" type="NamedNodeMap"/>
+<var name="attrs" type="Attr"/>
+<var name="attrName" type="DOMString"/>
+<var name="appendedChild" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createDocumentFragment obj="doc" var="docFragment"/>
+<createElement obj="doc" var="newOne" tagName="&quot;newElement&quot;"/>
+<setAttribute obj="newOne" name="&quot;newdomestic&quot;" value="&quot;Yes&quot;"/>
+<appendChild var="appendedChild" obj="docFragment" newChild="newOne"/>
+<firstChild interface="Node" obj="docFragment" var="domesticNode"/>
+<attributes obj="domesticNode" var="domesticAttr"/>
+<item interface="NamedNodeMap" obj="domesticAttr" var="attrs" index="0"/>
+<name interface="Attr" obj="attrs" var="attrName"/>
+<assertEquals actual="attrName" expected="&quot;newdomestic&quot;" id="attrCreateDocumentFragmentAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrcreatetextnode">
+<metadata>
+<title>attrCreateTextNode</title>
+<creator>NIST</creator>
+<description>
+ 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&amp;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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!-- Attr.value -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-221662474"/>
+<!-- bug report on initial version -->
+<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Apr/0057.html"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="streetAttr" type="Attr"/>
+<var name="value" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="3"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="streetAttr" name="&quot;street&quot;"/>
+<value interface="Attr" obj="streetAttr" value='"Y&amp;ent1;"'/>
+<value interface="Attr" obj="streetAttr" var="value"/>
+<assertEquals actual="value" expected='"Y&amp;ent1;"' id="value" ignoreCase="false"/>
+<nodeValue obj="streetAttr" var="value"/>
+<assertEquals actual="value" expected='"Y&amp;ent1;"' id="nodeValue" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrcreatetextnode2">
+<metadata>
+<title>attrCreateTextNode2</title>
+<creator>Curt Arnold</creator>
+<description>
+ 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&amp;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.
+</description>
+<date qualifier="created">2001-10-22</date>
+<!-- Node.nodeValue -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080"/>
+<!-- bug report on initial version -->
+<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Apr/0057.html"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="streetAttr" type="Attr"/>
+<var name="value" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="3"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="streetAttr" name="&quot;street&quot;"/>
+<nodeValue obj="streetAttr" value='"Y&amp;ent1;"'/>
+<value interface="Attr" obj="streetAttr" var="value"/>
+<assertEquals actual="value" expected='"Y&amp;ent1;"' id="value" ignoreCase="false"/>
+<nodeValue obj="streetAttr" var="value"/>
+<assertEquals actual="value" expected='"Y&amp;ent1;"' id="nodeValue" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrdefaultvalue">
+<metadata>
+<title>attrDefaultValue</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!-- Element.attributes -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-84CF096"/>
+<!-- NamedNodeMap.getNamedItem -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1074577549"/>
+<!-- DOM WG opinion on default attributes -->
+<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Mar/0002.html"/>
+</metadata>
+<implementationAttribute name="validating" value="true"/>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="streetAttr" type="Attr"/>
+<var name="value" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="0"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="streetAttr" name="&quot;street&quot;"/>
+<nodeValue obj="streetAttr" var="value"/>
+<assertEquals actual="value" expected="&quot;Yes&quot;" id="attrDefaultValueAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attreffectivevalue">
+<metadata>
+<title>attrEffectiveValue</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!-- Element.attributes -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-84CF096"/>
+<!-- NamedNodeMap.getNamedItem -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1074577549"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="domesticAttr" type="Attr"/>
+<var name="value" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="0"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="domesticAttr" name="&quot;domestic&quot;"/>
+<nodeValue obj="domesticAttr" var="value"/>
+<assertEquals actual="value" expected="&quot;Yes&quot;" id="attrEffectiveValueAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrentityreplacement">
+<metadata>
+<title>attrEntityReplacement</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!-- Attr.value -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-221662474"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="streetAttr" type="Attr"/>
+<var name="value" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="3"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="streetAttr" name="&quot;street&quot;"/>
+<value interface="Attr" obj="streetAttr" var="value"/>
+<assertEquals actual="value" expected='"Yes"' id="streetYes" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrname">
+<metadata>
+<title>attrName</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!-- Node.nodeName -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D095"/>
+<!-- Attr.name -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1112119403"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="streetAttr" type="Attr"/>
+<var name="name" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="1"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="streetAttr" name="&quot;street&quot;"/>
+<nodeName obj="streetAttr" var="name"/>
+<assertEquals actual="name" expected="&quot;street&quot;" id="nodeName" ignoreCase="false"/>
+<name obj="streetAttr" var="name" interface="Attr"/>
+<assertEquals actual="name" expected="&quot;street&quot;" id="name" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrnextsiblingnull">
+<metadata>
+<title>attrNextSiblingNull</title>
+<creator>NIST</creator>
+<description>
+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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--nextSibling attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6AC54C2F"/>
+<!-- Attr interface -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-637646024"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="domesticAttr" type="Attr"/>
+<var name="s" type="Node"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="0"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="domesticAttr" name="&quot;domestic&quot;"/>
+<nextSibling interface="Node" obj="domesticAttr" var="s"/>
+<assertNull actual="s" id="attrNextSiblingNullAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrnotspecifiedvalue">
+<metadata>
+<title>attrNotSpecifiedValue</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-862529273"/>
+<!-- DOM WG opinion on default attributes -->
+<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Mar/0002.html"/>
+</metadata>
+<implementationAttribute name="validating" value="true"/>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="streetAttr" type="Attr"/>
+<var name="state" type="boolean"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="0"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="streetAttr" name='"street"'/>
+<specified obj="streetAttr" var="state"/>
+<assertFalse actual="state" id="streetNotSpecified"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrparentnodenull">
+<metadata>
+<title>attrParentNodeNull</title>
+<creator>NIST</creator>
+<description>
+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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--parentNode attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1060184317"/>
+<!-- Attr interface -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-637646024"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="domesticAttr" type="Attr"/>
+<var name="s" type="Node"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="0"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="domesticAttr" name="&quot;domestic&quot;"/>
+<parentNode interface="Node" obj="domesticAttr" var="s"/>
+<assertNull actual="s" id="attrParentNodeNullAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrprevioussiblingnull">
+<metadata>
+<title>attrPreviousSiblingNull</title>
+<creator>NIST</creator>
+<description>
+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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--previousSibling attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-640FB3C8"/>
+<!-- Attr interface -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-637646024"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="domesticAttr" type="Attr"/>
+<var name="s" type="Node"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="0"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="domesticAttr" name="&quot;domestic&quot;"/>
+<previousSibling interface="Node" obj="domesticAttr" var="s"/>
+<assertNull actual="s" id="attrPreviousSiblingNullAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrremovechild1">
+<metadata>
+<title>attrremovechild1</title>
+<creator>Curt Arnold</creator>
+<description>
+Removing a child node from an attribute in an entity reference
+should result in an NO_MODIFICATION_ALLOWED_ERR DOMException.
+</description>
+<date qualifier="created">2004-01-01</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1734834066"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-1734834066')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="entRef" type="EntityReference"/>
+<var name="entElement" type="Element"/>
+<var name="attrNode" type="Node"/>
+<var name="textNode" type="Text"/>
+<var name="removedNode" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createEntityReference obj="doc" var="entRef" name='"ent4"'/>
+<assertNotNull actual="entRef" id="createdEntRefNotNull"/>
+<firstChild var="entElement" obj="entRef" interface="Node"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<getAttributeNode var="attrNode" obj="entElement" name='"domestic"'/>
+<firstChild var="textNode" obj="attrNode" interface="Node"/>
+<assertNotNull actual="textNode" id="attrChildNotNull"/>
+<assertDOMException id="setValue_throws_NO_MODIFICATION_ERR">
+ <NO_MODIFICATION_ALLOWED_ERR>
+ <removeChild obj="attrNode" oldChild="textNode" var="removedNode"/>
+ </NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrreplacechild1">
+<metadata>
+<title>attrreplacechild1</title>
+<creator>Curt Arnold</creator>
+<description>
+Replacing a child node from an attribute in an entity reference
+should result in an NO_MODIFICATION_ALLOWED_ERR DOMException.
+</description>
+<date qualifier="created">2004-01-01</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-785887307"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-785887307')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="entRef" type="EntityReference"/>
+<var name="entElement" type="Element"/>
+<var name="attrNode" type="Node"/>
+<var name="textNode" type="Text"/>
+<var name="removedNode" type="Node"/>
+<var name="newChild" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createEntityReference obj="doc" var="entRef" name='"ent4"'/>
+<assertNotNull actual="entRef" id="createdEntRefNotNull"/>
+<firstChild var="entElement" obj="entRef" interface="Node"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<getAttributeNode var="attrNode" obj="entElement" name='"domestic"'/>
+<firstChild var="textNode" obj="attrNode" interface="Node"/>
+<assertNotNull actual="textNode" id="attrChildNotNull"/>
+<createTextNode var="newChild" obj="doc" data='"Yesterday"'/>
+<assertDOMException id="setValue_throws_NO_MODIFICATION_ERR">
+ <NO_MODIFICATION_ALLOWED_ERR>
+ <replaceChild obj="attrNode" oldChild="textNode" var="removedNode" newChild="newChild"/>
+ </NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrsetvaluenomodificationallowederr">
+<metadata>
+<title>attrSetValueNoModificationAllowedErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-core#ID-221662474"/>
+<subject resource="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-core#xpointer(id('ID-221662474')/setraises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-221662474"/>
+</metadata>
+<implementationAttribute name="expandEntityReferences" value="false"/>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="gender" type="Node"/>
+<var name="genList" type="NodeList"/>
+<var name="gen" type="Node"/>
+<var name="gList" type="NodeList"/>
+<var name="g" type="Node"/>
+<var name="attrList" type="NamedNodeMap"/>
+<var name="attrNode" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="genderList" tagname="&quot;gender&quot;"/>
+<item interface="NodeList" obj="genderList" var="gender" index="2"/>
+<assertNotNull actual="gender" id="genderNotNull"/>
+<childNodes obj="gender" var="genList"/>
+<item interface="NodeList" obj="genList" var="gen" index="0"/>
+<assertNotNull actual="gen" id="genderFirstChildNotNull"/>
+<childNodes obj="gen" var="gList"/>
+<item interface="NodeList" obj="gList" var="g" index="0"/>
+<assertNotNull actual="g" id="genderFirstGrandchildNotNull"/>
+<attributes obj="g" var="attrList"/>
+<assertNotNull actual="attrList" id="attributesNotNull"/>
+<getNamedItem obj="attrList" var="attrNode" name='"domestic"'/>
+<assertNotNull actual="attrNode" id="attrNotNull"/>
+<assertDOMException id="setValue_throws_NO_MODIFICATION">
+ <NO_MODIFICATION_ALLOWED_ERR>
+ <value interface="Attr" obj="attrNode" value='"newvalue"'/>
+ </NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+<assertDOMException id="setNodeValue_throws_NO_MODIFICATION">
+ <NO_MODIFICATION_ALLOWED_ERR>
+ <nodeValue interface="Node" obj="attrNode" value='"newvalue2"'/>
+ </NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrsetvaluenomodificationallowederrEE">
+<metadata>
+<title>attrSetValueNoModificationAllowedErrEE</title>
+<creator>Curt Arnold</creator>
+<description>
+ 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.
+</description>
+<date qualifier="created">2001-08-22</date>
+<subject resource="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-core#ID-221662474"/>
+<subject resource="http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-core#xpointer(id('ID-221662474')/setraises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-221662474"/>
+<source resource="http://www.w3.org/2001/DOM-Test-Suite/level1/core/attrsetvaluenomodificationallowederr.xml"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="entRef" type="EntityReference"/>
+<var name="entElement" type="Element"/>
+<var name="attrList" type="NamedNodeMap"/>
+<var name="attrNode" type="Node"/>
+<var name="gender" type="Node"/>
+<var name="genderList" type="NodeList"/>
+<var name="appendedChild" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="genderList" tagname="&quot;gender&quot;"/>
+<item interface="NodeList" obj="genderList" var="gender" index="2"/>
+<assertNotNull actual="gender" id="genderNotNull"/>
+<createEntityReference obj="doc" var="entRef" name='"ent4"'/>
+<assertNotNull actual="entRef" id="entRefNotNull"/>
+<appendChild obj="gender" newChild="entRef" var="appendedChild"/>
+<firstChild obj="entRef" var="entElement" interface="Node"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<attributes obj="entElement" var="attrList"/>
+<getNamedItem obj="attrList" var="attrNode" name="&quot;domestic&quot;"/>
+<assertDOMException id="setValue_throws_NO_MODIFICATION">
+ <NO_MODIFICATION_ALLOWED_ERR>
+ <value interface="Attr" obj="attrNode" value='"newvalue"'/>
+ </NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+<assertDOMException id="setNodeValue_throws_NO_MODIFICATION">
+ <NO_MODIFICATION_ALLOWED_ERR>
+ <nodeValue interface="Node" obj="attrNode" value='"newvalue2"'/>
+ </NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrspecifiedvalue">
+<metadata>
+<title>attrSpecifiedValue</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-862529273"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="domesticAttr" type="Attr"/>
+<var name="state" type="boolean"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="0"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="domesticAttr" name='"domestic"'/>
+<specified obj="domesticAttr" var="state"/>
+<assertTrue actual="state" id="domesticSpecified"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrspecifiedvaluechanged">
+<metadata>
+<title>attrSpecifiedValueChanged</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-862529273"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="streetAttr" type="Attr"/>
+<var name="state" type="boolean"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="2"/>
+<setAttribute obj="testNode" name="&quot;street&quot;" value="&quot;Yes&quot;"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="streetAttr" name="&quot;street&quot;"/>
+<specified obj="streetAttr" var="state"/>
+<assertTrue actual="state" id="streetSpecified"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="attrspecifiedvalueremove">
+<metadata>
+<title>attrSpecifiedValueRemove</title>
+<creator>NIST</creator>
+<description>
+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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--removeAttribute-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6D6AC0F9"/>
+<!-- DOM WG opinion on default attributes -->
+<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Mar/0002.html"/>
+</metadata>
+<implementationAttribute name="validating" value="true"/>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="streetAttr" type="Attr"/>
+<var name="state" type="boolean"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="addressList" tagname="&quot;address&quot;"/>
+<item interface="NodeList" obj="addressList" var="testNode" index="2"/>
+<removeAttribute obj="testNode" name="&quot;street&quot;"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="streetAttr" name="&quot;street&quot;"/>
+<assertNotNull actual="streetAttr" id="streetAttrNotNull"/>
+<specified obj="streetAttr" var="state"/>
+<assertFalse actual="state" id="attrSpecifiedValueRemoveAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="cdatasectiongetdata">
+<metadata>
+<title>cdataSectionGetValue</title>
+<creator>NIST</creator>
+<description>
+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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+</metadata>
+<implementationAttribute name="coalescing" value="false"/>
+<var name="doc" type="Document"/>
+<var name="nameList" type="NodeList"/>
+<var name="child" type="Node"/>
+<var name="lastChild" type="Node"/>
+<var name="data" type="DOMString"/>
+<var name="nodeType" type="int"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nameList" tagname="&quot;name&quot;"/>
+<item interface="NodeList" obj="nameList" var="child" index="1"/>
+<lastChild interface="Node" obj="child" var="lastChild"/>
+<nodeType var="nodeType" obj="lastChild"/>
+<assertEquals actual="nodeType" expected="4" id="isCDATA" ignoreCase="false"/>
+<data interface="CharacterData" obj="lastChild" var="data"/>
+<assertEquals actual="data" expected='"This is an adjacent CDATASection with a reference to a tab &amp;tab;"' id="data" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="cdatasectionnormalize">
+<metadata>
+<title>cdataSectionNormalize</title>
+<creator>NIST</creator>
+<description>
+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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-162CF083"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="nameList" type="NodeList"/>
+<var name="lChild" type="Element"/>
+<var name="childNodes" type="NodeList"/>
+<var name="cdataN" type="CDATASection"/>
+<var name="data" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="nameList" tagname="&quot;name&quot;"/>
+<item interface="NodeList" obj="nameList" var="lChild" index="1"/>
+<normalize obj="lChild"/>
+<childNodes obj="lChild" var="childNodes"/>
+<item interface="NodeList" obj="childNodes" var="cdataN" index="1"/>
+<assertNotNull actual="cdataN" id="firstCDATASection"/>
+<data interface="CharacterData" obj="cdataN" var="data"/>
+<assertEquals actual="data" expected='"This is a CDATASection with EntityReference number 2 &amp;ent2;"' ignoreCase="false" id="data1"/>
+<item interface="NodeList" obj="childNodes" var="cdataN" index="3"/>
+<assertNotNull actual="cdataN" id="secondCDATASection"/>
+<data interface="CharacterData" obj="cdataN" var="data"/>
+<assertEquals actual="data" expected='"This is an adjacent CDATASection with a reference to a tab &amp;tab;"' ignoreCase="false" id="data3"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataappenddata">
+<metadata>
+<title>characterdataAppendData</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-32791A2F"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childValue" type="DOMString"/>
+<var name="childLength" type="int"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<appendData obj="child" arg="&quot;, Esquire&quot;"/>
+<data obj="child" var="childValue" interface="CharacterData"/>
+<length obj="childValue" var="childLength" interface="DOMString"/>
+<assertEquals actual="childLength" expected="24" ignoreCase="false" id="characterdataAppendDataAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataappenddatagetdata">
+<metadata>
+<title>characterdataAppendDataGetData</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-32791A2F"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<appendData obj="child" arg="&quot;, Esquire&quot;"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;Margaret Martin, Esquire&quot;" id="characterdataAppendDataGetDataAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataappenddatanomodificationallowederr">
+<metadata>
+<title>characterdataAppendDataNoModificationAllowedErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-32791A2F"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-32791A2F')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-32791A2F"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="genderNode" type="Node"/>
+<var name="entElement" type="Node"/>
+<var name="entElementContent" type="Node"/>
+<var name="entReference" type="Node"/>
+<var name="nodeType" type="int"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;gender&quot;" var="genderList"/>
+<item interface="NodeList" obj="genderList" index="2" var="genderNode"/>
+<firstChild var="entReference" obj="genderNode" interface="Node"/>
+<assertNotNull actual="entReference" id="entReferenceNotNull"/>
+<nodeType var="nodeType" obj="entReference"/>
+<if><equals actual="nodeType" expected="1" ignoreCase="false"/>
+ <createEntityReference var="entReference" obj="doc" name='"ent4"'/>
+ <assertNotNull actual="entReference" id="createdEntRefNotNull"/>
+</if>
+<firstChild var="entElement" obj="entReference" interface="Node"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<firstChild var="entElementContent" obj="entElement" interface="Node"/>
+<assertNotNull actual="entElementContent" id="entElementContentNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<appendData obj="entElementContent" arg="&quot;newString&quot;"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataappenddatanomodificationallowederrEE">
+<metadata>
+<title>characterdataAppendDataNoModificationAllowedErrEE</title>
+<creator>Curt Arnold</creator>
+<description>
+Create an ent3 entity reference and call appendData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR.
+</description>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-32791A2F"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-32791A2F')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-32791A2F"/>
+<source resource="http://www.w3.org/2001/DOM-Test-Suite/level1/core/characterdataappenddatanomodificationallowederr.xml"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="genderNode" type="Node"/>
+<var name="entText" type="Node"/>
+<var name="entReference" type="EntityReference"/>
+<var name="appendedChild" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;gender&quot;" var="genderList"/>
+<item interface="NodeList" obj="genderList" index="2" var="genderNode"/>
+<createEntityReference var="entReference" obj="doc" name='"ent3"'/>
+<assertNotNull actual="entReference" id="createdEntRefNotNull"/>
+<appendChild obj="genderNode" newChild="entReference" var="appendedChild"/>
+<firstChild var="entText" obj="entReference" interface="Node"/>
+<assertNotNull actual="entText" id="entTextNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<appendData obj="entText" arg='"newString"'/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatadeletedatabegining">
+<metadata>
+<title>characterdataDeleteDataBeginning</title>
+<creator>NIST</creator>
+<description>
+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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<deleteData obj="child" offset="0" count="16"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;Dallas, Texas 98551&quot;" id="characterdataDeleteDataBeginingAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatadeletedataend">
+<metadata>
+<title>characterdataDeleteDataEnd</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<deleteData obj="child" offset="30" count="5"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;1230 North Ave. Dallas, Texas &quot;" id="characterdataDeleteDataEndAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatadeletedataexceedslength">
+<metadata>
+<title>characterdataDeleteDataExceedsLength</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<deleteData obj="child" offset="4" count="50"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;1230&quot;" id="characterdataDeleteDataExceedsLengthAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatadeletedatagetlengthanddata">
+<metadata>
+<title>characterdataDeleteDataGetLengthAndData</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7D61178C"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<var name="childLength" type="int"/>
+<var name="result" type="List"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<deleteData obj="child" offset="30" count="5"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;1230 North Ave. Dallas, Texas &quot;" ignoreCase="false" id="data"/>
+<length interface="CharacterData" obj="child" var="childLength"/>
+<assertEquals actual="childLength" expected="30" ignoreCase="false" id="length"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatadeletedatamiddle">
+<metadata>
+<title>characterdataDeleteDataMiddle</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<deleteData obj="child" offset="16" count="8"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;1230 North Ave. Texas 98551&quot;" id="characterdataDeleteDataMiddleAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatadeletedatanomodificationallowederr">
+<metadata>
+<title>characterdataDeleteDataNoModificationAllowedErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-7C603781')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="genderNode" type="Node"/>
+<var name="entElement" type="Node"/>
+<var name="entElementContent" type="Node"/>
+<var name="nodeType" type="int"/>
+<var name="entReference" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;gender&quot;" var="genderList"/>
+<item interface="NodeList" obj="genderList" index="2" var="genderNode"/>
+<firstChild var="entReference" obj="genderNode" interface="Node"/>
+<assertNotNull actual="entReference" id="entReferenceNotNull"/>
+<nodeType var="nodeType" obj="entReference"/>
+<if><equals actual="nodeType" expected="3"/>
+ <createEntityReference var="entReference" obj="doc" name='"ent4"'/>
+ <assertNotNull actual="entReference" id="createdEntRefNotNull"/>
+</if>
+<firstChild var="entElement" obj="entReference" interface="Node"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<firstChild var="entElementContent" obj="entElement" interface="Node"/>
+<assertNotNull actual="entElementContent" id="entElementContentNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<deleteData obj="entElementContent" offset="1" count="3"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatadeletedatanomodificationallowederrEE">
+<metadata>
+<title>characterdataDeleteDataNoModificationAllowedErrEE</title>
+<creator>Curt Arnold</creator>
+<description>
+Create an ent3 entity reference and call deleteData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR.
+</description>
+<date qualifier="created">2001-08-20</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-7C603781')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+<source resource="http://www.w3.org/2001/DOM-Test-Suite/level1/core/characterdatadeletedatanomodificationallowederr.xml"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="genderNode" type="Node"/>
+<var name="entText" type="Node"/>
+<var name="entReference" type="EntityReference"/>
+<var name="appendedChild" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;gender&quot;" var="genderList"/>
+<item interface="NodeList" obj="genderList" index="2" var="genderNode"/>
+<createEntityReference obj="doc" var="entReference" name='"ent3"'/>
+<assertNotNull actual="entReference" id="createdEntRefNotNull"/>
+<appendChild obj="genderNode" newChild="entReference" var="appendedChild"/>
+<firstChild var="entText" obj="entReference" interface="Node"/>
+<assertNotNull actual="entText" id="entTextNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<deleteData obj="entText" offset="1" count="3"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatagetdata">
+<metadata>
+<title>characterdataGetData</title>
+<creator>NIST</creator>
+<description>
+
+ 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.
+
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;Margaret Martin&quot;" id="characterdataGetDataAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatagetlength">
+<metadata>
+<title>characterdataGetLength</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7D61178C"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childValue" type="DOMString"/>
+<var name="childLength" type="int"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<data var="childValue" obj="child" interface="CharacterData"/>
+<length var="childLength" obj="childValue" interface="DOMString"/>
+<assertEquals actual="childLength" expected="15" ignoreCase="false" id="characterdataGetLengthAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrdeletedatacountnegative">
+<metadata>
+<title>characterdataIndexSizeErrDeleteDataCountNegative</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6531BCCF"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-6531BCCF')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+</metadata>
+<implementationAttribute name="signed" value="true"/>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throws_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<deleteData obj="child" offset="10" count="-3"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2003 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrdeletedataoffsetgreater">
+<metadata>
+<title>characterdataIndexSizeErrDeleteDataOffsetGreater</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-7C603781')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throw_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<deleteData obj="child" offset="40" count="3"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrdeletedataoffsetnegative">
+<metadata>
+<title>characterdataIndexSizeErrDeleteDataOffsetNegative</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-7C603781')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+</metadata>
+<implementationAttribute name="signed" value="true"/>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throws_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<deleteData obj="child" offset="-5" count="3"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2003 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrinsertdataoffsetgreater">
+<metadata>
+<title>characterdataIndexSizeErrInsertDataOffsetGreater</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-7C603781')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throw_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<insertData obj="child" offset="40" arg="&quot;ABC&quot;"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrinsertdataoffsetnegative">
+<metadata>
+<title>characterdataIndexSizeErrInsertDataOffsetNegative</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-E5CBA7FB')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+</metadata>
+<implementationAttribute name="signed" value="true"/>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throws_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<insertData obj="child" offset="-5" arg="&quot;ABC&quot;"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrreplacedatacountnegative">
+<metadata>
+<title>characterdataIndexSizeErrReplaceDataCountNegative</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6531BCCF"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-6531BCCF')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+</metadata>
+<implementationAttribute name="signed" value="true"/>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throws_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<replaceData obj="child" offset="10" count="-3" arg="&quot;ABC&quot;"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2003 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrreplacedataoffsetgreater">
+<metadata>
+<title>characterdataIndexSizeErrReplaceDataOffsetGreater</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-7C603781"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-7C603781')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throw_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<replaceData obj="child" offset="40" count="3" arg="&quot;ABC&quot;"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrreplacedataoffsetnegative">
+<metadata>
+<title>characterdataIndexSizeErrReplaceDataOffsetNegative</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-E5CBA7FB')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+</metadata>
+<implementationAttribute name="signed" value="true"/>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throws_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<replaceData obj="child" offset="-5" count="3" arg="&quot;ABC&quot;"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrsubstringcountnegative">
+<metadata>
+<title>characterdataIndexSizeErrSubstringCountNegative</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6531BCCF"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-6531BCCF')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+</metadata>
+<implementationAttribute name="signed" value="true"/>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="badSubstring" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throws_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<substringData var="badSubstring" obj="child" offset="10" count="-3"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrsubstringnegativeoffset">
+<metadata>
+<title>characterdataIndexSizeErrSubstringNegativeOffset</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6531BCCF"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-6531BCCF')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+</metadata>
+<implementationAttribute name="signed" value="true"/>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="badString" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throws_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<substringData var="badString" obj="child" offset="-5" count="3"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2003 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdataindexsizeerrsubstringoffsetgreater">
+<metadata>
+<title>characterdataIndexSizeErrSubstringOffsetGreater</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6531BCCF"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-6531BCCF')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INDEX_SIZE_ERR'])"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="badString" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<assertDOMException id="throw_INDEX_SIZE_ERR">
+<INDEX_SIZE_ERR>
+<substringData var="badString" obj="child" offset="40" count="3"/>
+</INDEX_SIZE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatainsertdatabeginning">
+<metadata>
+<title>characterdataInsertDataBeginning</title>
+<creator>NIST</creator>
+<description>
+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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--insertData-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-3EDB695F"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<insertData obj="child" offset="0" arg="&quot;Mss. &quot;"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;Mss. Margaret Martin&quot;" id="characterdataInsertDataBeginningAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatainsertdataend">
+<metadata>
+<title>characterdataInsertDataEnd</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-3EDB695F"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<insertData obj="child" offset="15" arg="&quot;, Esquire&quot;"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;Margaret Martin, Esquire&quot;" id="characterdataInsertDataEndAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatainsertdatamiddle">
+<metadata>
+<title>characterdataInsertDataMiddle</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-3EDB695F"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<insertData obj="child" offset="9" arg="&quot;Ann &quot;"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;Margaret Ann Martin&quot;" id="characterdataInsertDataMiddleAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatainsertdatanomodificationallowederr">
+<metadata>
+<title>characterdataInsertDataNoModificationAllowedErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-3EDB695F"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-3EDB695F')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-3EDB695F"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="genderNode" type="Node"/>
+<var name="entElement" type="Node"/>
+<var name="nodeType" type="int"/>
+<var name="entElementContent" type="Node"/>
+<var name="entReference" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname='"gender"' var="genderList"/>
+<item interface="NodeList" obj="genderList" index="2" var="genderNode"/>
+<firstChild var="entReference" obj="genderNode" interface="Node"/>
+<assertNotNull actual="entReference" id="entReferenceNotNull"/>
+<nodeType var="nodeType" obj="entReference"/>
+<if><equals actual="nodeType" expected="1" ignoreCase="false"/>
+ <createEntityReference var="entReference" obj="doc" name='"ent4"'/>
+ <assertNotNull actual="entReference" id="createdEntRefNotNull"/>
+</if>
+<firstChild var="entElement" obj="entReference" interface="Node"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<firstChild var="entElementContent" obj="entElement" interface="Node"/>
+<assertNotNull actual="entElementContent" id="entElementContentNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<insertData obj="entElementContent" offset="1" arg='"newArg"'/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatainsertdatanomodificationallowederrEE">
+<metadata>
+<title>characterdataInsertDataNoModificationAllowedErrEE</title>
+<creator>Curt Arnold</creator>
+<description>
+Create an ent3 entity reference and call insertData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR.
+</description>
+<date qualifier="created">2001-08-20</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-3EDB695F"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-3EDB695F')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-3EDB695F"/>
+<source resource="http://www.w3.org/2001/DOM-Test-Suite/level1/core/characterdatainsertdatanomodificationallowederr.xml"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="genderNode" type="Node"/>
+<var name="entText" type="CharacterData"/>
+<var name="entReference" type="EntityReference"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;gender&quot;" var="genderList"/>
+<item interface="NodeList" obj="genderList" index="2" var="genderNode"/>
+<createEntityReference var="entReference" obj="doc" name='"ent3"'/>
+<assertNotNull actual="entReference" id="createdEntRefNotNull"/>
+<firstChild var="entText" obj="entReference" interface="Node"/>
+<assertNotNull actual="entText" id="entTextNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<insertData obj="entText" offset="1" arg="&quot;newArg&quot;"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatareplacedatabegining">
+<metadata>
+<title>characterdataReplaceDataBeginning</title>
+<creator>NIST</creator>
+<description>
+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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--replaceData-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<replaceData obj="child" offset="0" count="4" arg="&quot;2500&quot;"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;2500 North Ave. Dallas, Texas 98551&quot;" id="characterdataReplaceDataBeginingAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatareplacedataend">
+<metadata>
+<title>characterdataReplaceDataEnd</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<replaceData obj="child" offset="30" count="5" arg="&quot;98665&quot;"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;1230 North Ave. Dallas, Texas 98665&quot;" id="characterdataReplaceDataEndAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatareplacedataexceedslengthofarg">
+<metadata>
+<title>characterdataReplaceDataExceedsLengthOfArg</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<replaceData obj="child" offset="0" count="4" arg="&quot;260030&quot;"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;260030 North Ave. Dallas, Texas 98551&quot;" id="characterdataReplaceDataExceedsLengthOfArgAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatareplacedataexceedslengthofdata">
+<metadata>
+<title>characterdataReplaceDataExceedsLengthOfData</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<replaceData obj="child" offset="0" count="50" arg="&quot;2600&quot;"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;2600&quot;" id="characterdataReplaceDataExceedsLengthOfDataAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatareplacedatamiddle">
+<metadata>
+<title>characterdataReplaceDataMiddle</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<replaceData obj="child" offset="5" count="5" arg="&quot;South&quot;"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;1230 South Ave. Dallas, Texas 98551&quot;" id="characterdataReplaceDataMiddleAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatareplacedatanomodificationallowederr">
+<metadata>
+<title>characterdataReplaceDataNoModificationAllowedErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-E5CBA7FB')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="genderNode" type="Node"/>
+<var name="entElement" type="Node"/>
+<var name="entElementContent" type="Node"/>
+<var name="entReference" type="Node"/>
+<var name="nodeType" type="int"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname='"gender"' var="genderList"/>
+<item interface="NodeList" obj="genderList" index="2" var="genderNode"/>
+<firstChild interface="Node" var="entReference" obj="genderNode"/>
+<assertNotNull actual="entReference" id="entReferenceNotNull"/>
+<nodeType var="nodeType" obj="entReference"/>
+<if><equals actual="nodeType" expected="1" ignoreCase="false"/>
+ <createEntityReference var="entReference" obj="doc" name='"ent4"'/>
+ <assertNotNull actual="entReference" id="createdEntRefNotNull"/>
+</if>
+<firstChild var="entElement" obj="entReference" interface="Node"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<firstChild var="entElementContent" obj="entElement" interface="Node"/>
+<assertNotNull actual="entElementContent" id="entElementContentNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<replaceData obj="entElementContent" offset="1" count="3" arg="&quot;newArg&quot;"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatareplacedatanomodificationallowederrEE">
+<metadata>
+<title>characterdataReplaceDataNoModificationAllowedErrEE</title>
+<creator>Curt Arnold</creator>
+<description>
+Create an ent3 entity reference and call replaceData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR.
+</description>
+<date qualifier="created">2001-08-21</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-E5CBA7FB')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E5CBA7FB"/>
+<source resource="http://www.w3.org/2001/DOM-Test-Suite/level1/core/characterdatareplacedatanomodificationallowederr.xml"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="genderNode" type="Node"/>
+<var name="entText" type="CharacterData"/>
+<var name="entReference" type="EntityReference"/>
+<var name="appendedNode" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;gender&quot;" var="genderList"/>
+<item interface="NodeList" obj="genderList" index="2" var="genderNode"/>
+<createEntityReference var="entReference" obj="doc" name='"ent3"'/>
+<assertNotNull actual="entReference" id="createdEntRefNotNull"/>
+<appendChild obj="genderNode" newChild="entReference" var="appendedNode"/>
+<firstChild var="entText" obj="entReference" interface="Node"/>
+<assertNotNull actual="entText" id="entTextNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<replaceData obj="entText" offset="1" count="3" arg='"newArg"'/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatasetdatanomodificationallowederr">
+<metadata>
+<title>characterdataSetDataNoModificationAllowedErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-72AB8359')/setraises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="genderNode" type="Node"/>
+<var name="entElement" type="Node"/>
+<var name="entElementContent" type="Node"/>
+<var name="entReference" type="Node"/>
+<var name="nodeType" type="int"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;gender&quot;" var="genderList"/>
+<item interface="NodeList" obj="genderList" index="2" var="genderNode"/>
+<firstChild var="entReference" obj="genderNode" interface="Node"/>
+<assertNotNull actual="entReference" id="entReferenceNotNull"/>
+<nodeType var="nodeType" obj="entReference"/>
+<if><equals actual="nodeType" expected="1" ignoreCase="false"/>
+ <createEntityReference var="entReference" obj="doc" name='"ent4"'/>
+ <assertNotNull actual="entReference" id="createdEntRefNotNull"/>
+</if>
+<firstChild var="entElement" obj="entReference" interface="Node"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<firstChild var="entElementContent" obj="entElement" interface="Node"/>
+<assertNotNull actual="entElementContent" id="entElementContentNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<data interface="CharacterData" obj="entElementContent" value="&quot;newData&quot;"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatasetdatanomodificationallowederrEE">
+<metadata>
+<title>characterdataSetDataNoModificationAllowedErrEE</title>
+<creator>Curt Arnold</creator>
+<description>
+Create an ent3 entity reference and call setData on a text child, should thrown a NO_MODIFICATION_ALLOWED_ERR.
+</description>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-72AB8359')/setraises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+<source resource="http://www.w3.org/2001/DOM-Test-Suite/level1/core/characterdatasetdatanomodificationallowederr.xml"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="genderNode" type="Node"/>
+<var name="entText" type="Node"/>
+<var name="entReference" type="EntityReference"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;gender&quot;" var="genderList"/>
+<item interface="NodeList" obj="genderList" index="4" var="genderNode"/>
+<createEntityReference var="entReference" obj="doc" name='"ent3"'/>
+<assertNotNull actual="entReference" id="createdEntRefNotNull"/>
+<firstChild var="entText" obj="entReference" interface="Node"/>
+<assertNotNull actual="entText" id="entTextNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<data interface="CharacterData" obj="entText" value="&quot;newData&quot;"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatasetnodevalue">
+<metadata>
+<title>characterdataSetNodeValue</title>
+<creator>Curt Arnold</creator>
+<description>
+ 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.
+</description>
+<date qualifier="created">2001-08-23</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-72AB8359"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="childData" type="DOMString"/>
+<var name="childValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<nodeValue obj="child" value="&quot;Marilyn Martin&quot;"/>
+<data interface="CharacterData" obj="child" var="childData"/>
+<assertEquals actual="childData" expected="&quot;Marilyn Martin&quot;" id="data" ignoreCase="false"/>
+<nodeValue obj="child" var="childValue"/>
+<assertEquals actual="childValue" expected="&quot;Marilyn Martin&quot;" id="value" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatasubstringexceedsvalue">
+<metadata>
+<title>characterdataSubStringExceedsValue</title>
+<creator>NIST</creator>
+<description>
+ 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 &gt; length
+ (19 &gt; 15).
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--CharacterData.substringData-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6531BCCF"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="substring" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<substringData obj="child" var="substring" offset="9" count="10"/>
+<assertEquals actual="substring" expected="&quot;Martin&quot;" id="characterdataSubStringExceedsValueAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="characterdatasubstringvalue">
+<metadata>
+<title>characterdataSubStringValue</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--CharacterData.substringData-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6531BCCF"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="child" type="CharacterData"/>
+<var name="substring" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="nameNode"/>
+<firstChild interface="Node" obj="nameNode" var="child"/>
+<substringData obj="child" var="substring" offset="0" count="8"/>
+<assertEquals actual="substring" expected="&quot;Margaret&quot;" id="characterdataSubStringValueAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="commentgetcomment">
+<metadata>
+<title>commentGetComment</title>
+<creator>NIST</creator>
+<description>
+ A comment is all the characters between the starting
+ '&lt;!--' and ending '--&gt;'
+ Retrieve the nodes of the DOM document. Search for a
+ comment node and the content is its value.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!-- Comment interface -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1334481328"/>
+<!--Node.nodeName attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D095"/>
+<!--Node.nodeValue attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080"/>
+<!--Node.nodeType attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-111237558"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="child" type="Node"/>
+<var name="childName" type="DOMString"/>
+<var name="childValue" type="DOMString"/>
+<var name="commentCount" type="int" value="0"/>
+<var name="childType" type="int"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<childNodes obj="doc" var="elementList"/>
+<for-each collection="elementList" member="child">
+<nodeType obj="child" var="childType"/>
+<if>
+<equals actual="childType" expected="8" ignoreCase="false"/>
+<nodeName obj="child" var="childName"/>
+<assertEquals actual="childName" expected='"#comment"' ignoreCase="false" id="nodeName"/>
+<nodeValue obj="child" var="childValue"/>
+<assertEquals actual="childValue" expected="&quot; This is comment number 1.&quot;" id="nodeValue" ignoreCase="false"/>
+<plus var="commentCount" op1="commentCount" op2="1"/>
+</if>
+</for-each>
+<assertEquals actual="commentCount" expected="1" ignoreCase="false" id="commentCount"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreateattribute">
+<metadata>
+<title>documentCreateAttribute</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1084891198"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newAttrNode" type="Attr"/>
+<var name="attrValue" type="DOMString"/>
+<var name="attrName" type="DOMString"/>
+<var name="attrType" type="int"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createAttribute obj="doc" var="newAttrNode" name="&quot;district&quot;"/>
+<nodeValue obj="newAttrNode" var="attrValue"/>
+<assertEquals actual="attrValue" expected="&quot;&quot;" ignoreCase="false" id="value"/>
+<nodeName obj="newAttrNode" var="attrName"/>
+<assertEquals actual="attrName" expected="&quot;district&quot;" ignoreCase="false" id="name"/>
+<nodeType obj="newAttrNode" var="attrType"/>
+<assertEquals actual="attrType" expected="2" ignoreCase="false" id="type"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreatecdatasection">
+<metadata>
+<title>documentCreateCDATASection</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D26C0AF8"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newCDATASectionNode" type="CDATASection"/>
+<var name="newCDATASectionValue" type="DOMString"/>
+<var name="newCDATASectionName" type="DOMString"/>
+<var name="newCDATASectionType" type="int"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createCDATASection obj="doc" var="newCDATASectionNode" data="&quot;This is a new CDATASection node&quot;"/>
+<nodeValue obj="newCDATASectionNode" var="newCDATASectionValue"/>
+<assertEquals id="nodeValue" actual="newCDATASectionValue" expected="&quot;This is a new CDATASection node&quot;" ignoreCase="false"/>
+<nodeName obj="newCDATASectionNode" var="newCDATASectionName"/>
+<assertEquals id="nodeName" actual="newCDATASectionName" expected="&quot;#cdata-section&quot;" ignoreCase="false"/>
+<nodeType obj="newCDATASectionNode" var="newCDATASectionType"/>
+<assertEquals id="nodeType" actual="newCDATASectionType" expected="4" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreatecomment">
+<metadata>
+<title>documentCreateComment</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1334481328"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newCommentNode" type="Comment"/>
+<var name="newCommentValue" type="DOMString"/>
+<var name="newCommentName" type="DOMString"/>
+<var name="newCommentType" type="int"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createComment obj="doc" var="newCommentNode" data="&quot;This is a new Comment node&quot;"/>
+<nodeValue obj="newCommentNode" var="newCommentValue"/>
+<assertEquals actual="newCommentValue" expected="&quot;This is a new Comment node&quot;" ignoreCase="false" id="value"/>
+<nodeName obj="newCommentNode" var="newCommentName"/>
+<assertEquals actual="newCommentName" expected="&quot;#comment&quot;" ignoreCase="false" id="name"/>
+<nodeType obj="newCommentNode" var="newCommentType"/>
+<assertEquals actual="newCommentType" expected="8" ignoreCase="false" id="type"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreatedocumentfragment">
+<metadata>
+<title>documentCreateDocumentFragment</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-35CB04B5"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newDocFragment" type="DocumentFragment"/>
+<var name="children" type="NodeList"/>
+<var name="length" type="int"/>
+<var name="newDocFragmentName" type="DOMString"/>
+<var name="newDocFragmentType" type="int"/>
+<var name="newDocFragmentValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createDocumentFragment obj="doc" var="newDocFragment"/>
+<childNodes obj="newDocFragment" var="children"/>
+<length interface="NodeList" obj="children" var="length"/>
+<assertEquals actual="length" expected="0" ignoreCase="false" id="length"/>
+<nodeName obj="newDocFragment" var="newDocFragmentName"/>
+<assertEquals actual="newDocFragmentName" expected="&quot;#document-fragment&quot;" ignoreCase="false" id="name"/>
+<nodeType obj="newDocFragment" var="newDocFragmentType"/>
+<assertEquals actual="newDocFragmentType" expected="11" ignoreCase="false" id="type"/>
+<nodeValue obj="newDocFragment" var="newDocFragmentValue"/>
+<assertNull actual="newDocFragmentValue" id="value"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreateelement">
+<metadata>
+<title>documentCreateElement</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-2141741547"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newElement" type="Element"/>
+<var name="newElementName" type="DOMString"/>
+<var name="newElementType" type="int"/>
+<var name="newElementValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createElement obj="doc" var="newElement" tagName="&quot;address&quot;"/>
+<nodeName obj="newElement" var="newElementName"/>
+<assertEquals actual="newElementName" expected="&quot;address&quot;" ignoreCase="false" id="name"/>
+<nodeType obj="newElement" var="newElementType"/>
+<assertEquals actual="newElementType" expected="1" ignoreCase="false" id="type"/>
+<nodeValue obj="newElement" var="newElementValue"/>
+<assertNull actual="newElementValue" id="valueInitiallyNull"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreateelementcasesensitive">
+<metadata>
+<title>documentCreateElementCaseSensitive</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-2141741547"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newElement1" type="Element"/>
+<var name="newElement2" type="Element"/>
+<var name="attribute1" type="DOMString"/>
+<var name="attribute2" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createElement obj="doc" var="newElement1" tagName="&quot;ADDRESS&quot;"/>
+<createElement obj="doc" var="newElement2" tagName="&quot;address&quot;"/>
+<setAttribute obj="newElement1" name="&quot;district&quot;" value="&quot;Fort Worth&quot;"/>
+<setAttribute obj="newElement2" name="&quot;county&quot;" value="&quot;Dallas&quot;"/>
+<getAttribute obj="newElement1" var="attribute1" name="&quot;district&quot;"/>
+<getAttribute obj="newElement2" var="attribute2" name="&quot;county&quot;"/>
+<assertEquals actual="attribute1" expected='"Fort Worth"' ignoreCase="false" id="attrib1"/>
+<assertEquals actual="attribute2" expected='"Dallas"' ignoreCase="false" id="attrib2"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreateelementdefaultattr">
+<metadata>
+<title>documentCreateElementDefaultAttr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-2141741547"/>
+<!-- DOM WG opinion on default attributes -->
+<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Mar/0002.html"/>
+</metadata>
+<implementationAttribute name="validating" value="true"/>
+<var name="doc" type="Document"/>
+<var name="newElement" type="Element"/>
+<var name="defaultAttr" type="NamedNodeMap"/>
+<var name="child" type="Node"/>
+<var name="name" type="DOMString"/>
+<var name="value" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createElement obj="doc" var="newElement" tagName="&quot;address&quot;"/>
+<attributes obj="newElement" var="defaultAttr"/>
+<item obj="defaultAttr" var="child" index="0" interface="NamedNodeMap"/>
+<assertNotNull actual="child" id="defaultAttrNotNull"/>
+<nodeName obj="child" var="name"/>
+<assertEquals actual="name" expected="&quot;street&quot;" id="attrName" ignoreCase="false"/>
+<nodeValue obj="child" var="value"/>
+<assertEquals actual="value" expected="&quot;Yes&quot;" id="attrValue" ignoreCase="false"/>
+<assertSize collection="defaultAttr" size="1" id="attrCount"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreateentityreference">
+<metadata>
+<title>documentCreateEntityReference</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<contributor>Curt Arnold</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newEntRefNode" type="EntityReference"/>
+<var name="entRefValue" type="DOMString"/>
+<var name="entRefName" type="DOMString"/>
+<var name="entRefType" type="int"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createEntityReference obj="doc" var="newEntRefNode" name="&quot;ent1&quot;"/>
+<assertNotNull actual="newEntRefNode" id="createdEntRefNotNull"/>
+<nodeValue obj="newEntRefNode" var="entRefValue"/>
+<assertNull actual="entRefValue" id="value"/>
+<nodeName obj="newEntRefNode" var="entRefName"/>
+<assertEquals actual="entRefName" expected="&quot;ent1&quot;" ignoreCase="false" id="name"/>
+<nodeType obj="newEntRefNode" var="entRefType"/>
+<assertEquals actual="entRefType" expected="5" ignoreCase="false" id="type"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreateentityreferenceknown">
+<metadata>
+<title>documentCreateEntityReferenceKnown</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newEntRefNode" type="EntityReference"/>
+<var name="newEntRefList" type="NodeList"/>
+<var name="child" type="Node"/>
+<var name="name" type="DOMString"/>
+<var name="value" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createEntityReference obj="doc" var="newEntRefNode" name="&quot;ent3&quot;"/>
+<assertNotNull actual="newEntRefNode" id="createdEntRefNotNull"/>
+<childNodes obj="newEntRefNode" var="newEntRefList"/>
+<assertSize collection="newEntRefList" size="1" id="size"/>
+<firstChild interface="Node" obj="newEntRefNode" var="child"/>
+<nodeName obj="child" var="name"/>
+<assertEquals actual="name" expected="&quot;#text&quot;" ignoreCase="false" id="name"/>
+<nodeValue obj="child" var="value"/>
+<assertEquals actual="value" expected="&quot;Texas&quot;" ignoreCase="false" id="value"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreateprocessinginstruction">
+<metadata>
+<title>documentCreateProcessingInstruction</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<contributor>Curt Arnold</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#"/>
+<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2001Apr/0020.html"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-135944439"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newPINode" type="ProcessingInstruction"/>
+<var name="piValue" type="DOMString"/>
+<var name="piName" type="DOMString"/>
+<var name="piType" type="int"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createProcessingInstruction obj="doc" var="newPINode" target="&quot;TESTPI&quot;" data="&quot;This is a new PI node&quot;"/>
+<assertNotNull actual="newPINode" id="createdPINotNull"/>
+<nodeName obj="newPINode" var="piName"/>
+<assertEquals actual="piName" expected="&quot;TESTPI&quot;" ignoreCase="false" id="name"/>
+<nodeValue obj="newPINode" var="piValue"/>
+<assertEquals actual="piValue" expected="&quot;This is a new PI node&quot;" ignoreCase="false" id="value"/>
+<nodeType obj="newPINode" var="piType"/>
+<assertEquals actual="piType" expected="7" ignoreCase="false" id="type"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentcreatetextnode">
+<metadata>
+<title>documentCreateTextNode</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1975348127"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newTextNode" type="Text"/>
+<var name="newTextName" type="DOMString"/>
+<var name="newTextValue" type="DOMString"/>
+<var name="newTextType" type="int"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createTextNode obj="doc" var="newTextNode" data="&quot;This is a new Text node&quot;"/>
+<nodeValue obj="newTextNode" var="newTextValue"/>
+<assertEquals actual="newTextValue" expected="&quot;This is a new Text node&quot;" ignoreCase="false" id="value"/>
+<nodeName obj="newTextNode" var="newTextName"/>
+<assertEquals actual="newTextName" expected="&quot;#text&quot;" ignoreCase="false" id="name"/>
+<nodeType obj="newTextNode" var="newTextType"/>
+<assertEquals actual="newTextType" expected="3" ignoreCase="false" id="type"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentgetdoctype">
+<metadata>
+<title>documentGetDocType</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-B63ED1A31"/>
+<!-- Node.nodeValue -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<var name="docTypeName" type="DOMString"/>
+<var name="nodeValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNotNull actual="docType" id="docTypeNotNull"/>
+<name interface="DocumentType" obj="docType" var="docTypeName"/>
+<if><contentType type="image/svg+xml"/>
+ <assertEquals actual="docTypeName" expected='"svg"' id="doctypeNameSVG" ignoreCase="false"/>
+ <else>
+ <assertEquals actual="docTypeName" expected='"staff"' id="doctypeName" ignoreCase="false"/>
+ </else>
+</if>
+<nodeValue obj="docType" var="nodeValue"/>
+<assertNull actual="nodeValue" id="initiallyNull"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentgetdoctypenodtd">
+<metadata>
+<title>documentGetDocTypeNoDTD</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-B63ED1A31"/>
+</metadata>
+<implementationAttribute name="validating" value="false"/>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<load var="doc" href="hc_nodtdstaff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNull actual="docType" id="documentGetDocTypeNoDTDAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentgetelementsbytagnamelength">
+<metadata>
+<title>documentGetElementsByTagNameLength</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-A6C9094"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="nameList" type="NodeList"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nameList" tagname="&quot;name&quot;"/>
+<assertSize collection="nameList" size="5" id="documentGetElementsByTagNameLengthAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentgetelementsbytagnametotallength">
+<metadata>
+<title>documentGetElementsByTagNameTotalLength</title>
+<creator>NIST</creator>
+<description>
+ Retrieve the entire DOM document, invoke
+ getElementsByTagName("*") and check the length of the NodeList.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-A6C9094"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="nameList" type="NodeList"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nameList" tagname='"*"'/>
+<if><contentType type="image/svg+xml"/>
+ <assertSize collection="nameList" size="39" id="elementCountSVG"/>
+<else>
+ <assertSize collection="nameList" size="37" id="documentGetElementsByTagNameTotalLengthAssert"/>
+</else>
+</if>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentgetelementsbytagnamevalue">
+<metadata>
+<title>documentGetElementsByTagNameValue</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-A6C9094"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="nameList" type="NodeList"/>
+<var name="nameNode" type="Node"/>
+<var name="firstChild" type="Node"/>
+<var name="childValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" var="nameList" tagname="&quot;name&quot;"/>
+<item interface="NodeList" obj="nameList" var="nameNode" index="3"/>
+<firstChild interface="Node" obj="nameNode" var="firstChild"/>
+<nodeValue obj="firstChild" var="childValue"/>
+<assertEquals actual="childValue" expected="&quot;Jeny Oconnor&quot;" id="documentGetElementsByTagNameValueAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentgetimplementation">
+<metadata>
+<title>documentGetImplementation</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1B793EBA"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docImpl" type="DOMImplementation"/>
+<var name="state" type="boolean"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<implementation obj="doc" var="docImpl"/>
+<hasFeature obj="docImpl" var="state" feature="&quot;XML&quot;" version="&quot;1.0&quot;"/>
+<assertTrue actual="state" id="documentGetImplementationAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentgetrootnode">
+<metadata>
+<title>documentGetRootNode</title>
+<creator>NIST</creator>
+<description>
+ 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").
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--documentElement attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-87CD092"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=251"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="root" type="Element"/>
+<var name="rootName" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<documentElement obj="doc" var="root"/>
+<nodeName obj="root" var="rootName"/>
+<if><contentType type="image/svg+xml"/>
+<assertEquals actual="rootName" expected='"svg"' id="svgRootNode" ignoreCase="false"/>
+<else>
+<assertEquals actual="rootName" expected='"staff"' id="documentGetRootNodeAssert" ignoreCase="false"/>
+</else>
+</if>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2003 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentinvalidcharacterexceptioncreateattribute">
+<metadata>
+<title>documentInvalidCharacterExceptionCreateAttribute</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1084891198"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-1084891198')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1084891198"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="createdAttr" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<assertDOMException id="throw_INVALID_CHARACTER_ERR">
+<INVALID_CHARACTER_ERR>
+<createAttribute var="createdAttr" obj="doc" name="&quot;invalid^Name&quot;"/>
+</INVALID_CHARACTER_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2003 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentinvalidcharacterexceptioncreateelement">
+<metadata>
+<title>documentInvalidCharacterExceptionCreateElement</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-2141741547"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-2141741547')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-2141741547"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="badElement" type="Element"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<assertDOMException id="throw_INVALID_CHARACTER_ERR">
+<INVALID_CHARACTER_ERR>
+<createElement var="badElement" obj="doc" tagName="&quot;invalid^Name&quot;"/>
+</INVALID_CHARACTER_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentinvalidcharacterexceptioncreateentref">
+<metadata>
+<title>documentInvalidCharacterExceptionCreateEntRef</title>
+<creator>NIST</creator>
+<description>
+ The "createEntityReference(tagName)" method raises an
+ INVALID_CHARACTER_ERR DOMException if the specified
+ tagName contains an invalid character.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-392B75AE')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<hasFeature feature='"XML"'/>
+<var name="doc" type="Document"/>
+<var name="badEntityRef" type="EntityReference"/>
+<load var="doc" href="hc_staff" willBeModified="true"/>
+<if><contentType type="text/html"/>
+<assertDOMException id="throw_NOT_SUPPORTED_ERR">
+<NOT_SUPPORTED_ERR>
+<createEntityReference var="badEntityRef" obj="doc" name='"foo"'/>
+</NOT_SUPPORTED_ERR>
+</assertDOMException>
+<else>
+<assertDOMException id="throw_INVALID_CHARACTER_ERR">
+<INVALID_CHARACTER_ERR>
+<createEntityReference var="badEntityRef" obj="doc" name="&quot;invalid^Name&quot;"/>
+</INVALID_CHARACTER_ERR>
+</assertDOMException>
+</else>
+</if>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentinvalidcharacterexceptioncreateentref1">
+<metadata>
+<title>documentinvalidcharacterexceptioncreateentref1</title>
+<creator>Curt Arnold</creator>
+<description>
+Creating an entity reference with an empty name should cause an INVALID_CHARACTER_ERR.
+</description>
+<date qualifier="created">2004-03-09</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-392B75AE"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-392B75AE')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=525"/>
+</metadata>
+<hasFeature feature='"XML"'/>
+<var name="doc" type="Document"/>
+<var name="badEntityRef" type="EntityReference"/>
+<load var="doc" href="hc_staff" willBeModified="true"/>
+<if><contentType type="text/html"/>
+<assertDOMException id="throw_NOT_SUPPORTED_ERR">
+<NOT_SUPPORTED_ERR>
+<createEntityReference var="badEntityRef" obj="doc" name='"foo"'/>
+</NOT_SUPPORTED_ERR>
+</assertDOMException>
+<else>
+<assertDOMException id="throw_INVALID_CHARACTER_ERR">
+<INVALID_CHARACTER_ERR>
+<createEntityReference var="badEntityRef" obj="doc" name='""'/>
+</INVALID_CHARACTER_ERR>
+</assertDOMException>
+</else>
+</if>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentinvalidcharacterexceptioncreatepi">
+<metadata>
+<title>documentInvalidCharacterExceptionCreatePI</title>
+<creator>NIST</creator>
+<description>
+ The "createProcessingInstruction(target,data) method
+ raises an INVALID_CHARACTER_ERR DOMException if the
+ specified tagName contains an invalid character.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-135944439"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-135944439')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<hasFeature feature='"XML"'/>
+<var name="doc" type="Document"/>
+<var name="badPI" type="ProcessingInstruction"/>
+<load var="doc" href="hc_staff" willBeModified="true"/>
+<if><contentType type="text/html"/>
+<assertDOMException id="throw_NOT_SUPPORTED_ERR">
+<NOT_SUPPORTED_ERR>
+<createProcessingInstruction var="badPI" obj="doc" target='"foo"' data='"data"'/>
+</NOT_SUPPORTED_ERR>
+</assertDOMException>
+<else>
+<assertDOMException id="throw_INVALID_CHARACTER_ERR">
+<INVALID_CHARACTER_ERR>
+<createProcessingInstruction var="badPI" obj="doc" target="&quot;invalid^Name&quot;" data="&quot;data&quot;"/>
+</INVALID_CHARACTER_ERR>
+</assertDOMException>
+</else>
+</if>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documentinvalidcharacterexceptioncreatepi1">
+<metadata>
+<title>documentinvalidcharacterexceptioncreatepi1</title>
+<creator>Curt Arnold</creator>
+<description>
+Creating a processing instruction with an empty target should cause an INVALID_CHARACTER_ERR.
+</description>
+<date qualifier="created">2004-03-09</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-135944439"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-135944439')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=525"/>
+</metadata>
+<hasFeature feature='"XML"'/>
+<var name="doc" type="Document"/>
+<var name="badPI" type="ProcessingInstruction"/>
+<load var="doc" href="hc_staff" willBeModified="true"/>
+<if><contentType type="text/html"/>
+<assertDOMException id="throw_NOT_SUPPORTED_ERR">
+<NOT_SUPPORTED_ERR>
+<createProcessingInstruction var="badPI" obj="doc" target='"foo"' data='"data"'/>
+</NOT_SUPPORTED_ERR>
+</assertDOMException>
+<else>
+<assertDOMException id="throw_INVALID_CHARACTER_ERR">
+<INVALID_CHARACTER_ERR>
+<createProcessingInstruction var="badPI" obj="doc" target='""' data="&quot;data&quot;"/>
+</INVALID_CHARACTER_ERR>
+</assertDOMException>
+</else>
+</if>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documenttypegetdoctype">
+<metadata>
+<title>documenttypeGetDocType</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-B63ED1A31"/>
+<!--name attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1844763134"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<var name="name" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNotNull actual="docType" id="docTypeNotNull"/>
+<name interface="DocumentType" obj="docType" var="name"/>
+<if><contentType type="image/svg+xml"/>
+<assertEquals actual="name" expected='"svg"' id="doctypeName" ignoreCase="false"/>
+<else>
+<assertEquals actual="name" expected='"staff"' id="documenttypeGetDocTypeAssert" ignoreCase="false"/>
+</else>
+</if>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documenttypegetentities">
+<metadata>
+<title>documenttypeGetEntities</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1788794630"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<var name="entityList" type="NamedNodeMap"/>
+<var name="name" type="DOMString"/>
+<var name="expectedResult" type="Collection">
+<member>"ent1"</member>
+<member>"ent2"</member>
+<member>"ent3"</member>
+<member>"ent4"</member>
+<member>"ent5"</member>
+</var>
+<var name="expectedResultSVG" type="Collection">
+<member>"ent1"</member>
+<member>"ent2"</member>
+<member>"ent3"</member>
+<member>"ent4"</member>
+<member>"ent5"</member>
+<member>"svgunit"</member>
+<member>"svgtest"</member>
+</var>
+<var name="nameList" type="Collection"/>
+<var name="entity" type="Node"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNotNull actual="docType" id="docTypeNotNull"/>
+<entities obj="docType" var="entityList"/>
+<assertNotNull actual="entityList" id="entitiesNotNull"/>
+<for-each collection="entityList" member="entity">
+ <nodeName obj="entity" var="name"/>
+ <append collection="nameList" item="name"/>
+</for-each>
+<if><contentType type="image/svg+xml"/>
+ <assertEquals actual="nameList" expected="expectedResultSVG" id="entityNamesSVG" ignoreCase="false"/>
+ <else>
+ <assertEquals actual="nameList" expected="expectedResult" id="entityNames" ignoreCase="false"/>
+ </else>
+</if>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documenttypegetentitieslength">
+<metadata>
+<title>documenttypeGetEntitiesLength</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1788794630"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<var name="entityList" type="NamedNodeMap"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNotNull actual="docType" id="docTypeNotNull"/>
+<entities obj="docType" var="entityList"/>
+<assertNotNull actual="entityList" id="entitiesNotNull"/>
+<if><contentType type="image/svg+xml"/>
+ <assertSize collection="entityList" size="7" id="entitySizeSVG"/>
+ <else>
+ <assertSize collection="entityList" size="5" id="entitySize"/>
+ </else>
+</if>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documenttypegetentitiestype">
+<metadata>
+<title>documenttypeGetEntitiesType</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1788794630"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<var name="entityList" type="NamedNodeMap"/>
+<var name="entity" type="Node"/>
+<var name="entityType" type="int"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNotNull actual="docType" id="docTypeNotNull"/>
+<entities obj="docType" var="entityList"/>
+<assertNotNull actual="entityList" id="entitiesNotNull"/>
+<for-each collection="entityList" member="entity">
+<nodeType obj="entity" var="entityType"/>
+<assertEquals actual="entityType" expected="6" id="documenttypeGetEntitiesTypeAssert" ignoreCase="false"/>
+</for-each>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documenttypegetnotations">
+<metadata>
+<title>documenttypeGetNotations</title>
+<creator>NIST</creator>
+<description>
+ 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).
+</description>
+<contributor>Mary Brady</contributor>
+<contributor>Curt Arnold</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D46829EF"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<var name="notationList" type="NamedNodeMap"/>
+<var name="notation" type="Node"/>
+<var name="notationName" type="DOMString"/>
+<var name="actual" type="Collection"/>
+<var name="expected" type="Collection">
+<member>"notation1"</member>
+<member>"notation2"</member>
+</var>
+<load var="doc" href="staff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNotNull actual="docType" id="docTypeNotNull"/>
+<notations obj="docType" var="notationList"/>
+<assertNotNull actual="notationList" id="notationsNotNull"/>
+<for-each collection="notationList" member="notation">
+<nodeName obj="notation" var="notationName"/>
+<append collection="actual" item="notationName"/>
+</for-each>
+<assertEquals actual="actual" expected="expected" id="names" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="documenttypegetnotationstype">
+<metadata>
+<title>documenttypeGetNotationsType</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D46829EF"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<var name="notationList" type="NamedNodeMap"/>
+<var name="notation" type="Node"/>
+<var name="notationType" type="int"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNotNull actual="docType" id="docTypeNotNull"/>
+<notations obj="docType" var="notationList"/>
+<assertNotNull actual="notationList" id="notationsNotNull"/>
+<for-each collection="notationList" member="notation">
+<nodeType obj="notation" var="notationType"/>
+<assertEquals actual="notationType" expected="12" id="documenttypeGetNotationsTypeAssert" ignoreCase="false"/>
+</for-each>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="domimplementationfeaturenoversion">
+<metadata>
+<title>domimplementationFeatureNoVersion</title>
+<creator>NIST</creator>
+<description>
+hasFeature("XML", "") should return true for implementations that can read staff files.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-5CED94D7"/>
+<subject resource="http://www.w3.org/2000/11/DOM-Level-2-errata#core-14"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="domImpl" type="DOMImplementation"/>
+<var name="state" type="boolean"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<implementation obj="doc" var="domImpl"/>
+<hasFeature obj="domImpl" var="state" feature='"XML"' version='""'/>
+<assertTrue actual="state" id="hasXMLEmpty"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="domimplementationfeaturenull">
+<metadata>
+<title>domimplementationFeatureNull</title>
+<creator>NIST</creator>
+<description>
+hasFeature("XML", null) should return true for implementations that can read staff documents.
+</description>
+<contributor>Curt Arnold</contributor>
+<date qualifier="created">2001-08-23</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-5CED94D7"/>
+<subject resource="http://www.w3.org/2000/11/DOM-Level-2-errata#core-14"/>
+</metadata>
+<implementationAttribute name="hasNullString" value="true"/>
+<var name="doc" type="Document"/>
+<var name="domImpl" type="DOMImplementation"/>
+<var name="state" type="boolean"/>
+<var name="nullVersion" type="DOMString" isNull="true"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<implementation obj="doc" var="domImpl"/>
+<hasFeature obj="domImpl" var="state" feature='"XML"' version="nullVersion"/>
+<assertTrue actual="state" id="hasXMLnull"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="domimplementationfeaturexml">
+<metadata>
+<title>domimplementationFeaturexml</title>
+<creator>NIST</creator>
+<description>
+hasFeature("xml", "1.0") should return true for implementations that can read staff documents.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-5CED94D7"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="domImpl" type="DOMImplementation"/>
+<var name="state" type="boolean"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<implementation obj="doc" var="domImpl"/>
+<hasFeature obj="domImpl" var="state" feature='"xml"' version='"1.0"'/>
+<assertTrue actual="state" id="hasXML1"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementaddnewattribute">
+<metadata>
+<title>elementAddNewAttribute</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--setAttribute-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68F082"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="attrValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="4" var="testEmployee"/>
+<setAttribute obj="testEmployee" name="&quot;district&quot;" value="&quot;dallas&quot;"/>
+<getAttribute obj="testEmployee" var="attrValue" name="&quot;district&quot;"/>
+<assertEquals actual="attrValue" expected="&quot;dallas&quot;" id="elementAddNewAttributeAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementassociatedattribute">
+<metadata>
+<title>elementAssociatedAttribute</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--attributes attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-84CF096"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="domesticAttr" type="Attr"/>
+<var name="specified" type="boolean"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname='"address"' var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="testEmployee"/>
+<attributes obj="testEmployee" var="attributes"/>
+<getNamedItem obj="attributes" var="domesticAttr" name='"domestic"'/>
+<specified obj="domesticAttr" var="specified"/>
+<assertTrue actual="specified" id="domesticSpecified"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementchangeattributevalue">
+<metadata>
+<title>elementChangeAttributeValue</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--setAttribute-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68F082"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="attrValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="3" var="testEmployee"/>
+<setAttribute obj="testEmployee" name="&quot;street&quot;" value="&quot;Neither&quot;"/>
+<getAttribute obj="testEmployee" var="attrValue" name="&quot;street&quot;"/>
+<assertEquals actual="attrValue" expected="&quot;Neither&quot;" id="elementChangeAttributeValueAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementcreatenewattribute">
+<metadata>
+<title>elementCreateNewAttribute</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--setAttributeNode-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-887236154"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testAddress" type="Element"/>
+<var name="newAttribute" type="Attr"/>
+<var name="oldAttr" type="Attr"/>
+<var name="districtAttr" type="Attr"/>
+<var name="attrVal" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="testAddress"/>
+<createAttribute obj="doc" var="newAttribute" name="&quot;district&quot;"/>
+<setAttributeNode obj="testAddress" var="oldAttr" newAttr="newAttribute"/>
+<assertNull actual="oldAttr" id="old_attr_doesnt_exist"/>
+<getAttributeNode obj="testAddress" var="districtAttr" name="&quot;district&quot;"/>
+<assertNotNull actual="districtAttr" id="new_district_accessible"/>
+<getAttribute var="attrVal" obj="testAddress" name="&quot;district&quot;"/>
+<assertEquals actual="attrVal" expected="&quot;&quot;" id="attr_value" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementgetattributenode">
+<metadata>
+<title>elementGetAttributeNode</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-217A91B8"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="domesticAttr" type="Attr"/>
+<var name="name" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="testEmployee"/>
+<getAttributeNode obj="testEmployee" var="domesticAttr" name="&quot;domestic&quot;"/>
+<nodeName obj="domesticAttr" var="name"/>
+<assertEquals actual="name" expected="&quot;domestic&quot;" id="elementGetAttributeNodeAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementgetattributenodenull">
+<metadata>
+<title>elementGetAttributeNodeNull</title>
+<creator>NIST</creator>
+<description>
+ 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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-217A91B8"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="domesticAttr" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="testEmployee"/>
+<getAttributeNode obj="testEmployee" var="domesticAttr" name="&quot;invalidAttribute&quot;"/>
+<assertNull actual="domesticAttr" id="elementGetAttributeNodeNullAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementgetelementempty">
+<metadata>
+<title>elementGetElementEmpty</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--getAttribute-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-666EE0F9"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newAttribute" type="Attr"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="domesticAttr" type="Attr"/>
+<var name="attrValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<createAttribute obj="doc" var="newAttribute" name="&quot;district&quot;"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="3" var="testEmployee"/>
+<setAttributeNode obj="testEmployee" var="domesticAttr" newAttr="newAttribute"/>
+<getAttribute obj="testEmployee" var="attrValue" name="&quot;district&quot;"/>
+<assertEquals actual="attrValue" expected="&quot;&quot;" id="elementGetElementEmptyAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementgetelementsbytagname">
+<metadata>
+<title>elementGetElementsByTagName</title>
+<creator>NIST</creator>
+<description>
+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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--getElementsByTagName-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1938918D"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;employee&quot;" var="elementList"/>
+<assertSize collection="elementList" size="5" id="elementGetElementsByTagNameAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementgetelementsbytagnameaccessnodelist">
+<metadata>
+<title>elementgetelementsbytagnameaccessnodelist</title>
+<creator>NIST</creator>
+<description>
+Element.getElementsByTagName("employee") should return a NodeList whose length is
+"5" in the order the children were encountered.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--getElementsByTagName-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1938918D"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="child" type="Node"/>
+<var name="childName" type="DOMString"/>
+<var name="childValue" type="DOMString"/>
+<var name="childType" type="int"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;employee&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="3" var="testEmployee"/>
+<!-- first element might be text -->
+<firstChild interface="Node" obj="testEmployee" var="child"/>
+<nodeType var="childType" obj="child"/>
+<if><equals actual="childType" expected="3" ignoreCase="false"/>
+<nextSibling var="child" obj="child" interface="Node"/>
+</if>
+<nodeName var="childName" obj="child" interface="Node"/>
+<assertEquals actual="childName" expected='"employeeId"' id="nodename" ignoreCase="false"/>
+<firstChild var="child" obj="child" interface="Node"/>
+<nodeValue var="childValue" obj="child"/>
+<assertEquals actual="childValue" expected='"EMP0004"' ignoreCase="false" id="emp0004"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementgetelementsbytagnamenomatch">
+<metadata>
+<title>elementGetElementsByTagName</title>
+<creator>NIST</creator>
+<description>
+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".
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--getElementsByTagName-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1938918D"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;noMatch&quot;" var="elementList"/>
+<assertSize collection="elementList" size="0" id="elementGetElementsByTagNameNoMatchNoMatchAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementgetelementsbytagnamespecialvalue">
+<metadata>
+<title>elementGetElementsByTagNamesSpecialValue</title>
+<creator>NIST</creator>
+<description>
+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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-1938918D"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="lastEmployee" type="Element"/>
+<var name="lastempList" type="NodeList"/>
+<var name="child" type="Node"/>
+<var name="childName" type="DOMString"/>
+<var name="result" type="List"/>
+<var name="expectedResult" type="List">
+<member>"employeeId"</member>
+<member>"name"</member>
+<member>"position"</member>
+<member>"salary"</member>
+<member>"gender"</member>
+<member>"address"</member>
+</var>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;employee&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="4" var="lastEmployee"/>
+<getElementsByTagName interface="Element" obj="lastEmployee" var="lastempList" tagname="&quot;*&quot;"/>
+<for-each collection="lastempList" member="child">
+<nodeName obj="child" var="childName"/>
+<append collection="result" item="childName"/>
+</for-each>
+<assertEquals actual="result" expected="expectedResult" id="tagNames" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementgettagname">
+<metadata>
+<title>elementGetTagName</title>
+<creator>NIST</creator>
+<description>
+
+ The "getTagName()" method returns the
+
+ tagName of an element.
+
+
+
+ Invoke the "getTagName()" method one the
+
+ root node. The value returned should be "staff".
+
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-104682815"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=251"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="root" type="Element"/>
+<var name="tagname" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<documentElement obj="doc" var="root"/>
+<tagName obj="root" var="tagname"/>
+<if><contentType type="image/svg+xml"/>
+<assertEquals actual="tagname" expected='"svg"' id="svgTagName" ignoreCase="false"/>
+<else>
+<assertEquals actual="tagname" expected='"staff"' id="elementGetTagNameAssert" ignoreCase="false"/>
+</else>
+</if>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementinuseattributeerr">
+<metadata>
+<title>elementInUseAttributeErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INUSE_ATTRIBUTE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-887236154"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-887236154')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INUSE_ATTRIBUTE_ERR'])"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="newAttribute" type="Attr"/>
+<var name="addressElementList" type="NodeList"/>
+<var name="testAddress" type="Element"/>
+<var name="newElement" type="Element"/>
+<var name="appendedChild" type="Node"/>
+<var name="setAttr1" type="Attr"/>
+<var name="setAttr2" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname='"address"' var="addressElementList"/>
+<item interface="NodeList" obj="addressElementList" index="1" var="testAddress"/>
+<createElement obj="doc" var="newElement" tagName='"newElement"'/>
+<appendChild var="appendedChild" obj="testAddress" newChild="newElement"/>
+<createAttribute obj="doc" var="newAttribute" name='"newAttribute"'/>
+<setAttributeNode var="setAttr1" obj="newElement" newAttr="newAttribute"/>
+<assertDOMException id="throw_INUSE_ATTRIBUTE_ERR">
+ <INUSE_ATTRIBUTE_ERR>
+ <setAttributeNode var="setAttr2" obj="testAddress" newAttr="newAttribute"/>
+ </INUSE_ATTRIBUTE_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2003 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementinvalidcharacterexception">
+<metadata>
+<title>elementInvalidCharacterException</title>
+<creator>NIST</creator>
+<description>
+
+ 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.
+
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68F082"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-F68F082')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testAddress" type="Element"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="0" var="testAddress"/>
+<assertDOMException id="throw_INVALID_CHARACTER_ERR">
+<INVALID_CHARACTER_ERR>
+<setAttribute obj="testAddress" name="&quot;invalid^Name&quot;" value="&quot;value&quot;"/>
+</INVALID_CHARACTER_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementnormalize">
+<metadata>
+<title>elementNormalize</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-162CF083"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="root" type="Element"/>
+<var name="elementList" type="NodeList"/>
+<var name="testName" type="Element"/>
+<var name="firstChild" type="Node"/>
+<var name="childValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<documentElement obj="doc" var="root"/>
+<normalize obj="root"/>
+<getElementsByTagName interface="Element" obj="root" tagname="&quot;name&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="2" var="testName"/>
+<firstChild interface="Node" obj="testName" var="firstChild"/>
+<nodeValue obj="firstChild" var="childValue"/>
+<assertEquals actual="childValue" expected="&quot;Roger\n Jones&quot;" id="elementNormalizeAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementnotfounderr">
+<metadata>
+<title>elementNotFoundErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='INUSE_ATTRIBUTE_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D589198"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-D589198')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='INUSE_ATTRIBUTE_ERR'])"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="oldAttribute" type="Attr"/>
+<var name="addressElementList" type="NodeList"/>
+<var name="testAddress" type="Element"/>
+<var name="attrAddress" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="addressElementList"/>
+<item interface="NodeList" obj="addressElementList" index="4" var="testAddress"/>
+<createAttribute obj="doc" var="oldAttribute" name="&quot;oldAttribute&quot;"/>
+<assertDOMException id="throw_NOT_FOUND_ERR">
+<NOT_FOUND_ERR>
+<removeAttributeNode obj="testAddress" oldAttr="oldAttribute" var="attrAddress"/>
+</NOT_FOUND_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementremoveattribute">
+<metadata>
+<title>elementRemoveAttribute</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6D6AC0F9"/>
+<!-- DOM WG opinion on default attributes -->
+<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Mar/0002.html"/>
+</metadata>
+<implementationAttribute name="validating" value="true"/>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="attrValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname='"address"' var="elementList"/>
+<item interface="NodeList" obj="elementList" index="3" var="testEmployee"/>
+<removeAttribute obj="testEmployee" name='"street"'/>
+<getAttribute obj="testEmployee" var="attrValue" name='"street"'/>
+<assertEquals actual="attrValue" expected='"Yes"' id="streetYes" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementremoveattributeaftercreate">
+<metadata>
+<title>elementRemoveAttributeAfterCreate</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--removeAttributeNode-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D589198"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="newAttribute" type="Attr"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="districtAttr" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="2" var="testEmployee"/>
+<createAttribute obj="doc" var="newAttribute" name="&quot;district&quot;"/>
+<setAttributeNode obj="testEmployee" var="districtAttr" newAttr="newAttribute"/>
+<removeAttributeNode obj="testEmployee" var="districtAttr" oldAttr="newAttribute"/>
+<attributes obj="testEmployee" var="attributes"/>
+<getNamedItem obj="attributes" var="districtAttr" name="&quot;district&quot;"/>
+<assertNull actual="districtAttr" id="elementRemoveAttributeAfterCreateAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementremoveattributenode">
+<metadata>
+<title>elementRemoveAttributeNode</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D589198"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="streetAttr" type="Attr"/>
+<var name="removedAttr" type="Attr"/>
+<var name="removedValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="2" var="testEmployee"/>
+<getAttributeNode obj="testEmployee" var="streetAttr" name="&quot;street&quot;"/>
+<removeAttributeNode obj="testEmployee" var="removedAttr" oldAttr="streetAttr"/>
+<value interface="Attr" obj="removedAttr" var="removedValue"/>
+<assertEquals actual="removedValue" expected="&quot;No&quot;" id="elementRemoveAttributeNodeAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementremoveattributenodenomodificationallowederr">
+<metadata>
+<title>elementRemoveAttributeNodeNoModificationAllowedErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D589198"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-D589198')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D589198"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="gender" type="Node"/>
+<var name="genList" type="NodeList"/>
+<var name="gen" type="Node"/>
+<var name="nodeType" type="int"/>
+<var name="gList" type="NodeList"/>
+<var name="genElement" type="Element"/>
+<var name="attrList" type="NamedNodeMap"/>
+<var name="attrNode" type="Attr"/>
+<var name="removedAttr" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="genderList" tagname="&quot;gender&quot;"/>
+<item interface="NodeList" obj="genderList" var="gender" index="2"/>
+<childNodes obj="gender" var="genList"/>
+<item interface="NodeList" obj="genList" var="gen" index="0"/>
+<assertNotNull actual="gen" id="genNotNull"/>
+<nodeType var="nodeType" obj="gen"/>
+<if><equals actual="nodeType" expected="1" ignoreCase="false"/>
+ <createEntityReference var="gen" obj="doc" name='"ent4"'/>
+ <assertNotNull actual="gen" id="createdEntRefNotNull"/>
+</if>
+<childNodes obj="gen" var="gList"/>
+<item interface="NodeList" obj="gList" var="genElement" index="0"/>
+<assertNotNull actual="genElement" id="genElementNotNull"/>
+<attributes obj="genElement" var="attrList"/>
+<getNamedItem obj="attrList" var="attrNode" name='"domestic"'/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<removeAttributeNode var="removedAttr" obj="genElement" oldAttr="attrNode"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementremoveattributenodenomodificationallowederrEE">
+<metadata>
+<title>elementRemoveAttributeNodeNoModificationAllowedErrEE</title>
+<creator>Curt Arnold</creator>
+<description>
+ 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.
+</description>
+<date qualifier="created">2001-08-21</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D589198"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-D589198')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D589198"/>
+<source resource="http://www.w3.org/2001/DOM-Test-Suite/level1/core/elementremoveattributenodenomodificationallowederr.xml"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="gender" type="Node"/>
+<var name="entRef" type="EntityReference"/>
+<var name="entElement" type="Element"/>
+<var name="attrList" type="NamedNodeMap"/>
+<var name="attrNode" type="Attr"/>
+<var name="nodeType" type="int"/>
+<var name="removedAttr" type="Attr"/>
+<var name="appendedChild" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="genderList" tagname="&quot;gender&quot;"/>
+<item interface="NodeList" obj="genderList" var="gender" index="2"/>
+<createEntityReference var="entRef" obj="doc" name="&quot;ent4&quot;"/>
+<assertNotNull actual="entRef" id="createdEntRefNotNull"/>
+<appendChild obj="gender" newChild="entRef" var="appendedChild"/>
+<firstChild interface="Node" var="entElement" obj="entRef"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<attributes obj="entElement" var="attrList"/>
+<getNamedItem obj="attrList" var="attrNode" name='"domestic"'/>
+<assertNotNull actual="attrNode" id="attrNodeNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<removeAttributeNode var="removedAttr" obj="entElement" oldAttr="attrNode"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementremoveattributenomodificationallowederr">
+<metadata>
+<title>elementRemoveAttributeNoModificationAllowedErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6D6AC0F9"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-6D6AC0F9')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6D6AC0F9"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="gender" type="Node"/>
+<var name="genList" type="NodeList"/>
+<var name="gen" type="Node"/>
+<var name="gList" type="NodeList"/>
+<var name="nodeType" type="int"/>
+<var name="genElement" type="Element"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="genderList" tagname="&quot;gender&quot;"/>
+<item interface="NodeList" obj="genderList" var="gender" index="2"/>
+<childNodes obj="gender" var="genList"/>
+<item interface="NodeList" obj="genList" var="gen" index="0"/>
+<assertNotNull actual="gen" id="genNotNull"/>
+<nodeType var="nodeType" obj="gen"/>
+<if><equals actual="nodeType" expected="1" ignoreCase="false"/>
+ <createEntityReference var="gen" obj="doc" name='"ent4"'/>
+ <assertNotNull actual="gen" id="createdEntRefNotNull"/>
+</if>
+<childNodes obj="gen" var="gList"/>
+<item interface="NodeList" obj="gList" var="genElement" index="0"/>
+<assertNotNull actual="genElement" id="genElementNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<removeAttribute obj="genElement" name='"domestic"'/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementremoveattributenomodificationallowederrEE">
+<metadata>
+<title>elementRemoveAttributeNoModificationAllowedErrEE</title>
+<creator>Curt Arnold</creator>
+<description>
+ 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.
+</description>
+<date qualifier="created">2001-08-21</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6D6AC0F9"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-6D6AC0F9')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6D6AC0F9"/>
+<source resource="http://www.w3.org/2001/DOM-Test-Suite/level1/core/elementremoveattributenomodificationallowederr.xml"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="gender" type="Node"/>
+<var name="entRef" type="EntityReference"/>
+<var name="entElement" type="Element"/>
+<var name="appendedChild" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="genderList" tagname='"gender"'/>
+<item interface="NodeList" obj="genderList" var="gender" index="2"/>
+<createEntityReference obj="doc" var="entRef" name='"ent4"'/>
+<assertNotNull actual="entRef" id="createdEntRefNotNull"/>
+<appendChild obj="gender" newChild="entRef" var="appendedChild"/>
+<firstChild obj="entRef" var="entElement" interface="Node"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<removeAttribute obj="entElement" name='"domestic"'/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementremoveattributerestoredefaultvalue">
+<metadata>
+<title>elementRemoveAttributeRestoreDefaultValue</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--removeAttributeNode-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D589198"/>
+<!-- DOM WG opinion on default attributes -->
+<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Mar/0002.html"/>
+</metadata>
+<implementationAttribute name="validating" value="true"/>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="streetAttr" type="Attr"/>
+<var name="attribute" type="DOMString"/>
+<var name="removedAttr" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="2" var="testEmployee"/>
+<getAttributeNode obj="testEmployee" var="streetAttr" name="&quot;street&quot;"/>
+<removeAttributeNode var="removedAttr" obj="testEmployee" oldAttr="streetAttr"/>
+<getAttribute obj="testEmployee" var="attribute" name="&quot;street&quot;"/>
+<assertEquals actual="attribute" expected="&quot;Yes&quot;" id="streetYes" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementreplaceattributewithself">
+<metadata>
+<title>elementReplaceAttributeWithSelf</title>
+<creator>Curt Arnold</creator>
+<description>
+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.
+</description>
+<contributor>Curt Arnold</contributor>
+<date qualifier="created">2001-10-31</date>
+<!--setAttributeNode-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-887236154"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="streetAttr" type="Attr"/>
+<var name="replacedAttr" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname='"address"' var="elementList"/>
+<item interface="NodeList" obj="elementList" index="2" var="testEmployee"/>
+<getAttributeNode var="streetAttr" obj="testEmployee" name='"street"'/>
+<setAttributeNode obj="testEmployee" var="replacedAttr" newAttr="streetAttr"/>
+<assertSame actual="replacedAttr" expected="streetAttr" id="replacedAttr"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementreplaceexistingattribute">
+<metadata>
+<title>elementReplaceExistingAttribute</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="newAttribute" type="Attr"/>
+<var name="name" type="DOMString"/>
+<var name="setAttr" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="2" var="testEmployee"/>
+<createAttribute obj="doc" var="newAttribute" name="&quot;street&quot;"/>
+<setAttributeNode var="setAttr" obj="testEmployee" newAttr="newAttribute"/>
+<getAttribute obj="testEmployee" var="name" name="&quot;street&quot;"/>
+<assertEquals actual="name" expected="&quot;&quot;" id="elementReplaceExistingAttributeAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementreplaceexistingattributegevalue">
+<metadata>
+<title>elementReplaceExistingAttributeGeValue</title>
+<creator>NIST</creator>
+<description>
+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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--setAttributeNode-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-887236154"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="newAttribute" type="Attr"/>
+<var name="streetAttr" type="Attr"/>
+<var name="value" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="2" var="testEmployee"/>
+<createAttribute obj="doc" var="newAttribute" name="&quot;street&quot;"/>
+<setAttributeNode obj="testEmployee" var="streetAttr" newAttr="newAttribute"/>
+<value interface="Attr" obj="streetAttr" var="value"/>
+<assertEquals actual="value" expected="&quot;No&quot;" id="streetNo" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementretrieveallattributes">
+<metadata>
+<title>elementRetrieveAllAttributes</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--attributes attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-84CF096"/>
+<!-- DOM WG opinion on default attributes -->
+<subject resource="http://lists.w3.org/Archives/Public/www-dom-ts/2002Mar/0002.html"/>
+</metadata>
+<implementationAttribute name="validating" value="true"/>
+<var name="doc" type="Document"/>
+<var name="addressList" type="NodeList"/>
+<var name="testAddress" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="addressList"/>
+<item interface="NodeList" obj="addressList" index="0" var="testAddress"/>
+<attributes obj="testAddress" var="attributes"/>
+<assertSize collection="attributes" size="2" id="elementRetrieveAllAttributesAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementretrieveattrvalue">
+<metadata>
+<title>elementRetrieveAttrValue</title>
+<creator>NIST</creator>
+<description>
+ 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").
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--getAttribute-->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-666EE0F9"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testAddress" type="Element"/>
+<var name="attrValue" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="2" var="testAddress"/>
+<getAttribute obj="testAddress" var="attrValue" name="&quot;street&quot;"/>
+<assertEquals actual="attrValue" expected="&quot;No&quot;" id="attrValue" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementretrievetagname">
+<metadata>
+<title>elementRetrieveTagName</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--nodeName attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D095"/>
+<!--tagName attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-104682815"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Node"/>
+<var name="name" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;position&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="1" var="testEmployee"/>
+<nodeName obj="testEmployee" var="name"/>
+<assertEquals actual="name" expected="&quot;position&quot;" id="nodename" ignoreCase="false"/>
+<tagName obj="testEmployee" var="name"/>
+<assertEquals actual="name" expected="&quot;position&quot;" id="tagname" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementsetattributenodenomodificationallowederr">
+<metadata>
+<title>elementSetAttributeNodeNoModificationAllowedErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-887236154"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-887236154')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-887236154"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="gender" type="Node"/>
+<var name="entRef" type="Node"/>
+<var name="entElement" type="Element"/>
+<var name="newAttr" type="Attr"/>
+<var name="nodeType" type="int"/>
+<var name="badAttr" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="genderList" tagname="&quot;gender&quot;"/>
+<item interface="NodeList" obj="genderList" var="gender" index="2"/>
+<firstChild interface="Node" var="entRef" obj="gender"/>
+<assertNotNull actual="entRef" id="entRefNotNull"/>
+<nodeType var="nodeType" obj="entRef"/>
+<if><equals actual="nodeType" expected="1" ignoreCase="false"/>
+ <createEntityReference var="entRef" obj="doc" name='"ent4"'/>
+ <assertNotNull actual="entRef" id="createdEntRefNotNull"/>
+</if>
+<firstChild interface="Node" var="entElement" obj="entRef"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<createAttribute obj="doc" var="newAttr" name='"newAttr"'/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<setAttributeNode var="badAttr" obj="entElement" newAttr="newAttr"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementsetattributenodenomodificationallowederrEE">
+<metadata>
+<title>elementsetattributenodenomodificationallowederree</title>
+<creator>Curt Arnold</creator>
+<description>
+ 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.
+</description>
+<date qualifier="created">2001-08-21</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-887236154"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-887236154')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-887236154"/>
+<source resource="http://www.w3.org/2001/DOM-Test-Suite/level1/core/elementsetattributenodenomodificationallowederr.xml"/>
+</metadata>
+<implementationAttribute name="expandEntityReferences" value="false"/>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="gender" type="Node"/>
+<var name="entRef" type="EntityReference"/>
+<var name="entElement" type="Element"/>
+<var name="newAttr" type="Attr"/>
+<var name="badAttr" type="Attr"/>
+<var name="appendedChild" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="genderList" tagname="&quot;gender&quot;"/>
+<item interface="NodeList" obj="genderList" var="gender" index="2"/>
+<createEntityReference var="entRef" obj="doc" name='"ent4"'/>
+<assertNotNull actual="entRef" id="createdEntRefNotNull"/>
+<appendChild obj="gender" newChild="entRef" var="appendedChild"/>
+<firstChild interface="Node" var="entElement" obj="entRef"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<createAttribute obj="doc" var="newAttr" name='"newAttr"'/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<setAttributeNode var="badAttr" obj="entElement" newAttr="newAttr"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementsetattributenodenull">
+<metadata>
+<title>elementSetAttributeNodeNull</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-887236154"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="elementList" type="NodeList"/>
+<var name="testEmployee" type="Element"/>
+<var name="newAttribute" type="Attr"/>
+<var name="districtAttr" type="Attr"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" tagname="&quot;address&quot;" var="elementList"/>
+<item interface="NodeList" obj="elementList" index="2" var="testEmployee"/>
+<createAttribute obj="doc" var="newAttribute" name="&quot;district&quot;"/>
+<setAttributeNode obj="testEmployee" var="districtAttr" newAttr="newAttribute"/>
+<assertNull actual="districtAttr" id="elementSetAttributeNodeNullAssert"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementsetattributenomodificationallowederr">
+<metadata>
+<title>elementSetAttributeNoModificationAllowedErr</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68F082"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-F68F082')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68F082"/>
+</metadata>
+<implementationAttribute name="expandEntityReferences" value="false"/>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="gender" type="Node"/>
+<var name="entRef" type="EntityReference"/>
+<var name="entElement" type="Element"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="genderList" tagname="&quot;gender&quot;"/>
+<item interface="NodeList" obj="genderList" var="gender" index="2"/>
+<firstChild interface="Node" var="entRef" obj="gender"/>
+<assertNotNull actual="entRef" id="entRefNotNull"/>
+<firstChild interface="Node" var="entElement" obj="entRef"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<setAttribute obj="entElement" name='"newAttr"' value='"newValue"'/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementsetattributenomodificationallowederrEE">
+<metadata>
+<title>elementSetAttributeNoModificationAllowedErrEE</title>
+<creator>Curt Arnold</creator>
+<description>
+ 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.
+</description>
+<date qualifier="created">2001-08-21</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68F082"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-F68F082')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NO_MODIFICATION_ALLOWED_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68F082"/>
+<source resource="http://www.w3.org/2001/DOM-Test-Suite/level1/core/elementsetattributenomodificationallowederr.xml"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="genderList" type="NodeList"/>
+<var name="gender" type="Node"/>
+<var name="entRef" type="EntityReference"/>
+<var name="entElement" type="Element"/>
+<var name="appendedChild" type="Node"/>
+<load var="doc" href="staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="genderList" tagname="&quot;gender&quot;"/>
+<item interface="NodeList" obj="genderList" var="gender" index="2"/>
+<createEntityReference var="entRef" obj="doc" name="&quot;ent4&quot;"/>
+<appendChild obj="gender" newChild="entRef" var="appendedChild"/>
+<firstChild interface="Node" var="entElement" obj="entRef"/>
+<assertNotNull actual="entElement" id="entElementNotNull"/>
+<assertDOMException id="throw_NO_MODIFICATION_ALLOWED_ERR">
+<NO_MODIFICATION_ALLOWED_ERR>
+<setAttribute obj="entElement" name="&quot;newAttr&quot;" value="&quot;newValue&quot;"/>
+</NO_MODIFICATION_ALLOWED_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2003 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="elementwrongdocumenterr">
+<metadata>
+<title>elementWrongDocumentErr</title>
+<creator>NIST</creator>
+<description>
+
+ 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.
+
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-258A00AF')/constant[@name='WRONG_DOCUMENT_ERR'])"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-887236154"/>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#xpointer(id('ID-887236154')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='WRONG_DOCUMENT_ERR'])"/>
+<subject resource="http://www.w3.org/Bugs/Public/show_bug.cgi?id=249"/>
+</metadata>
+<var name="doc1" type="Document"/>
+<var name="doc2" type="Document"/>
+<var name="newAttribute" type="Attr"/>
+<var name="addressElementList" type="NodeList"/>
+<var name="testAddress" type="Element"/>
+<var name="attrAddress" type="Attr"/>
+<load var="doc1" href="staff" willBeModified="true"/>
+<load var="doc2" href="staff" willBeModified="false"/>
+<createAttribute obj="doc2" var="newAttribute" name="&quot;newAttribute&quot;"/>
+<getElementsByTagName interface="Document" obj="doc1" tagname="&quot;address&quot;" var="addressElementList"/>
+<item interface="NodeList" obj="addressElementList" index="4" var="testAddress"/>
+<assertDOMException id="throw_WRONG_DOCUMENT_ERR">
+<WRONG_DOCUMENT_ERR>
+<setAttributeNode obj="testAddress" newAttr="newAttribute" var="attrAddress"/>
+</WRONG_DOCUMENT_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="entitygetentityname">
+<metadata>
+<title>entityGetEntityName</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!--Entity interface -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-527DCFF2"/>
+<!--nodeName attribute -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D095"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<var name="entityList" type="NamedNodeMap"/>
+<var name="entityNode" type="Entity"/>
+<var name="entityName" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNotNull actual="docType" id="docTypeNotNull"/>
+<entities obj="docType" var="entityList"/>
+<assertNotNull actual="entityList" id="entitiesNotNull"/>
+<getNamedItem obj="entityList" var="entityNode" name="&quot;ent1&quot;"/>
+<nodeName obj="entityNode" var="entityName"/>
+<assertEquals actual="entityName" expected="&quot;ent1&quot;" id="entityGetEntityNameAssert" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="entitygetpublicid">
+<metadata>
+<title>entityGetPublicId</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<!-- Entity.publicId -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D7303025"/>
+<!-- Entity.notationName -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-6ABAEB38"/>
+<!-- Entity.systemId -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D7C29F3E"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<var name="entityList" type="NamedNodeMap"/>
+<var name="entityNode" type="Entity"/>
+<var name="publicId" type="DOMString"/>
+<var name="systemId" type="DOMString"/>
+<var name="notation" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNotNull actual="docType" id="docTypeNotNull"/>
+<entities obj="docType" var="entityList"/>
+<assertNotNull actual="entityList" id="entitiesNotNull"/>
+<getNamedItem obj="entityList" var="entityNode" name='"ent5"'/>
+<publicId interface="Entity" obj="entityNode" var="publicId"/>
+<assertEquals actual="publicId" expected='"entityURI"' id="publicId" ignoreCase="false"/>
+<systemId interface="Entity" obj="entityNode" var="systemId"/>
+<assertURIEquals actual="systemId" file='"entityFile"' id="systemId"/>
+<notationName interface="Entity" obj="entityNode" var="notation"/>
+<assertEquals actual="notation" expected='"notation1"' id="notation" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="entitygetpublicidnull">
+<metadata>
+<title>entityGetPublicIdNull</title>
+<creator>NIST</creator>
+<description>
+ 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.
+</description>
+<contributor>Mary Brady</contributor>
+<date qualifier="created">2001-08-17</date>
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-D7303025"/>
+</metadata>
+<var name="doc" type="Document"/>
+<var name="docType" type="DocumentType"/>
+<var name="entityList" type="NamedNodeMap"/>
+<var name="entityNode" type="Entity"/>
+<var name="publicId" type="DOMString"/>
+<load var="doc" href="staff" willBeModified="false"/>
+<doctype obj="doc" var="docType"/>
+<assertNotNull actual="docType" id="docTypeNotNull"/>
+<entities obj="docType" var="entityList"/>
+<assertNotNull actual="entityList" id="entitiesNotNull"/>
+<getNamedItem obj="entityList" var="entityNode" name='"ent1"'/>
+<publicId interface="Entity" obj="entityNode" var="publicId"/>
+<assertNull actual="publicId" id="entityGetPublicIdNullAssert"/>
+</test>
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
--- /dev/null
+++ b/test/testcases/tests/level1/core/files/.cvsignore
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
--- /dev/null
+++ b/test/testcases/tests/level1/core/files/CVS/Template
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 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>hc_nodtdstaff</title></head><body onload="parent.loadComplete()">
+ <p>
+ <em>EMP0001</em>
+ <strong>Margaret Martin</strong>
+ <code>Accountant</code>
+ <sup>56,000</sup>
+ <var>Female</var>
+ <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
+ </p>
+</body></html>
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 @@
+<svg xmlns='http://www.w3.org/2000/svg'><rect x="0" y="0" width="100" height="100"/><head xmlns='http://www.w3.org/1999/xhtml'><title>hc_nodtdstaff</title></head><body xmlns='http://www.w3.org/1999/xhtml'>
+ <p>
+ <em>EMP0001</em>
+ <strong>Margaret Martin</strong>
+ <code>Accountant</code>
+ <sup>56,000</sup>
+ <var>Female</var>
+ <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
+ </p>
+</body></svg>
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 @@
+<html xmlns="http://www.w3.org/1999/xhtml"><head><title>hc_nodtdstaff</title></head><body onload="parent.loadComplete()">
+ <p>
+ <em>EMP0001</em>
+ <strong>Margaret Martin</strong>
+ <code>Accountant</code>
+ <sup>56,000</sup>
+ <var>Female</var>
+ <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
+ </p>
+</body></html>
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 @@
+<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_nodtdstaff</title></head><body onload="parent.loadComplete()">
+ <p>
+ <em>EMP0001</em>
+ <strong>Margaret Martin</strong>
+ <code>Accountant</code>
+ <sup>56,000</sup>
+ <var>Female</var>
+ <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
+ </p>
+</body></html>
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 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd" >
+<!-- This is comment number 1.-->
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>hc_staff</title><script type="text/javascript" src="svgunit.js"></script><script charset="UTF-8" type="text/javascript" src="svgtest.js"></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="parent.loadComplete()">
+ <p>
+ <em>EMP0001</em>
+ <strong>Margaret Martin</strong>
+ <code>Accountant</code>
+ <sup>56,000</sup>
+ <var>Female</var>
+ <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
+ </p>
+ <p>
+ <em>EMP0002</em>
+ <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
+This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
+ <code>Secretary</code>
+ <sup>35,000</sup>
+ <var>Female</var>
+ <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
+ 98554</acronym>
+ </p>
+ <p>
+ <em>EMP0003</em>
+ <strong>Roger
+ Jones</strong>
+ <code>Department Manager</code>
+ <sup>100,000</sup>
+ <var>&delta;</var>
+ <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
+ </p>
+ <p>
+ <em>EMP0004</em>
+ <strong>Jeny Oconnor</strong>
+ <code>Personnel Director</code>
+ <sup>95,000</sup>
+ <var>Female</var>
+ <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
+ </p>
+ <p>
+ <em>EMP0005</em>
+ <strong>Robert Myers</strong>
+ <code>Computer Specialist</code>
+ <sup>90,000</sup>
+ <var>male</var>
+ <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
+ </p>
+</body></html>
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 @@
+<?xml version="1.0"?><?TEST-STYLE PIDATA?>
+<!DOCTYPE svg
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "xhtml1-strict.dtd" [
+ <!ENTITY alpha "&#945;">
+ <!ENTITY beta "&#946;">
+ <!ENTITY gamma "&#947;">
+ <!ENTITY delta "&#948;">
+ <!ENTITY epsilon "&#949;">
+ <!ENTITY alpha "&#950;">
+ <!NOTATION notation1 PUBLIC "notation1File">
+ <!NOTATION notation2 SYSTEM "notation2File">
+ <!ATTLIST acronym dir CDATA "ltr">
+ <!ATTLIST head xmlns CDATA #IMPLIED>
+ <!ATTLIST body xmlns CDATA #IMPLIED>
+ <!ELEMENT svg (rect, script, head, body)>
+ <!ATTLIST svg xmlns CDATA #IMPLIED>
+ <!ELEMENT rect EMPTY>
+ <!ATTLIST rect
+ x CDATA #IMPLIED
+ y CDATA #IMPLIED
+ width CDATA #IMPLIED
+ height CDATA #IMPLIED>
+ <!ENTITY svgunit SYSTEM "svgunit.js">
+ <!ENTITY svgtest SYSTEM "svgtest.js">
+]>
+<!-- This is comment number 1.-->
+<svg xmlns='http://www.w3.org/2000/svg'><rect x="0" y="0" width="100" height="100"/><script type="text/ecmascript">&svgtest;&svgunit;</script><head xmlns='http://www.w3.org/1999/xhtml'><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title></head><body xmlns='http://www.w3.org/1999/xhtml'>
+ <p>
+ <em>EMP0001</em>
+ <strong>Margaret Martin</strong>
+ <code>Accountant</code>
+ <sup>56,000</sup>
+ <var>Female</var>
+ <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
+ </p>
+ <p>
+ <em>EMP0002</em>
+ <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
+This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
+ <code>Secretary</code>
+ <sup>35,000</sup>
+ <var>Female</var>
+ <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
+ 98554</acronym>
+ </p>
+ <p>
+ <em>EMP0003</em>
+ <strong>Roger
+ Jones</strong>
+ <code>Department Manager</code>
+ <sup>100,000</sup>
+ <var>&delta;</var>
+ <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
+ </p>
+ <p>
+ <em>EMP0004</em>
+ <strong>Jeny Oconnor</strong>
+ <code>Personnel Director</code>
+ <sup>95,000</sup>
+ <var>Female</var>
+ <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
+ </p>
+ <p>
+ <em>EMP0005</em>
+ <strong>Robert Myers</strong>
+ <code>Computer Specialist</code>
+ <sup>90,000</sup>
+ <var>male</var>
+ <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
+ </p>
+</body></svg>
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 @@
+<?xml version="1.0"?><?TEST-STYLE PIDATA?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "xhtml1-strict.dtd" [
+ <!ENTITY alpha "&#945;">
+ <!ENTITY beta "&#946;">
+ <!ENTITY gamma "&#947;">
+ <!ENTITY delta "&#948;">
+ <!ENTITY epsilon "&#949;">
+ <!ENTITY alpha "&#950;">
+ <!NOTATION notation1 PUBLIC "notation1File">
+ <!NOTATION notation2 SYSTEM "notation2File">
+ <!ATTLIST acronym dir CDATA "ltr">
+]>
+<!-- This is comment number 1.-->
+<html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="svgunit.js"/><script charset="UTF-8" type="text/javascript" src="svgtest.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="parent.loadComplete()">
+ <p>
+ <em>EMP0001</em>
+ <strong>Margaret Martin</strong>
+ <code>Accountant</code>
+ <sup>56,000</sup>
+ <var>Female</var>
+ <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
+ </p>
+ <p>
+ <em>EMP0002</em>
+ <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
+This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
+ <code>Secretary</code>
+ <sup>35,000</sup>
+ <var>Female</var>
+ <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
+ 98554</acronym>
+ </p>
+ <p>
+ <em>EMP0003</em>
+ <strong>Roger
+ Jones</strong>
+ <code>Department Manager</code>
+ <sup>100,000</sup>
+ <var>&delta;</var>
+ <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
+ </p>
+ <p>
+ <em>EMP0004</em>
+ <strong>Jeny Oconnor</strong>
+ <code>Personnel Director</code>
+ <sup>95,000</sup>
+ <var>Female</var>
+ <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
+ </p>
+ <p>
+ <em>EMP0005</em>
+ <strong>Robert Myers</strong>
+ <code>Computer Specialist</code>
+ <sup>90,000</sup>
+ <var>male</var>
+ <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
+ </p>
+</body></html>
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 @@
+<?xml version="1.0"?><?TEST-STYLE PIDATA?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "xhtml1-strict.dtd" [
+ <!ENTITY alpha "&#945;">
+ <!ENTITY beta "&#946;">
+ <!ENTITY gamma "&#947;">
+ <!ENTITY delta "&#948;">
+ <!ENTITY epsilon "&#949;">
+ <!ENTITY alpha "&#950;">
+ <!NOTATION notation1 PUBLIC "notation1File">
+ <!NOTATION notation2 SYSTEM "notation2File">
+ <!ATTLIST acronym dir CDATA "ltr">
+]>
+<!-- This is comment number 1.-->
+<html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>hc_staff</title><script type="text/javascript" src="svgunit.js"/><script charset="UTF-8" type="text/javascript" src="svgtest.js"/><script type='text/javascript'>function loadComplete() { startTest(); }</script></head><body onload="parent.loadComplete()">
+ <p>
+ <em>EMP0001</em>
+ <strong>Margaret Martin</strong>
+ <code>Accountant</code>
+ <sup>56,000</sup>
+ <var>Female</var>
+ <acronym title="Yes">1230 North Ave. Dallas, Texas 98551</acronym>
+ </p>
+ <p>
+ <em>EMP0002</em>
+ <strong>Martha RaynoldsThis is a CDATASection with EntityReference number 2 &amp;ent2;
+This is an adjacent CDATASection with a reference to a tab &amp;tab;</strong>
+ <code>Secretary</code>
+ <sup>35,000</sup>
+ <var>Female</var>
+ <acronym title="Yes" class="Yes">&beta; Dallas, &gamma;
+ 98554</acronym>
+ </p>
+ <p>
+ <em>EMP0003</em>
+ <strong>Roger
+ Jones</strong>
+ <code>Department Manager</code>
+ <sup>100,000</sup>
+ <var>&delta;</var>
+ <acronym title="Yes" class="No">PO Box 27 Irving, texas 98553</acronym>
+ </p>
+ <p>
+ <em>EMP0004</em>
+ <strong>Jeny Oconnor</strong>
+ <code>Personnel Director</code>
+ <sup>95,000</sup>
+ <var>Female</var>
+ <acronym title="Yes" class="Y&alpha;">27 South Road. Dallas, Texas 98556</acronym>
+ </p>
+ <p>
+ <em>EMP0005</em>
+ <strong>Robert Myers</strong>
+ <code>Computer Specialist</code>
+ <sup>90,000</sup>
+ <var>male</var>
+ <acronym title="Yes">1821 Nordic. Road, Irving Texas 98558</acronym>
+ </p>
+</body></html>
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 @@
+<!ELEMENT employeeId (#PCDATA)>
+<!ELEMENT name (#PCDATA)>
+<!ELEMENT position (#PCDATA)>
+<!ELEMENT salary (#PCDATA)>
+<!ELEMENT address (#PCDATA)>
+<!ELEMENT entElement ( #PCDATA ) >
+<!ELEMENT gender ( #PCDATA | entElement )* >
+<!ELEMENT employee (employeeId, name, position, salary, gender, address) >
+<!ELEMENT staff (employee)+>
+<!ATTLIST entElement
+ attr1 CDATA "Attr">
+<!ATTLIST address
+ domestic CDATA #IMPLIED
+ street CDATA "Yes">
+<!ATTLIST entElement
+ domestic CDATA "MALE" >
+
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 @@
+<?xml version="1.0"?><?TEST-STYLE PIDATA?>
+<!DOCTYPE svg SYSTEM "staff.dtd" [
+ <!ENTITY ent1 "es">
+ <!ENTITY ent2 "1900 Dallas Road">
+ <!ENTITY ent3 "Texas">
+ <!ENTITY ent4 "<entElement domestic='Yes'>Element data</entElement><?PItarget PIdata?>">
+ <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1>
+ <!ENTITY ent1 "This entity should be discarded">
+ <!NOTATION notation1 PUBLIC "notation1File">
+ <!NOTATION notation2 SYSTEM "notation2File">
+ <!ATTLIST employee xmlns CDATA #IMPLIED>
+ <!ELEMENT svg (rect, script, employee+)>
+ <!ATTLIST svg
+ xmlns CDATA #FIXED "http://www.w3.org/2000/svg"
+ name CDATA #IMPLIED>
+ <!ELEMENT rect EMPTY>
+ <!ATTLIST rect
+ x CDATA #REQUIRED
+ y CDATA #REQUIRED
+ width CDATA #REQUIRED
+ height CDATA #REQUIRED>
+ <!ELEMENT script (#PCDATA)>
+ <!ATTLIST script type CDATA #IMPLIED>
+ <!ENTITY svgunit SYSTEM "svgunit.js">
+ <!ENTITY svgtest SYSTEM "svgtest.js">
+]>
+<!-- This is comment number 1.-->
+<svg xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100"/><script type="text/ecmascript">&svgunit;&svgtest;</script>
+ <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files">
+ <employeeId>EMP0001</employeeId>
+ <name>Margaret Martin</name>
+ <position>Accountant</position>
+ <salary>56,000</salary>
+ <gender>Female</gender>
+ <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address>
+ </employee>
+ <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files">
+ <employeeId>EMP0002</employeeId>
+ <name>Martha Raynolds<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
+<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></name>
+ <position>Secretary</position>
+ <salary>35,000</salary>
+ <gender>Female</gender>
+ <address domestic="Yes" street="Yes">&ent2; Dallas, &ent3;
+ 98554</address>
+ </employee>
+ <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files">
+ <employeeId>EMP0003</employeeId>
+ <name>Roger
+ Jones</name>
+ <position>Department Manager</position>
+ <salary>100,000</salary>
+ <gender>&ent4;</gender>
+ <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address>
+ </employee>
+ <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files">
+ <employeeId>EMP0004</employeeId>
+ <name>Jeny Oconnor</name>
+ <position>Personnel Director</position>
+ <salary>95,000</salary>
+ <gender>Female</gender>
+ <address domestic="Yes" street="Y&ent1;">27 South Road. Dallas, Texas 98556</address>
+ </employee>
+ <employee xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1/Files">
+ <employeeId>EMP0005</employeeId>
+ <name>Robert Myers</name>
+ <position>Computer Specialist</position>
+ <salary>90,000</salary>
+ <gender>male</gender>
+ <address street="Yes">1821 Nordic. Road, Irving Texas 98558</address>
+ </employee>
+ </svg>
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 @@
+<?xml version="1.0"?><?TEST-STYLE PIDATA?>
+<!DOCTYPE staff SYSTEM "staff.dtd" [
+ <!ENTITY ent1 "es">
+ <!ENTITY ent2 "1900 Dallas Road">
+ <!ENTITY ent3 "Texas">
+ <!ENTITY ent4 "<entElement domestic='Yes'>Element data</entElement><?PItarget PIdata?>">
+ <!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1>
+ <!ENTITY ent1 "This entity should be discarded">
+ <!NOTATION notation1 PUBLIC "notation1File">
+ <!NOTATION notation2 SYSTEM "notation2File">
+]>
+<!-- This is comment number 1.-->
+<staff>
+ <employee>
+ <employeeId>EMP0001</employeeId>
+ <name>Margaret Martin</name>
+ <position>Accountant</position>
+ <salary>56,000</salary>
+ <gender>Female</gender>
+ <address domestic="Yes">1230 North Ave. Dallas, Texas 98551</address>
+ </employee>
+ <employee>
+ <employeeId>EMP0002</employeeId>
+ <name>Martha Raynolds<![CDATA[This is a CDATASection with EntityReference number 2 &ent2;]]>
+<![CDATA[This is an adjacent CDATASection with a reference to a tab &tab;]]></name>
+ <position>Secretary</position>
+ <salary>35,000</salary>
+ <gender>Female</gender>
+ <address domestic="Yes" street="Yes">&ent2; Dallas, &ent3;
+ 98554</address>
+ </employee>
+ <employee>
+ <employeeId>EMP0003</employeeId>
+ <name>Roger
+ Jones</name>
+ <position>Department Manager</position>
+ <salary>100,000</salary>
+ <gender>&ent4;</gender>
+ <address domestic="Yes" street="No">PO Box 27 Irving, texas 98553</address>
+ </employee>
+ <employee>
+ <employeeId>EMP0004</employeeId>
+ <name>Jeny Oconnor</name>
+ <position>Personnel Director</position>
+ <salary>95,000</salary>
+ <gender>Female</gender>
+ <address domestic="Yes" street="Y&ent1;">27 South Road. Dallas, Texas 98556</address>
+ </employee>
+ <employee>
+ <employeeId>EMP0005</employeeId>
+ <name>Robert Myers</name>
+ <position>Computer Specialist</position>
+ <salary>90,000</salary>
+ <gender>male</gender>
+ <address street="Yes">1821 Nordic. Road, Irving Texas 98558</address>
+ </employee>
+ </staff>
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
--- /dev/null
+++ b/test/testcases/tests/level1/core/files/svgtest.js
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
--- /dev/null
+++ b/test/testcases/tests/level1/core/files/svgunit.js
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 @@
+<!--
+
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+
+-->
+
+<!--
+
+This is a radically simplified DTD for use in the DOM Test Suites
+due to a XML non-conformance of one implementation in processing
+parameter entities. When that non-conformance is resolved,
+this DTD can be replaced by the normal DTD for XHTML.
+
+-->
+
+
+<!ELEMENT html (head, body)>
+<!ATTLIST html xmlns CDATA #IMPLIED>
+<!ELEMENT head (meta,title,script*)>
+<!ELEMENT meta EMPTY>
+<!ATTLIST meta
+ http-equiv CDATA #IMPLIED
+ content CDATA #IMPLIED>
+<!ELEMENT title (#PCDATA)>
+<!ELEMENT body (p*)>
+<!ATTLIST body onload CDATA #IMPLIED>
+<!ELEMENT p (#PCDATA|em|strong|code|sup|var|acronym|abbr)*>
+<!ATTLIST p
+ xmlns:dmstc CDATA #IMPLIED
+ xmlns:nm CDATA #IMPLIED
+ xmlns:emp2 CDATA #IMPLIED
+ id ID #IMPLIED
+>
+<!ELEMENT em (#PCDATA)>
+<!ELEMENT span (#PCDATA)>
+<!ELEMENT strong (#PCDATA)>
+<!ELEMENT code (#PCDATA)>
+<!ELEMENT sup (#PCDATA)>
+<!ELEMENT var (#PCDATA|span)*>
+<!ELEMENT acronym (#PCDATA)>
+<!ATTLIST acronym
+ title CDATA #IMPLIED
+ class CDATA #IMPLIED
+ id ID #IMPLIED
+>
+<!ELEMENT abbr (#PCDATA)>
+<!ATTLIST abbr
+ title CDATA #IMPLIED
+ class CDATA #IMPLIED
+ id ID #IMPLIED
+>
+<!ELEMENT script (#PCDATA)>
+<!ATTLIST script
+ type CDATA #IMPLIED
+ src CDATA #IMPLIED
+ charset CDATA #IMPLIED>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="hc_attrappendchild1">
+<metadata>
+<title>hc_attrappendchild1</title>
+<creator>Curt Arnold</creator>
+<description>
+Appends a text node to an attribute and checks if the value of
+the attribute is changed.
+</description>
+
+<date qualifier="created">2004-01-01</date>
+<!-- Attr interface -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-637646024"/>
+<!-- Node.appendChild -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-184E7107"/>
+</metadata>
+
+<var name="doc" type="Document"/>
+<var name="acronymList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="titleAttr" type="Attr"/>
+<var name="value" type="DOMString"/>
+<var name="textNode" type="Text"/>
+<var name="retval" type="Node"/>
+<var name="lastChild" type="Node"/>
+<load var="doc" href="hc_staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="acronymList" tagname='"acronym"'/>
+<item interface="NodeList" obj="acronymList" var="testNode" index="3"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="titleAttr" name='"title"'/>
+<createTextNode var="textNode" obj="doc" data='"terday"'/>
+<appendChild var="retval" obj="titleAttr" newChild="textNode"/>
+
+<!-- check that Attr.value gives expected result -->
+<value interface="Attr" obj="titleAttr" var="value"/>
+<assertEquals actual="value" expected='"Yesterday"' id="attrValue" ignoreCase="false"/>
+
+<!-- check that Node.value gives expected result -->
+<nodeValue obj="titleAttr" var="value"/>
+<assertEquals actual="value" expected='"Yesterday"' id="attrNodeValue" ignoreCase="false"/>
+
+<!-- check that retval is the appended node -->
+<nodeValue obj="retval" var="value"/>
+<assertEquals actual="value" expected='"terday"' id="retvalValue" ignoreCase="false"/>
+
+<!-- check that lastChild is the appended node -->
+<lastChild var="lastChild" obj="titleAttr" interface="Node"/>
+<nodeValue obj="lastChild" var="value"/>
+<assertEquals actual="value" expected='"terday"' id="lastChildValue" ignoreCase="false"/>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="hc_attrappendchild2">
+<metadata>
+<title>hc_attrappendchild2</title>
+<creator>Curt Arnold</creator>
+<description>
+Attempts to append an element to the child nodes of an attribute.
+</description>
+
+<date qualifier="created">2004-01-01</date>
+<!-- Attr interface -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-637646024"/>
+<!-- Node.appendChild -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-184E7107"/>
+</metadata>
+
+<var name="doc" type="Document"/>
+<var name="acronymList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="titleAttr" type="Attr"/>
+<var name="value" type="DOMString"/>
+<var name="newChild" type="Node"/>
+<var name="retval" type="Node"/>
+<var name="lastChild" type="Node"/>
+<load var="doc" href="hc_staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="acronymList" tagname='"acronym"'/>
+<item interface="NodeList" obj="acronymList" var="testNode" index="3"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="titleAttr" name='"title"'/>
+<createElement var="newChild" obj="doc" tagName='"terday"'/>
+<assertDOMException id="throw_HIERARCHY_REQUEST_ERR">
+ <HIERARCHY_REQUEST_ERR>
+ <appendChild var="retval" obj="titleAttr" newChild="newChild"/>
+ </HIERARCHY_REQUEST_ERR>
+</assertDOMException>
+</test>
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright (c) 2001-2004 World Wide Web Consortium,
+(Massachusetts Institute of Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All
+Rights Reserved. This program is distributed under the W3C's Software
+Intellectual Property License. This program is distributed in the
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+See W3C License http://www.w3.org/Consortium/Legal/ for more details.
+--><!DOCTYPE test SYSTEM "dom1.dtd">
+
+<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="hc_attrappendchild3">
+<metadata>
+<title>hc_attrappendchild3</title>
+<creator>Curt Arnold</creator>
+<description>
+Appends a document fragment to an attribute and checks if the value of
+the attribute is changed.
+</description>
+
+<date qualifier="created">2004-01-01</date>
+<!-- Attr interface -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-637646024"/>
+<!-- Node.appendChild -->
+<subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-184E7107"/>
+</metadata>
+
+<var name="doc" type="Document"/>
+<var name="acronymList" type="NodeList"/>
+<var name="testNode" type="Node"/>
+<var name="attributes" type="NamedNodeMap"/>
+<var name="titleAttr" type="Attr"/>
+<var name="value" type="DOMString"/>
+<var name="terNode" type="Text"/>
+<var name="dayNode" type="Text"/>
+<var name="retval" type="Node"/>
+<var name="lastChild" type="Node"/>
+<var name="docFrag" type="DocumentFragment"/>
+
+<load var="doc" href="hc_staff" willBeModified="true"/>
+<getElementsByTagName interface="Document" obj="doc" var="acronymList" tagname='"acronym"'/>
+<item interface="NodeList" obj="acronymList" var="testNode" index="3"/>
+<attributes obj="testNode" var="attributes"/>
+<getNamedItem obj="attributes" var="titleAttr" name='"title"'/>
+
+<createTextNode var="terNode" obj="doc" data='"ter"'/>
+<createTextNode var="dayNode" obj="doc" data='"day"'/>
+<createDocumentFragment var="docFrag" obj="doc"/>
+<appendChild var="retval" obj="docFrag" newChild="terNode"/>
+<appendChild var="retval" obj="docFrag" newChild="dayNode"/>
+
+<appendChild var="retval" obj="titleAttr" newChild="docFrag"/>
+
+<!-- check that Attr.value gives expected result -->
+<value interface="Attr" obj="titleAttr" var="value"/>
+<assertEquals actual="value" expected='"Yesterday"' id="attrValue" ignoreCase="false"/>
+
+<!-- check that Node.value gives expected result -->
+<nodeValue obj="titleAttr" var="value"/>
+<assertEquals actual="value" expected='"Yesterday"' id="attrNodeValue" ignoreCase="false"/>
+