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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checklinks.jar
Type: application/java-archive
Size: 2984 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20030508/fd631fae/attachment.bin