Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » IValidatorJob not running anymore
IValidatorJob not running anymore [message #221291] Fri, 12 September 2008 14:55 Go to next message
JavaJ Missing name is currently offline JavaJ Missing name
Messages: 45
Registered: July 2009
Member
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 15:19 Go to previous message
JavaJ Missing name is currently offline JavaJ Missing name
Messages: 45
Registered: July 2009
Member
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: Tue Sep 23 10:40:55 GMT 2014

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

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