*/
public void testUnmarshallOneToManySchema() throws SAXException, IOException {
Schema schema = unmarshalSchema("schema-one-to-many.xsd");
ComplexType bookType = schema.getComplexType("bookType");
Enumeration annotations = bookType.getAnnotations();
Annotation annotation = (Annotation) annotations.nextElement();
Enumeration appInfos = annotation.getAppInfo();
AppInfo appInfo = (AppInfo) appInfos.nextElement();
List jdoContent = appInfo.getJdoContent();
assertEquals(1, jdoContent.size());
Table t = (Table) jdoContent.get(0);
assertEquals("book", t.getName());
assertEquals("isbn", t.getPrimaryKey().getKey(0));
ElementDecl isbn = bookType.getElementDecl("isbn");
annotations = isbn.getAnnotations();
annotation = (Annotation) annotations.nextElement();
appInfos = annotation.getAppInfo();
appInfo = (AppInfo) appInfos.nextElement();
jdoContent = appInfo.getJdoContent();
assertEquals(1, jdoContent.size());
Column c = (Column) jdoContent.get(0);
assertEquals("isbn", c.getName());
assertEquals("varchar", c.getType());
ElementDecl title = bookType.getElementDecl("title");
annotations = title.getAnnotations();
annotation = (Annotation) annotations.nextElement();
appInfos = annotation.getAppInfo();
appInfo = (AppInfo) appInfos.nextElement();
jdoContent = appInfo.getJdoContent();
assertEquals(1, jdoContent.size());
c = (Column) jdoContent.get(0);
assertEquals("title", c.getName());
assertEquals("varchar", c.getType());
ElementDecl author = bookType.getElementDecl("author");
annotations = author.getAnnotations();
annotation = (Annotation) annotations.nextElement();
appInfos = annotation.getAppInfo();
appInfo = (AppInfo) appInfos.nextElement();
jdoContent = appInfo.getJdoContent();
assertEquals(1, jdoContent.size());
OneToMany oneToMany = (OneToMany) jdoContent.get(0);