XSComplexType anyAttrElem = assertComplexType(elements[2].getType());
XSAttributable[] attrs = anyAttrElem.getAttributes();
assertEquals(1, attrs.length);
assertTrue(attrs[0] instanceof XSWildcard);
XSWildcard wc = (XSWildcard) attrs[0];
XsNamespaceList nsl = wc.getNamespaceList();
assertTrue(nsl.isAny());
assertNull(nsl.getUris());
XSComplexType otherAttrElem = assertComplexType(elements[3].getType());
attrs = otherAttrElem.getAttributes();
assertEquals(1, attrs.length);
assertTrue(attrs[0] instanceof XSWildcard);
nsl = ((XSWildcard) attrs[0]).getNamespaceList();
assertTrue(nsl.isOther());
assertEquals(1, nsl.getUris().length);
assertEquals("xyz", nsl.getUris()[0].toString());
XSComplexType listAttrElem = assertComplexType(elements[4].getType());
attrs = listAttrElem.getAttributes();
assertEquals(1, attrs.length);
assertTrue(attrs[0] instanceof XSWildcard);
nsl = ((XSWildcard) attrs[0]).getNamespaceList();
assertTrue(!nsl.isOther());
assertTrue(!nsl.isAny());
assertEquals(2, nsl.getUris().length);
assertEquals("xyz", nsl.getUris()[0].toString());
assertEquals("http://ws.apache.org/jaxme/test/misc/wildcards/2", nsl.getUris()[1].toString());
assertEquals(new XsQName("xyz", "a"), elements[5].getName());
assertEquals(new XsQName("xyz", "b"), elements[6].getName());
}