Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » XML Validator runs and runs
XML Validator runs and runs [message #188419] Wed, 21 February 2007 13:50 Go to next message
Neil Goldsmith is currently offline Neil Goldsmith
Messages: 68
Registered: July 2009
Member
We have a servlet based Eclipse project that has a web.xml file that is
properly formed. We recently added WTP 1.5.3 to our environment. If you
choose the new validate project menu option that was added by WTP, the XML
Validator will run (as a background process) nonstop attempting to validate
web.xml. After about 10 mins, you will get a warning that it failed
attempting to load http://java.sun.com/dtd/web-app_2_3.dtd, but the
validator will just keep running.

Why does it fail to load the DTD? I can navigate to that location just
fine.

I did see a problem report to allow you to pick and choose which
files/directories the validator should ignore, so I guess I'll add a vote to
that, but in the short term is there any solution?

Also, is there a way to programmatically turn off the validate per project
maybe as an ext point or something in the project nature as opposed to
manually going to the project props and doing it? We have some projects
that don't need the validate at all and would like to disable it when the
project is created.

thank you
Re: XML Validator runs and runs [message #188526 is a reply to message #188419] Fri, 23 February 2007 09:25 Go to previous messageGo to next message
Eclipse User
Originally posted by: eclipse5.rizzoweb.com

njg wrote:
> We have a servlet based Eclipse project that has a web.xml file that is
> properly formed. We recently added WTP 1.5.3 to our environment. If you
> choose the new validate project menu option that was added by WTP, the XML
> Validator will run (as a background process) nonstop attempting to validate
> web.xml. After about 10 mins, you will get a warning that it failed
> attempting to load http://java.sun.com/dtd/web-app_2_3.dtd, but the
> validator will just keep running.
>
> Why does it fail to load the DTD? I can navigate to that location just
> fine.

Are you perhaps behind an Internet proxy? If so, you need to configure
Eclipse to use your proxy settings, in Preferences > Internet > Proxy
Settings.

Hope this helps,
Eric
Re: XML Validator runs and runs [message #188881 is a reply to message #188526] Thu, 01 March 2007 10:07 Go to previous message
Neil Goldsmith is currently offline Neil Goldsmith
Messages: 68
Registered: July 2009
Member
Great! That fixed it. Thanks

"Eric Rizzo" <eclipse5@rizzoweb.com> wrote in message
news:ermth8$qem$2@utils.eclipse.org...
> njg wrote:
>> We have a servlet based Eclipse project that has a web.xml file that is
>> properly formed. We recently added WTP 1.5.3 to our environment. If you
>> choose the new validate project menu option that was added by WTP, the
>> XML Validator will run (as a background process) nonstop attempting to
>> validate web.xml. After about 10 mins, you will get a warning that it
>> failed attempting to load http://java.sun.com/dtd/web-app_2_3.dtd, but
>> the validator will just keep running.
>>
>> Why does it fail to load the DTD? I can navigate to that location just
>> fine.
>
> Are you perhaps behind an Internet proxy? If so, you need to configure
> Eclipse to use your proxy settings, in Preferences > Internet > Proxy
> Settings.
>
> Hope this helps,
> Eric
Previous Topic:Internal server error when starting WebService explorer.
Next Topic:validation of ccxml
Goto Forum:
  


Current Time: Sat Aug 30 02:41:58 EDT 2014

Powered by FUDForum. Page generated in 0.01620 seconds