protected void runTest() throws Throwable {
OMFactory factory = metaFactory.getOMFactory();
// Use same namespace URI but different prefixes
OMNamespace ns1 = factory.createOMNamespace("urn:ns", "p1");
OMNamespace ns2 = factory.createOMNamespace("urn:ns", "p2");
OMElement element = factory.createOMElement(new QName("test"));
OMAttribute att1 = element.addAttribute("test", "value1", ns1);
OMAttribute att2 = element.addAttribute("test", "value2", ns2);
Iterator it = element.getAllAttributes();
assertTrue(it.hasNext());