Thank you,
there is the piece of configuration (after loading in to XXE it was
syntactically correct):
...
<load location="checklinks.jar"/>
<documentHook>
<class>CheckLinks</class>
</documentHook>
...
checklinks.jar is placed in the same directory as *.xxe. Maybe
checklinks.jar is bad? I got the code from www page, only added imports and
compile it.
Martin
> -----Original Message-----
> From: xmleditor-support-admin at pixware.fr
> [mailto:xmleditor-support-admin at pixware.fr]On Behalf Of Hussein Shafie
> Sent: Wednesday, April 30, 2003 10:24 AM
> To: kolarik at mii.cz
> Cc: xmleditor-support at xmlmind.com
> Subject: Re: [XXE] documentHook
>
>
> Martin Kolar?k wrote:
> >
> > I need to write some document hook, so I got the example from dev-doc a
> > tried it. But XXE reports during loading configuration that
> "documentHook is
> > invalid element" and show contents of <class> element of <documentHook>.
> > What do I do wrong?
>
> You'll have a better diagnostic if you validate your configuration file
> with XXE. The simplest way to do this is to load your configuration file
> in XXE as a document, i.e. use File|Open.
>
> This may help you to find syntatic errors. For example, the name of the
> class must match [_a-zA-Z][_a-zA-Z0-9]*(\.[_a-zA-Z][_a-zA-Z0-9]*)* (note
> that this prevents using Latin-2 characters for the class name).
>
> If there are no syntatic errors, then XXE is probably not able to load
> the code of your documentHook. Have you specified it using a <load>
> element?
>
> As usual, if you cannot find your problem, simply send me your
> configuration file by email.
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
>