new Class[]{String.class, String.class},
new Object[]{null, "xmlns"},
DOMException.NAMESPACE_ERR));
//xmlns:a must have namespaceURI == "http://www.w3.org/2000/xmlns/"
Assertion.equals(doc.createAttributeNS(xmlnsURI, "xmlns:a").getNamespaceURI(), xmlnsURI);
Assertion.verify(DOMExceptionsTest(doc, "createAttributeNS",
new Class[]{String.class, String.class},
new Object[]{"http://nsa", "xmlns:a"},
DOMException.NAMESPACE_ERR));
Assertion.verify(DOMExceptionsTest(doc, "createAttributeNS",