Author: scabanovich
Date: 2012-10-03 13:46:11 -0400 (Wed, 03 Oct 2012)
New Revision: 44259
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSFEntityRecognizer.java
Log:
JBIDE-12788
https://issues.jboss.org/browse/JBIDE-12788
Support web-facesconfig_2_1.xsd in Faces Config editor.
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSFEntityRecognizer.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSFEntityRecognizer.java 2012-10-03
17:39:44 UTC (rev 44258)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/JSFEntityRecognizer.java 2012-10-03
17:46:11 UTC (rev 44259)
@@ -63,6 +63,7 @@
if(s.indexOf(uriValue) < 0) return null;
if(s.indexOf("version=\"1.2\"") > 0) return SUFF_12;
//$NON-NLS-1$
if(s.indexOf("version=\"2.0\"") > 0) return SUFF_20;
//$NON-NLS-1$
+ if(s.indexOf("version=\"2.1\"") > 0) return SUFF_20;
//$NON-NLS-1$ //TODO SUFF_21
return null;
}