Also tried compiling on jtidy-04aug2000r7-dev & jtidy-04aug2000r7-bin without much luck either.
There are numerous forum conversations on how to use JTidy but nothing on how to build it especially on overcoming Class the compatibility conflict with standard Java distributions that occurred since JDK1.5 back in 2004. I am surprised that no one has updated JTidy to overcome this issue. Any advice or suggestion on this issue would be appreciated.
I overcame the 'enum' limitation by renaming this variable to non-reserved Java word and successfully completed the Ant build. However, only the Tidy.jar file was generated as opposed to JTidy.jar.
The following program was use to convert a HTML file to XML without success still:
It turned out that the Patient.xml file was still in HTML format. I cross checked the conversion by running the following command using the Tidy utility which successfully produced an equivalent XML file:
In short, the Ant build failed despite having resolved the 'enum' limitation.