#116 Java with C Tidy (JNI or SWIG?)


I would like to be able to use the C version of Tidy inside of Java code. Before anyone mentions it I'm well aware of the JTidy implementation but many of the the known bugs I read for it prevent me from using it, plus I'd prefer to maintain 100% compatibility with the C version.

I found the following mail on the issue http://sourceforge.net/mailarchive/message.php?msg_name= but don't know enough about SWIG to get this working at the moment so I was hoping someone has already managed this and could spell out more clearly what the steps are to get the code working with Java.

My alternative is using JNI directly, I made a brief start on this before I realised just how little C I know. If anyone has got a working JNI implementation they would like to share that would also be great.

If I can get it working I would be happy to maintain a JNITidy or JSWIGTidy type package for Win32 and linux x86, maybe even sparc solaris.


  • Arnaud Desitter

    Arnaud Desitter - 2007-09-24

    Logged In: YES
    Originator: NO

    Try to contact the author of http://tidy.sf.net/issue/1646449

  • Björn Höhrmann

    • status: open --> pending
  • SourceForge Robot

    • status: pending --> closed
  • SourceForge Robot

    Logged In: YES
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks