public void test_NS_clone()
        {
            XMLNamespaces ns = new XMLNamespaces();

            ns.add("http://test1.org/", "test1");
            assertTrue(ns.getLength() == 1);
            assertTrue(ns.isEmpty() == false);
            assertTrue(ns.getPrefix(0) == "test1");
            assertTrue(ns.getURI("test1") == "http://test1.org/");
            XMLNamespaces ns2 = (XMLNamespaces)ns.clone();

            assertTrue(ns2.getLength() == 1);
            assertTrue(ns2.isEmpty() == false);
            assertTrue(ns2.getPrefix(0) == "test1");
            assertTrue(ns2.getURI("test1") == "http://test1.org/");
            ns2 = null;
            ns  = null;
        }