title: web-app_2_5.xsd showing errors when validating web.xml in Weblogic
body: <p>I have done a Dynamic Web project with Spring 3.0 using Tomcat Server &amp; it works fine. When i deployed the same in Weblogic Server; it throws me an error:</p>
  
  <pre>
  VALIDATION PROBLEMS WERE FOUND problem: cvc-enumeration-valid: string value '2.5' is not a valid enumeration value for web-app-versionType in namespace http://java.sun.com/xml/ns/j2ee: at 
  weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245) at 
  weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231) at 
  weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155) at 
  weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323) ---
  weblogic.application.ModuleException: VALIDATION PROBLEMS WERE FOUND
  </pre>
  
  <p>Starting lines of web.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app version="2.5" xmlns="http://java.sun.com/xml/ns/j2ee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"&gt;
  </code></pre>
  
  <p>But the same works in Tomcat.</p>