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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.3.1
    • Component/s: Plugin - Dojo Tags
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: