- From: Curt Arnold <carnold@houston.rr.com>
- Date: Wed, 14 Nov 2001 03:28:08 -0600
- To: <www-dom-ts@w3.org>
elementreplaceattributewithself: Calls Element.setAttributeNode() with an attribute currently attached to this element. The spec says that an IN_USE_EXCEPTION should be thrown if the attribute is attached to another element, but does not mention throwing that exception if the attribute is attached to this element. Fails in both configurations. MSXML also fails this test. *EE tests and documentcreateentityreferenceknown: These are variants of similar named tests that createEntityReference's instead of accessing them from the tree so that the same underlying behavior (primarily NO_MODIFICATION exceptions) can be tested when entity references are expanded. All these tests pass when entity references are preserved, but fail when entity refereneces are expanded since Xerces does not populate the entity reference with the entity content as it should. Xerces-J 1.4.3 isCoalescing() == false isExpandEntityReferences() == false isIgnoringComments() == false isIgnoringElementContentWhitespace() == false isNamespaceAware() == false isValidating() == false ......................................... ......................................... ..................................E....... ......................................... ......................................... ......................................... ......................................... ... Time: 4.446 There was 1 error: 1) http://www.w3.org/2001/DOM-Test-Suite/level1/core/elementreplaceattributewit hself(org.w3c.domts.JUnitTestCaseAdapter) org.w3c.dom.DOMException: DOM009 Attribute already in use at org.apache.xerces.dom.AttributeMap.setNamedItem(AttributeMap.java:126) at org.apache.xerces.dom.ElementImpl.setAttributeNode(ElementImpl.java:504) at org.w3c.domts.level1.core.elementreplaceattributewithself.runTest(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) FAILURES!!! Tests run: 290, Failures: 0, Errors: 1 isCoalescing() == false isExpandEntityReferences() == true isIgnoringComments() == false isIgnoringElementContentWhitespace() == true isNamespaceAware() == true isValidating() == true .............E.........E.......E............ ......E.........E.............F............. ..............................E..E..E....... ...E...................................... ......................................... ......................................... ............E.............E......E.......... ... Time: 2.884 There were 12 errors: 1) http://www.w3.org/2001/DOM-Test-Suite/level1/core/attrsetvaluenomodification allowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.NullPointerException at org.w3c.domts.level1.core.attrsetvaluenomodificationallowederrEE.runTest(Unk nown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 2) http://www.w3.org/2001/DOM-Test-Suite/level1/core/characterdataappenddatanom odificationallowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.NullPointerException at org.w3c.domts.level1.core.characterdataappenddatanomodificationallowederrEE. runTest(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 3) http://www.w3.org/2001/DOM-Test-Suite/level1/core/characterdatadeletedatanom odificationallowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.NullPointerException at org.w3c.domts.level1.core.characterdatadeletedatanomodificationallowederrEE. runTest(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 4) http://www.w3.org/2001/DOM-Test-Suite/level1/core/characterdatainsertdatanom odificationallowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.NullPointerException at org.w3c.domts.level1.core.characterdatainsertdatanomodificationallowederrEE. runTest(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 5) http://www.w3.org/2001/DOM-Test-Suite/level1/core/characterdatasetdatanomodi ficationallowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.NullPointerException at org.w3c.domts.level1.core.characterdatasetdatanomodificationallowederrEE.run Test(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 6) http://www.w3.org/2001/DOM-Test-Suite/level1/core/elementremoveattributenode nomodificationallowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.NullPointerException at org.w3c.domts.level1.core.elementremoveattributenodenomodificationallowederr EE.runTest(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 7) http://www.w3.org/2001/DOM-Test-Suite/level1/core/elementremoveattributenomo dificationallowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.NullPointerException at org.w3c.domts.level1.core.elementremoveattributenomodificationallowederrEE.r unTest(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 8) http://www.w3.org/2001/DOM-Test-Suite/level1/core/elementreplaceattributewit hself(org.w3c.domts.JUnitTestCaseAdapter) org.w3c.dom.DOMException: DOM009 Attribute already in use at org.apache.xerces.dom.AttributeMap.setNamedItem(AttributeMap.java:126) at org.apache.xerces.dom.ElementImpl.setAttributeNode(ElementImpl.java:504) at org.w3c.domts.level1.core.elementreplaceattributewithself.runTest(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 9) http://www.w3.org/2001/DOM-Test-Suite/level1/core/elementsetattributenomodif icationallowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.NullPointerException at org.w3c.domts.level1.core.elementsetattributenomodificationallowederrEE.runT est(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 10) http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodesetnodevaluenomodifica tionallowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.NullPointerException at org.w3c.domts.level1.core.nodesetnodevaluenomodificationallowederrEE.runTest (Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 11) http://www.w3.org/2001/DOM-Test-Suite/level1/core/processinginstructionsetda tanomodificationallowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.ClassCastException: org.apache.xerces.dom.DeferredTextImpl at org.w3c.domts.level1.core.processinginstructionsetdatanomodificationallowede rrEE.runTest(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) 12) http://www.w3.org/2001/DOM-Test-Suite/level1/core/textsplittextnomodificatio nallowederrEE(org.w3c.domts.JUnitTestCaseAdapter) java.lang.NullPointerException at org.w3c.domts.level1.core.textsplittextnomodificationallowederrEE.runTest(Un known Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) There was 1 failure: 1) http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentcreateentityrefere nceknown(org.w3c.domts.JUnitTestCaseAdapter)junit.framework.AssertionFailedE rror: size expected:<1> but was:<0> at org.w3c.domts.JUnitTestCaseAdapter.assertSize(Unknown Source) at org.w3c.domts.DOMTestCase.assertSize(Unknown Source) at org.w3c.domts.level1.core.documentcreateentityreferenceknown.runTest(Unknown Source) at org.w3c.domts.JUnitTestCaseAdapter.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.runTest(Unknown Source) at org.w3c.domts.JUnitRunner.execute(Unknown Source) at org.w3c.domts.DOMTestCase.doMain(Unknown Source) at org.w3c.domts.level1.core.alltests.main(Unknown Source) FAILURES!!! Tests run: 290, Failures: 1, Errors: 12
Received on Wednesday, 14 November 2001 04:28:54 UTC