On 11/08/2011 04:35 PM, Boris Goldowsky wrote:
> XXE does not seem to be loading and running a validateHook I have defined - 
> it's just silently ignored.  Is there some way to debug the loading process 
> and see what's going wrong?

In principle configuration errors are displayed in a dialog box just 
after XXE is started.

If, for any reason, your validateHook cannot be instantiated by XXE, 
then you should see a quite clear error message.



Are there things I might have missed that changed in recent versions 
with respect to validate hooks?

Recompiling your validateHook against a recent xxe.jar should allow you 
to catch this kind of errors.



>
> I've included the jar file in the configuration directory, and a clause like 
> this in the configuration .xxe file:
>
>    <validateHook name="idCreator">
>      <class>org.cast.xxe.idcreator.IdCreator</class>
>    </validateHook>
>
>

The most common pitfall is simply forgetting to clear the quick start 
cache (added in v4.9) after changing things in a configuration.

See "Options|Preferences", "Advanced|Cached Data section": 
http://www.xmlmind.com/xmleditor/_distrib/doc/help/advancedOptions.html#cacheOptions
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to