" targetNamespace='http://www.jboss.org/xml/test/xop'>" +
" <import namespace='http://www.w3.org/2005/05/xmlmime' schemaLocation='xmlmime.xsd'/>" +
" <element name='applxml' xmime:expectedContentTypes='application/xml' type='xmime:base64Binary'/>" +
"</schema>";
MultiClassSchemaResolver resolver = new MultiClassSchemaResolver();
String xmimeXsd = getSchemaLocation(getClass(), "xmlmime.xsd");
resolver.mapSchemaLocation("http://www.w3.org/2005/05/xmlmime", xmimeXsd);
SchemaBinding schema = XsdBinder.bind(new StringReader(xsd), null, resolver);
schema.setIgnoreUnresolvedFieldOrClass(false);
schema.setXopUnmarshaller(XOP_ENABLED_UNMARSH);