Ok, so, it's obviously an issue with my servers validation of tlibversion.

I'll guess I'll have to stick with my hack until a new version of the server
is tested.

Thanks,
Dan

-----Original Message-----
From: Musachy Barroso [mailto:musa...@gmail.com] 
Sent: Thursday, July 30, 2009 3:12 PM
To: Struts Users Mailing List
Subject: Re: Struts 2.1.6 TLD file

agr, actually I missread the regex, I read 0..3 as applied to [0..9].
So the version in the tld is ok.

musachy

On Thu, Jul 30, 2009 at 1:09 PM, Musachy Barroso<musa...@gmail.com> wrote:
> Yes, the version is wrong in struts, according to the JSP Spec:
>
> <!ELEMENT tlibversion (#PCDATA) >
> Describes the JSP version (number) this taglibrary requires in order to
function
> (dewey decimal)
> The default is 1.1
> #PCDATA ::= [0-9]*{ “.”[0-9] }0..3
>
> //I will fix it in trunk
> musachy
>
> On Thu, Jul 30, 2009 at 12:50 PM, Dan Slack<dsl...@langui.com> wrote:
>> Hi,
>>
>>
>>
>> Our J2EE server (Sybase EAServer 6.1) has been complaining about my
struts 2
>> application when I deploy it.  After some digging, it turns out that the
>> "tlibversion" in the Struts2 tld file is "invalid".  This seemed to
happen
>> when I changed my project to Servlet 2.5.
>>
>>
>>
>> The Struts 2 tlibversion is 2.2.3, and I know that the 'tlibversion' can
be
>> a dewey-decimal type, but from my memories of libraries, I don't remember
it
>> being allowed to have 2 decimal points.  Does anybody know if this is a
>> failing of my server, or is this something that is a failing of Struts2?
>>
>>
>>
>> In the mean time, I actually, at runtime, open up the Struts 2 Jar, and
>> modify the tld to "fix" it when deploying to that server.
>>
>>
>>
>> Thanks
>>
>> Dan Slack
>>
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to