isource.setSystemId("testNamespaceLists.xsd");
XSSchema schema = pParser.parse(isource);
XSParticle[] particles = assertGroup(assertComplexContent(assertComplexType(schema.getTypes()[0]))).getParticles();
assertEquals(2, particles.length);
assertTrue(particles[0].isWildcard());
XSWildcard wildcard = particles[0].getWildcard();
XsNamespaceList namespaceList = wildcard.getNamespaceList();
assertTrue(!namespaceList.isAny());
assertTrue(!namespaceList.isAny());
assertEquals(1, namespaceList.getUris().length);
assertEquals("http://purl.org/dc/elements/1.1/", namespaceList.getUris()[0].getURI());
assertTrue(particles[1].isWildcard());
wildcard = particles[1].getWildcard();
namespaceList = wildcard.getNamespaceList();
assertTrue(!namespaceList.isAny());
assertTrue(!namespaceList.isAny());
assertEquals(1, namespaceList.getUris().length);
assertEquals("http://www.jeckle.de/rss", namespaceList.getUris()[0].getURI());
XSAttributable[] attributes = assertComplexType(schema.getTypes()[0]).getAttributes();
assertEquals(1, attributes.length);
assertTrue(attributes[0] instanceof XSWildcard);
wildcard = (XSWildcard) attributes[0];
namespaceList = wildcard.getNamespaceList();
assertTrue(!namespaceList.isAny());
assertTrue(!namespaceList.isAny());
assertEquals(1, namespaceList.getUris().length);
assertEquals("http://www.w3.org/1999/02/22-rdf-syntax-ns#", namespaceList.getUris()[0].getURI());
}