Author: akazakov
Date: 2011-05-09 14:30:18 -0400 (Mon, 09 May 2011)
New Revision: 31146
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLSyntaxValidator.java
Log:
Fixed compilation error for WTP M7.
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLSyntaxValidator.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLSyntaxValidator.java 2011-05-09
18:00:36 UTC (rev 31145)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/XHTMLSyntaxValidator.java 2011-05-09
18:30:18 UTC (rev 31146)
@@ -19,7 +19,6 @@
import java.io.StringReader;
import java.util.ArrayList;
-import org.apache.xerces.xni.parser.XMLEntityResolver;
import org.eclipse.core.resources.IResource;
import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolverPlugin;
import org.eclipse.wst.validation.ValidationResult;
@@ -31,10 +30,11 @@
import org.eclipse.wst.xml.core.internal.validation.core.ValidationReport;
import
org.eclipse.wst.xml.core.internal.validation.eclipse.ErrorCustomizationPluginRegistryReader;
import org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;
-import org.jboss.tools.common.xml.XMLEntityResolverImpl;
import org.jboss.tools.jsf.JSFModelPlugin;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
import org.xml.sax.SAXParseException;
import org.xml.sax.XMLReader;
import org.xml.sax.ext.LexicalHandler;
@@ -224,7 +224,7 @@
this.entityResolver = entityResolver;
}
- protected XMLReader createXMLReader(String uri) throws Exception
+ protected XMLReader createXMLReader(String uri) throws SAXNotRecognizedException,
SAXNotSupportedException
{
XMLReader reader = super.createXMLReader(uri);
Show replies by date