Strange. I installed V2.3, got my checklinks.jar, placed it into xhtml --
and it worked. So I moved checklinks.jar to my configuration (where the
checklinks.jar was when difficulties appeared) -- and I worked too! I am bit
surprised, because this configuration I tested more times. I do not know,
what I did wrong (maybe I had badly installed previous version), but now it
works. Great. Thank you for your support.

I tested my spell dictionary too -- XXE cs.dar found and displayed it as
"cs/default" language. This is correct, but v2.1 (which is the last previous
version which accepted my cs.dar) displayed "Ce?tina", exactly how it is
described in language file inside dar. So I seems to me like this file is
ignored. Another issue of my dictionary is -- I have created accessory
dictionaries, compiled it into dar, but XXE still offers "cs/default" only.
Where the mistake could be?

Thank you again and have a nice day,

Martin

> -----Original Message-----
> From: hussein at saxo.pixware.fr [mailto:hussein at saxo.pixware.fr]On Behalf
> Of Hussein Shafie
> Sent: Thursday, May 08, 2003 10:25 AM
> To: kolarik at mii.cz
> Cc: xmleditor-support at xmlmind.com
> Subject: Re: [XXE] documentHook
>
>
> Martin Kolar?k wrote:
> >
> > Yes -- I got the text from internet browser into the clipboard, paste it
> > into new text file and added the following lines (to make source code
> > compilable):
> >
> > import java.util.*;
> > import com.xmlmind.xmledit.xmlutil.*;
> > import com.xmlmind.xmledit.doc.*;
> > import com.xmlmind.xmledit.doctype.*;
> > import com.xmlmind.xmleditapp.dochook.*;
> >
> > Next I modified build.xml -- I changed xxe.distrib to: <property
> > name="xxe.distrib" value="D:/Program Files/XMLmind_XML_Editor"
> /> and next I
> > created directory checklinks under the directory where
> checklinks.java is.
> >
> > And after that I compiled project (ant checklinks), took result
> > (checklinks.jar) and copied it into directory with *.xxe. Next
> I tried to
> > copy jar into distribution directory.
> >
> > Maybe I do some trivial error using java -- although I am able
> to use java
> > it is not my production environment, so I am not sure in many
> things. Thus I
> > suppose that any hint or help or idea can lead to success -- if
> only I grasp
> > it :-)
>
> If ant/javac has not reported errors, there is probably no problem with
> your checklinks.jar.
>
> [1] Copy your checklinks.jar to D:\Program
> Files\XMLmind_XML_Editor\config\xhtml
>
> [2] Edit D:\Program Files\XMLmind_XML_Editor\config\xhtml\xhtml.xxe.
>     Add:
> ---
> <load location="checklinks.jar" />
>
> <documentHook>
>   <class>CheckLinks</class>
> </documentHook>
> ---
>
>     after other <load> elements of this configuration file.
>
> [3] Restart XXE and test documentHook with an XHTML file having bad
> links.
>
> If you have already done this or if this does not work, try to follow
> the same steps with the checklinks.jar (compiled for XXE V2.3) attached
> to this email.
>
> If everything fails, you can always send me your configuration files,
> your checklinks.jar, sample XML files, etc.


Reply via email to