schema.setModule(m1);
SchemaProcessorImpl p = new SchemaProcessorImpl(null, schema);
Location location1 = newLocation();
ElementImpl element1 = new ElementImpl();
element1.setElementName("cartoon");
element1.addAttribute(new AttributeImpl("name", "flintstone"));
element1.setLocation(location1);
List elements1 = Collections.singletonList(element1);
Location location2 = newLocation();
ElementImpl element2 = new ElementImpl();
element2.setElementName("cartoon");
element2.addAttribute(new AttributeImpl("name", "flintstone"));
element2.setLocation(location2);