{
@Test
public void testSchemaParsing() throws Exception
{
final XmlDocumentSchema schema = XmlDocumentSchemasCache.getSchema( "http://www.eclipse.org/sapphire/tests/xml/xsd/0001" );
final XmlElementDefinition rootElementDef = schema.getElement( "root" );
final XmlSequenceGroup rootContentModel = (XmlSequenceGroup) rootElementDef.getContentModel();
final List<XmlContentModel> nestedContent = rootContentModel.getNestedContent();
assertEquals( 4, nestedContent.size() );
assertEquals( "aaa", ( (XmlElementDefinition) nestedContent.get( 0 ) ).getName().getLocalPart() );