Cannot parse servlet 3.0 web.xml files
Here is the Exception:
{noformat} 2011-01-13 16:41:23,632 : WARNING : Thread-9 : Digester.warning : Parse Warning Error at line 5 column 21: schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema. org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not xsd:schema. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.warning(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at org.apache.xerces.impl.XML11NSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XML11NSDocumentScannerImpl$NS11ContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1911) at org.ow2.jonas.deployment.common.digester.JDigester.parse(JDigester.java:138) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.loadWebApp(WebDeploymentDescManager.java:1091) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getInstance(WebDeploymentDescManager.java:789) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getInstance(WebDeploymentDescManager.java:1069) at org.ow2.jonas.deployment.web.lib.WebDeploymentDescManager.getDeploymentDesc(WebDeploymentDescManager.java:272) at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:747) at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:1234) at org.ow2.jonas.web.base.proxy.HttpOnDemandProxy.addWar(HttpOnDemandProxy.java:352) at org.ow2.jonas.web.base.WARDeployer.doDeploy(WARDeployer.java:70) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:96) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer$1.execute(AbsDeployer.java:95) at org.ow2.util.execution.helper.RunnableHelper.execute(RunnableHelper.java:77) at org.ow2.util.ee.deploy.impl.deployer.AbsDeployer.deploy(AbsDeployer.java:94) at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:129) at org.ow2.jonas.deployablemonitor.DeployableMonitor.detectNewArchives(DeployableMonitor.java:489) at org.ow2.jonas.deployablemonitor.DeployableMonitor.checkNewArchives(DeployableMonitor.java:306) at org.ow2.jonas.deployablemonitor.DeployableMonitor.run(DeployableMonitor.java:216) {noformat}