You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Garner, Shawn" <sh...@pearson.com> on 2005/11/17 17:52:32 UTC
[OT] RE: Can't build project because of unavailable dtd
I'm curious of the answer you get back.
Can you post [OT] the answer back to this list.
Shawn
-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Lionel
Sent: Thursday, November 17, 2005 5:16 AM
To: user@struts.apache.org
Subject: Re: Can't build project because of unavailable dtd
Lionel wrote:
> Hi !
>
> Hi have a web project using struts.
> This morning, I've had problems to build this project be built because
> jakarta.apache.org has been unavailable for few minutes: eclipse
> tries to access the online dtd and gets blocked.
> The only way to be able to work is to disable xml validation, kill
> eclipse and start it again.
> Why doesn't it try to get the dtd from the struts.jar in web-inf/lib ?
wrong group selected: it was for the WTP group.
Sorry.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
****************************************************************************
This email may contain confidential material.
If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.
****************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [OT] RE: Can't build project because of unavailable dtd
Posted by Craig McClanahan <cr...@apache.org>.
On 11/17/05, Garner, Shawn <sh...@pearson.com> wrote:
>
>
> I'm curious of the answer you get back.
> Can you post [OT] the answer back to this list.
I don't know if Eclipse can do this, but you can avoid similar problems with
NetBeans by registering your own copies of the DTDs into the "DTD and XML
Schema Catalogs" database (on the "Runtime" tab). That causes XML validation
of schemas or DTDs to be performed against a local copy (and will perform
better even if you are online and the DTD is available, because you're
avoiding network traffic). You should see if Eclipse has a similar feature.
(In the case of NetBeans 5, the Struts DTDs are preregistered for you.)
Shawn
Craig