IValidatorJob not running anymore [message #221291] |
Fri, 12 September 2008 10:55  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04723 seconds