Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Remove XML validator problem markers
Remove XML validator problem markers [message #204424] Thu, 15 November 2007 10:41 Go to next message
Eclipse User
Originally posted by: ben.vitale.precipia.com

I recently installed the "Eclipse XML Editors and Tools" from the Europa
distribution. Afterwards, I noticed that validation was turned on by
default, and a bunch of XML files in my workspace failed to pass. This
generated dozens of error markers on the files themselves and in the
problems view.

I turned off Validation, in hopes that the errors would go away, but
they did not. I can use a Filter to ignore the markers in the Problems
view, but there doesn't seem to be any way to remove the error markers
permanently. This is especially irritating because I can't quickly look
at all my Projects and determine which have (real) errors.

I uninstalled the plugins, but the markers remained.

Is there anything I can do, short of creating a new workspace?

Thanks
Ben
Re: Remove XML validator problem markers [message #204446 is a reply to message #204424] Thu, 15 November 2007 10:46 Go to previous messageGo to next message
Eclipse User
Originally posted by: dcarver.starstandard.org

Ben Vitale wrote:
> I recently installed the "Eclipse XML Editors and Tools" from the Europa
> distribution. Afterwards, I noticed that validation was turned on by
> default, and a bunch of XML files in my workspace failed to pass. This
> generated dozens of error markers on the files themselves and in the
> problems view.
>
> I turned off Validation, in hopes that the errors would go away, but
> they did not. I can use a Filter to ignore the markers in the Problems
> view, but there doesn't seem to be any way to remove the error markers
> permanently. This is especially irritating because I can't quickly look
> at all my Projects and determine which have (real) errors.
>
> I uninstalled the plugins, but the markers remained.
>
> Is there anything I can do, short of creating a new workspace?

Did you try doing Project->Clean

So that it reruns the builders for the entire project, that should
remove any extraneous markers as well.

Dave
Re: Remove XML validator problem markers [message #204513 is a reply to message #204446] Thu, 15 November 2007 17:02 Go to previous messageGo to next message
Eclipse User
Originally posted by: ben.vitale.precipia.com

Yeah cleaning didn't help.

David Carver wrote:
>
> Did you try doing Project->Clean
>
> So that it reruns the builders for the entire project, that should
> remove any extraneous markers as well.
>
> Dave
Re: Remove XML validator problem markers [message #204538 is a reply to message #204513] Thu, 15 November 2007 19:12 Go to previous messageGo to next message
Eclipse User
Originally posted by: valentinbaciu.hotmail.com

If you uninstalled the plug-ins then perhaps the validation builder was
uninstalled as well and there is no builder that recognizes the validation
markers as their on. When you use Window->Preferences do you still see the
validation preferences category? If yes, can you also check if the
validation builder is added to your project. It is called Validation.

To get rid of the markers you can reinstall the plug-ins, make sure the
validation builder is added to the project, make sure the XML validator is
disabled for build and run Project->Clean. Alternatively you can recreate
your projects.

A while back I opened this bug against the platform to allow a user to force
the removal of all stray markers:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=136337.

I hope this helps.
Valentin

"Ben Vitale" <ben.vitale@precipia.com> wrote in message
news:fhifog$mvb$1@build.eclipse.org...
> Yeah cleaning didn't help.
>
> David Carver wrote:
>>
>> Did you try doing Project->Clean
>>
>> So that it reruns the builders for the entire project, that should remove
>> any extraneous markers as well.
>>
>> Dave
Re: Remove XML validator problem markers [message #204705 is a reply to message #204538] Mon, 19 November 2007 08:14 Go to previous message
Eclipse User
Originally posted by: ben.vitale.precipia.com

Finding the builder was the trick. Used "Add Validation Builder to
Project" for the affected projects, then ran a clean, and it took care
of the markers.

Many thanks.

Cheers
Ben

Valentin wrote:
> If you uninstalled the plug-ins then perhaps the validation builder was
> uninstalled as well and there is no builder that recognizes the validation
> markers as their on. When you use Window->Preferences do you still see the
> validation preferences category? If yes, can you also check if the
> validation builder is added to your project. It is called Validation.
>
> To get rid of the markers you can reinstall the plug-ins, make sure the
> validation builder is added to the project, make sure the XML validator is
> disabled for build and run Project->Clean. Alternatively you can recreate
> your projects.
>
> A while back I opened this bug against the platform to allow a user to force
> the removal of all stray markers:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=136337.
>
> I hope this helps.
> Valentin
>
> "Ben Vitale" <ben.vitale@precipia.com> wrote in message
> news:fhifog$mvb$1@build.eclipse.org...
>> Yeah cleaning didn't help.
>>
>> David Carver wrote:
>>> Did you try doing Project->Clean
>>>
>>> So that it reruns the builders for the entire project, that should remove
>>> any extraneous markers as well.
>>>
>>> Dave
>
>
Previous Topic:Web service client generation _really_ slow
Next Topic:Tomcat Manager Webapp configuration in Eclipse
Goto Forum:
  


Current Time: Sun Aug 31 00:40:35 EDT 2014

Powered by FUDForum. Page generated in 0.02182 seconds