You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Stephen Wooten (JIRA)" <ji...@apache.org> on 2011/03/08 21:47:59 UTC
[jira] Commented: (WW-3299) XML validation issue on struts-tags.tld
for which should be in X.Y format instead of X.Y.Z
[ https://issues.apache.org/jira/browse/WW-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004204#comment-13004204 ]
Stephen Wooten commented on WW-3299:
------------------------------------
I have version 2.2.1 and still get the same issue. How is this resolved?
> 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.1
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira