Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » IValidatorJob not running anymore
IValidatorJob not running anymore [message #221291] Fri, 12 September 2008 10:55 Go to next message
Eclipse UserFriend
Hello all,


I recently changed from using dtd xml validation where the dtd would
be referenced via the file system instead of the xml catalog and now I'm
using xsd validation and using the xml catalog to map my namespaces to my
included xsd files. Prior to that change, i had 4 IValidatorJob jobs and
they would run with no problems. Now, when i right click on a file that
was tied to one of those jobs, only the xsd validation is occurring. I'm
not sure if this is a coincidence or if i configured something wrong. Any
thoughts?

Here's an example of my IValidatorJob extension:

<extension
id="PersonValidator"
name="Person Validator"
point="org.eclipse.wst.validation.validator">
<validator>
<filter
objectClass="org.eclipse.core.resources.IFile"
caseSensitive="false"
nameFilter="person.xml">
</filter>
<markerId
markerIdValue="PersonsValidatorMarker">
</markerId>
<helper

class="org.eclipse.wst.xml.core.internal.validation.core.Helper ">
</helper>
<run
class="com.test.jobs.PersonValidatorJob">
</run>
</validator>
</extension>

Thanks,
Jason
Re: IValidatorJob not running anymore [message #221301 is a reply to message #221291] Fri, 12 September 2008 11:19 Go to previous message
Eclipse UserFriend
It seems if i remove org.eclipse.wst.xml.core plugin from my RCP app, i
can get my programmed validation jobs to run. But that means that I can't
us the xml catalog which is needed. Does anyone know why that plugin
would cause a conflict?

By the way..this is for Eclipse 3.2.

Thanks,
Jason

JavaJ wrote:

> Hello all,


> I recently changed from using dtd xml validation where the dtd would
> be referenced via the file system instead of the xml catalog and now I'm
> using xsd validation and using the xml catalog to map my namespaces to my
> included xsd files. Prior to that change, i had 4 IValidatorJob jobs and
> they would run with no problems. Now, when i right click on a file that
> was tied to one of those jobs, only the xsd validation is occurring. I'm
> not sure if this is a coincidence or if i configured something wrong. Any
> thoughts?

> Here's an example of my IValidatorJob extension:

> <extension
> id="PersonValidator"
> name="Person Validator"
> point="org.eclipse.wst.validation.validator">
> <validator>
> <filter
> objectClass="org.eclipse.core.resources.IFile"
> caseSensitive="false"
> nameFilter="person.xml">
> </filter>
> <markerId
> markerIdValue="PersonsValidatorMarker">
> </markerId>
> <helper

> class="org.eclipse.wst.xml.core.internal.validation.core.Helper ">
> </helper>
> <run
> class="com.test.jobs.PersonValidatorJob">
> </run>
> </validator>
> </extension>

> Thanks,
> Jason
Previous Topic:JSDT element v node?
Next Topic:Bas EAR generated by Eclipse?
Goto Forum:
  


Current Time: Wed Jul 16 16:02:46 EDT 2025

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

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

Back to the top