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

                 Key: WW-3661
                 URL: https://issues.apache.org/jira/browse/WW-3661
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Dojo Tags
    Affects Versions: 2.2.3
         Environment: OS:win7
JDK:1.6
APP:jboss 6.0.0
            Reporter: lwen.ma


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>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to