XML Validator runs and runs [message #188419] |
Wed, 21 February 2007 18:50  |
Eclipse User |
|
|
|
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 14:25   |
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 15:07  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03489 seconds