amassari 2004/03/02 05:53:50 Modified: c/tests/DOM/DOMTest DTest.cpp Log: Added test for bug# 26919 Revision Changes Path 1.40 +6 -0 xml-xerces/c/tests/DOM/DOMTest/DTest.cpp Index: DTest.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/DOM/DOMTest/DTest.cpp,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- DTest.cpp 5 Feb 2003 18:55:19 -0000 1.39 +++ DTest.cpp 2 Mar 2004 13:53:50 -0000 1.40 @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.40 2004/03/02 13:53:50 amassari + * Added test for bug# 26919 + * * Revision 1.39 2003/02/05 18:55:19 tng * [Bug 11915] Utility for freeing memory. * @@ -755,6 +758,9 @@ XMLString::transcode("newNameForEle", tempStr4, 3999); DOMElement *ele = doc->createElementNS(tempStr3, tempStr4); docFirstElement->insertBefore(ele, docFirstElement->getFirstChild()); + + // test for bug# 26919 + docFirstElement->insertBefore(docFirstElement->getFirstChild(), docFirstElement->getFirstChild()); //a test for lookup when xmlns is not set so we take the fact that there is no prefix to be confimation LOOKUPDEFAULTNSTEST(ele, tempStr3, true, __LINE__);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]