title: Problem updating config-config.xml from 1_2 to 2
body: <p>I'm having issues trying to configure JSF 2.</p>
  
  <p>I get the following error when starting up my tomcat 7 server locally.</p>
  
  <pre><code>SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
  com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! cvc-enumeration-valid: Value '2.0' is not facet-valid with respect to enumeration '[1.2]'. It must be a value from the enumeration.
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:213)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4521)
      at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5004)
      at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:4999)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
  Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value '2.0' is not facet-valid with respect to enumeration '[1.2]'. It must be a value from the enumeration.
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      at org.apache.xerces.util.ErrorHandlerWrapper.error(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.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
      at org.apache.xerces.impl.xs.XMLSchemaValidator.processOneAttribute(Unknown Source)
      at org.apache.xerces.impl.xs.XMLSchemaValidator.processAttributes(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.jaxp.validation.DOMValidatorHelper.beginNode(Unknown Source)
      at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown Source)
      at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown Source)
      at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown Source)
      at javax.xml.validation.Validator.validate(Validator.java:127)
      at com.sun.faces.config.ConfigManager$ParseTask.getDocument(ConfigManager.java:434)
      at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:394)
      at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:351)
      ... 5 more
  </code></pre>
  
  <p>The error happens when I replace the following in faces-config.xml:</p>
  
  <pre><code>&lt;faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"&gt;
  </code></pre>
  
  <p>with:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;faces-config
      xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
      version="2.0"&gt;
  </code></pre>