html.addAttribute(new Attribute("pre:test",
"http://www.examnple.org/", "value"));
assertEquals(2, html.getNamespaceDeclarationCount());
html.addNamespaceDeclaration("rddl", "http://www.rddl.org");
assertEquals(3, html.getNamespaceDeclarationCount());
html.addNamespaceDeclaration("xlink",
"http://www.w3.org/2001/xlink");
assertEquals(4, html.getNamespaceDeclarationCount());
html.addAttribute(new Attribute("xml:space",
"http://www.w3.org/XML/1998/namespace", "default"));
assertEquals(4, html.getNamespaceDeclarationCount());