{
ModuleDescriptor md = new ModuleDescriptor(getClassResolver(), new DefaultErrorHandler());
md.setModuleId("foo");
Resource r = new ClasspathResource(getClassResolver(), "/foo/bar");
Location l1 = new LocationImpl(r, 20);
Location l2 = new LocationImpl(r, 97);
SchemaImpl s1 = new SchemaImpl("test");
s1.setId("bar");
s1.setLocation(l1);