TypeBinding type = schema.getType(rootQName);
assertNotNull(type);
schema.addElement(rootQName, type);
Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
Collections collections;
collections = (Collections)unmarshaller.unmarshal(xmlReader, schema);
assertEquals(Collections.getInstance(), collections);
}