Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Error message with XML Schema Validator
Error message with XML Schema Validator [message #172863] Tue, 04 July 2006 07:28 Go to next message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi everybody,

I have a strange problem with a dynamic web project which worked fine in WTP 1.5
RC 5.

I upgraded to 1.5, with a completely new workspace, and now the project shows
this error message:
"The validator XML Schema Validator is a delegating validator but no delegate
can found for it.".

An other web project works just fine. I did not find any difference in
".project", ".classpath", ".settings\.component" or any other settings file.

Of course there is nothing to be found in the error log.

Does anybody have an idea what could be wrong ? Currently there is too few
information to make a bugzilla report :-(.

Best regards

Wolfgang
Re: Error message with XML Schema Validator [message #172930 is a reply to message #172863] Tue, 04 July 2006 15:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: valentinbaciu.hotmail.com

Try going to Preferences/Validation, select the row with the XML schema
validator, click on the ... button in the settings column. This will open a
dialog with a selection box. If the nothing is selected try to select the
one and only delegate validator (Xerces based validator).

By default it should be selected.

Regards,
Valentin

"Wolfgang Knauf" <wknauf_NO_@_INSIDE_hg-online.de> wrote in message
news:e8d5aq$q9d$1@utils.eclipse.org...
> Hi everybody,
>
> I have a strange problem with a dynamic web project which worked fine in
WTP 1.5
> RC 5.
>
> I upgraded to 1.5, with a completely new workspace, and now the project
shows
> this error message:
> "The validator XML Schema Validator is a delegating validator but no
delegate
> can found for it.".
>
> An other web project works just fine. I did not find any difference in
> ".project", ".classpath", ".settings\.component" or any other settings
file.
>
> Of course there is nothing to be found in the error log.
>
> Does anybody have an idea what could be wrong ? Currently there is too few
> information to make a bugzilla report :-(.
>
> Best regards
>
> Wolfgang
Re: Error message with XML Schema Validator [message #173127 is a reply to message #172930] Wed, 05 July 2006 15:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi Valentin,

thanks for your reply. Unfortunately this did not help. The project uses the
settings from the eclipse preferences, and there the schema validator and its
delegate are activated (I did not change anything, these are the installation
defaults).

Any other ideas ?

Best regards

Wolfgang

Valentin Baciu wrote:
> Try going to Preferences/Validation, select the row with the XML schema
> validator, click on the ... button in the settings column. This will open a
> dialog with a selection box. If the nothing is selected try to select the
> one and only delegate validator (Xerces based validator).
>
> By default it should be selected.
>
> Regards,
> Valentin
>
Re: Error message with XML Schema Validator [message #173188 is a reply to message #173127] Wed, 05 July 2006 17:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: valentinbaciu.hotmail.com

I was wondering if you could try going to the project's
properties/Validation then try overriding the global preferences, make sure
the delegate validator is configured and apply the changes.

Revalidate. Make sure you then revert to using the global preferences.

If this does not work I suggest re-creating the project - if at all
possible. The metadata storing the validation preferences seems to have been
corrupted somehow.

Valentin

"Wolfgang Knauf" <wknauf_NO_@_INSIDE_hg-online.de> wrote in message
news:e8gmj6$2gc$1@utils.eclipse.org...
> Hi Valentin,
>
> thanks for your reply. Unfortunately this did not help. The project uses
the
> settings from the eclipse preferences, and there the schema validator and
its
> delegate are activated (I did not change anything, these are the
installation
> defaults).
>
> Any other ideas ?
>
> Best regards
>
> Wolfgang
>
> Valentin Baciu wrote:
> > Try going to Preferences/Validation, select the row with the XML schema
> > validator, click on the ... button in the settings column. This will
open a
> > dialog with a selection box. If the nothing is selected try to select
the
> > one and only delegate validator (Xerces based validator).
> >
> > By default it should be selected.
> >
> > Regards,
> > Valentin
> >
Re: Error message with XML Schema Validator [message #173353 is a reply to message #173188] Thu, 06 July 2006 15:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi Valentin,

thanks a lot, I got it working. It was much easier than you suggested: I copied
the project, changed the name, closed the original project and deleted it from
eclipse, then I imported the copy. Validation ran without problems. So i deleted
the copy, too, and re-imported the original project. Now it validates fine
again. No idea what went wrong, and of course no chance to repro it. OK, I could
try a blank eclipse installation and import my project... Seems there is a
severe problem, as you said.

Best regards

Wolfgang

Valentin Baciu wrote:
> I was wondering if you could try going to the project's
> properties/Validation then try overriding the global preferences, make sure
> the delegate validator is configured and apply the changes.
>
> Revalidate. Make sure you then revert to using the global preferences.
>
> If this does not work I suggest re-creating the project - if at all
> possible. The metadata storing the validation preferences seems to have been
> corrupted somehow.
>
> Valentin
>
Re: Error message with XML Schema Validator [message #179307 is a reply to message #173353] Mon, 18 September 2006 19:46 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
In case anyone else happens to encounter an "The validator XML Schema
Validator is a delegating validator but no delegate can found for it"
error in their project, I've seen this symptom occur due to:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=155706

Cleaning the project appears to get rid of the error.

Cheers,
Larry

Wolfgang Knauf wrote:
> Hi Valentin,
>
> thanks a lot, I got it working. It was much easier than you suggested: I
> copied the project, changed the name, closed the original project and
> deleted it from eclipse, then I imported the copy. Validation ran
> without problems. So i deleted the copy, too, and re-imported the
> original project. Now it validates fine again. No idea what went wrong,
> and of course no chance to repro it. OK, I could try a blank eclipse
> installation and import my project... Seems there is a severe problem,
> as you said.
>
> Best regards
>
> Wolfgang
>
> Valentin Baciu wrote:
>> I was wondering if you could try going to the project's
>> properties/Validation then try overriding the global preferences, make
>> sure
>> the delegate validator is configured and apply the changes.
>>
>> Revalidate. Make sure you then revert to using the global preferences.
>>
>> If this does not work I suggest re-creating the project - if at all
>> possible. The metadata storing the validation preferences seems to
>> have been
>> corrupted somehow.
>>
>> Valentin
>>
Previous Topic:Programmatically add a defined JSF component library to a web project
Next Topic:error using WTP and webapps
Goto Forum:
  


Current Time: Thu Apr 25 19:48:45 GMT 2024

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

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

Back to the top