struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown" <donald.br...@gmail.com>
Subject Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")
Date Tue, 09 Sep 2008 07:27:13 GMT
Sorry, I was thinking of another JBoss issue with the tld file, not
the validators file.

Don

On Tue, Sep 9, 2008 at 3:31 PM, Bobby Mitch <cel975@yahoo.com> wrote:
> hi,
> where do you suggest that i modify the order of the elements ?
> I checked the library struts2-core-2.1.2.jar, there is a struts-2.0.tld descriptor tagfile
inside of it but there is not much inside of it.
>
> Or maybe i should use a different version of Struts 2 ? Some other library ?
> Thanks for helping.
>
> --- On Sun, 9/7/08, Don Brown <donald.brown@gmail.com> wrote:
> From: Don Brown <donald.brown@gmail.com>
> Subject: Re: JBoss 5 RC1 and Struts 2 : Simple validation error (URI scheme is not "file")
> To: "Struts Users Mailing List" <user@struts.apache.org>
> Date: Sunday, September 7, 2008, 10:53 PM
>
> There was a JBoss issue that I found once I added JBoss 4.2 testing
> with the tld.  Not sure if that fix is in 2.1.2, but it will be in
> 2.1.3.  If you need, you can just unzip the Struts jar, fix the order
> of the elements that is causing the problem, and zip it back up.
>
> Don
>
> On Mon, Sep 8, 2008 at 3:38 PM, Jeromy Evans
> <jeromy.evans@blueskyminds.com.au> wrote:
>> Bobby Mitch wrote:
>>>
>>> Well,
>>> I upgraded to the beta version and I am getting errors in the
>>> struts-tags.tld file that i extracted from struts2-core-2.1.2.tld and
> put
>>> under WEB-INF/
>>>
>>
>> Upgrading to 2.1.2 is a major effort, so I don't recommend that (too
>> late...).  You'll have to read the release notes and migration guide
> on the
>> download page.
>> Downgrading to 2.0.11.1 sounds reasonable if there's an actual
> explanation
>> for it.
>>
>> I'm not familiar with the exception but I recommend one of these
> approaches:
>> - change the DOCTYPE to reference a SYSTEM URI.  It appears to not like
> that
>> there's a URI using http. Perhaps change it to FILE and point to a
> local
>> copy.
>> - create an XML catalog file so the URI's are all registered on the
> local
>> machine (so it doesn't have to validate using an external file).
>> Here's the tutorial I follow:
>> http://www.sagehill.net/docbookxsl/WriteCatalog.html
>> (it relates to DocBook XML but the principle applies)
>>
>> Hope that helps.
>> Jeromy Evans
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
>

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


Mime
View raw message