From 8f547c7bd349e0dc905e0dc5f32edbf1e01061ce Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 30 Jul 2009 11:06:01 +0000 Subject: Merge DOMTS tests -- they're causing havoc with review diffs. svn path=/trunk/dom/; revision=8910 --- .../tests/level3/core/nodereplacechild21.xml | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 test/testcases/tests/level3/core/nodereplacechild21.xml (limited to 'test/testcases/tests/level3/core/nodereplacechild21.xml') diff --git a/test/testcases/tests/level3/core/nodereplacechild21.xml b/test/testcases/tests/level3/core/nodereplacechild21.xml new file mode 100644 index 0000000..eee19e3 --- /dev/null +++ b/test/testcases/tests/level3/core/nodereplacechild21.xml @@ -0,0 +1,64 @@ + + + + + + + +nodereplacechild21 +IBM + + The method replaceChild replaces the child node oldChild with newChild in the list of + children, and returns the oldChild node. + + Using replaceChild on this DocumentType node attempt to replace an Entity node with + a notation node of retieved from the DTD of another document and verify if a + NO_MODIFICATION_ALLOWED_ERR is thrown since DocumentType node is read-only. + Also try replacing the docType with an entity node and see if the same exception gets thrown. + +Neil Delima +2002-06-10 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3