Constructs the Model MBean metadata. This implementation reads the document type definition from the beginning of the XML file and picks a corresponding XML builder based on the schema name. In case no document type is defined the latest schema builder for this JBossMX release is used.
The SAX parser implementation is selected by default based on JAXP configuration. If you want to use JAXP to select the parser, you can set the system property "javax.xml.parsers.SAXParserFactory". For example, to use Xerces you might define:
java -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl ...
In case you can't or don't want to use JAXP to configure the SAX parser implementation you can override the SAX parser implementation by setting an MBean descriptor field {@link XMBeanConstants#SAX_PARSER} to theparser class string value.
@return initialized MBean info
@throws NotCompliantMBeanException if there were errors building the MBean info from the given XML file.