Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3661

node 'tlib-version' syntax error in struts-dojo-tags.tld

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.3
    • 2.3.1
    • Plugin - Dojo Tags
    • None
    • OS:win7
      JDK:1.6
      APP:jboss 6.0.0

    Description

      cause deployment faild
      1. first, replace the xwork-x.x.x.jar with a bug-fixed version, see: https://issues.apache.org/jira/browse/WW-3558, prevent the bug breaking the deployment
      2. deploy struts2-showcase.war file to jboss 6, you will see follow ERROR info:
      DEPLOYMENTS IN ERROR:
      Deployment "vfs:///G:/jboss-6.0.0.Final/server/default/deploy/struts2-showcase.war" is in error due to the following reason(s): org.xml.sax.SAXException: cvc-datatype-valid.1.2.1: '2.2.3' is not a valid value for 'decimal'. @ vfs:///G:/jboss-6.0.0.Final/server/default/deploy/struts2-showcase.war/WEB-INF/lib/struts2-dojo-plugin-2.2.3.jar/META-INF/struts-dojo-tags.tld[6,37]
      3.accorind to http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd
      <xsd:element name="tlib-version"
      type="j2ee:dewey-versionType">
      <xsd:annotation>
      <xsd:documentation>

      Describes this version (number) of the taglibrary.
      It is described as a dewey decimal.

      </xsd:documentation>
      </xsd:annotation>

      </xsd:element>

      Attachments

        Activity

          People

            jogep Johannes Geppert
            mlw5415 lwen.ma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: