[ 
https://issues.apache.org/jira/browse/WW-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart resolved WW-3299.
-------------------------------

    Resolution: Fixed
      Assignee: Lukasz Lenart

Resolved, right now tlibVersion will base on Struts version i.e. 2.2 for Struts 
2.2.0

> XML validation issue on struts-tags.tld for <tlib-version> which should be in 
> X.Y format instead of X.Y.Z
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: WW-3299
>                 URL: https://issues.apache.org/jira/browse/WW-3299
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.6
>         Environment: Any
>            Reporter: olivier dupuy
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> Hi
> I use struts 2.1.6
> If I add struts-stags.tld to my project in WEB-INF as it is perfectly legal 
> and referring it in web.xml and if I validate the TLD I get an error on 
> <tlib-version>2.2.3</tlib-version>
> My IDE, RSA 7.0.8 built on Eclipse 3.4 I think gives me the errors
> cvc-datatype-valid.1.2.1: '2.2.3' is not a valid value for 'decimal'.
> cvc-type.3.1.3: The value '2.2.3' of element 'tlib-version' is not valid.
> If you open the XSD given at the top of the TLD file 
> http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd
> You will find the following definition for 
>    <xsd:sequence>
>       <xsd:group ref="j2ee:descriptionGroup"/>
>       <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>
> A "Dewey" number, used in libraries and others has only one decimal, see 
> http://en.wikipedia.org/wiki/Dewey_Decimal_Classification
> So obviously the number should have a format X.Y and not X.Y.Z, I made the 
> change locally and it works.
> Thanks
> Olivier

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to