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.

