URL schemaURL = tcl.getResource("schema/jbossxacml-2.0.xsd");
if(schemaURL == null)
throw new IllegalStateException("Schema URL is null:" + "schema/jbossxacml-2.0.xsd");
SchemaFactory scFact = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
scFact.setResourceResolver( new JBossXACMLEntityResolver());
scFact.setErrorHandler(new ErrorHandler()
{
public void error(SAXParseException exception) throws SAXException
{
StringBuilder builder = new StringBuilder();