getMessage("schema.unknowncontenterror"));
}
} else if (content instanceof XmlSchemaSimpleContent) {
XmlSchemaSimpleContent simpleContent = (XmlSchemaSimpleContent) content;
if (simpleContent.getContent() instanceof
XmlSchemaSimpleContentExtension) {
XmlSchemaSimpleContentExtension extension =
(XmlSchemaSimpleContentExtension) simpleContent
.getContent();
// recursively call the copyMetaInfoHierarchy
// method
copyMetaInfoHierarchy(baseMetaInfoHolder,
extension.getBaseTypeName(), resolvedSchema);
} else if (simpleContent.getContent() instanceof
XmlSchemaSimpleContentRestriction) {
XmlSchemaSimpleContentRestriction restriction =
(XmlSchemaSimpleContentRestriction) simpleContent
.getContent();
// recursively call the copyMetaInfoHierarchy
// method
copyMetaInfoHierarchy(baseMetaInfoHolder,
restriction.getBaseTypeName(), resolvedSchema);