Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » offline validation
offline validation [message #132782] Mon, 15 August 2005 09:11 Go to next message
Eclipse UserFriend
I have found that I cannot validate web apps when working offline, because
the validator attempts to reach the web-app schema at:
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd

Interestingly, Eclipse's built in caching mechanism has cached this
resource - it appears, however, that the validator does not look for this
resource in the cache.

As I wish to develop web-applications on a laptop which is not always
connected to the network, this is becoming a real problem....

Is this a bug, or have I missed something?
Re: offline validation [message #132806 is a reply to message #132782] Mon, 15 August 2005 12:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hunter.telenet.be

Paul Walk wrote:

> I have found that I cannot validate web apps when working offline, because
> the validator attempts to reach the web-app schema at:
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
>
> Interestingly, Eclipse's built in caching mechanism has cached this
> resource - it appears, however, that the validator does not look for this
> resource in the cache.
>
> As I wish to develop web-applications on a laptop which is not always
> connected to the network, this is becoming a real problem....
>
> Is this a bug, or have I missed something?

Yes, this problemn is known.
Re: offline validation [message #132870 is a reply to message #132806] Mon, 15 August 2005 14:41 Go to previous messageGo to next message
Eclipse UserFriend
You should be able to work around this problem by manually adding the
required schema files to the XML catalog. This should allow you to work
disconnected. Alternatively, you can disable the validator
(Window->Preferences->Validation) when working disconnected as the
validator doesn't seem to be producing useful errors.

Lawrence
Re: offline validation [message #132897 is a reply to message #132782] Mon, 15 August 2005 20:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sportboy02.software.nju.edu.cn

Paul Walk wrote:
> I have found that I cannot validate web apps when working offline,
> because the validator attempts to reach the web-app schema at:
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
>
> Interestingly, Eclipse's built in caching mechanism has cached this
> resource - it appears, however, that the validator does not look for
> this resource in the cache.
>
> As I wish to develop web-applications on a laptop which is not always
> connected to the network, this is becoming a real problem....
>
> Is this a bug, or have I missed something?
>

Manually adding these resources into XML Catalog is a solution before
this problem is sovled.
This has been addressed in previous thread, you can have a look.

HTH
Jason
Re: offline validation [message #132972 is a reply to message #132897] Tue, 16 August 2005 04:52 Go to previous message
Eclipse UserFriend
Hi,
thanks for the responses - I guess I hadn't searched properly for this
issue, so apologies for raising a known issue.

I had tried the XMLCatalogue approach, but will revisit it in the light of
these suggestions.
Previous Topic:trouble with jsp tags
Next Topic:Server publish API?
Goto Forum:
  


Current Time: Sun Nov 09 04:21:01 EST 2025

Powered by FUDForum. Page generated in 0.03480 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top