public void testSchemaParsing() throws Exception
{
final XmlDocumentSchema schema = XmlDocumentSchemasCache.getSchema( "http://www.eclipse.org/sapphire/tests/xml/xsd/0007" );
final XmlElementDefinition rootElementDef = schema.getElement( "root" );
final XmlAllGroup rootContentModel = (XmlAllGroup) rootElementDef.getContentModel();
final List<XmlContentModel> rootNestedContent = rootContentModel.getNestedContent();
assertEquals( 2, rootNestedContent.size() );
final XmlElementDefinition aElementDef = (XmlElementDefinition) rootNestedContent.get( 0 );
assertEquals( "a", aElementDef.getName().getLocalPart() );