* @param xsdURL Location of the schema file
* @return Xerces XSModel which represents the schema
*/
public JBossXSModel parseSchema(URL xsdURL)
{
JBossXSErrorHandler xserr = new JBossXSErrorHandler();
JBossWSEntityResolver resolver = new JBossWSEntityResolver();
JBossXSEntityResolver xsresolve = new JBossXSEntityResolver(resolver, new HashMap<String, URL>());
XMLSchemaLoader loader = (XMLSchemaLoader)schemautils.getXSLoader(xserr, xsresolve);
XSModel xsmodel = loader.loadURI(xsdURL.toExternalForm());