PDA

Click to See Complete Forum and Search --> : James Clark SP (SGML Parser) & c++ & jni & ...


X_Moon
Nov 6th, 2002, 07:51 AM
Hi,

Does any of you 'hotshots' developers have experience with James' Clark SGML Parser and the source code involved? I am trying to validate HTML 4.x input to the HTML DTD. XML parsers don’t do the trick and I coudnt find a solution with JTidy or other related software/packages (most of them only support HTML 3.x or merely suck). Since HTML comes from SGML I thought of using the good oll SP, since it’s still the best sgml parser (ever). What I would like to do is call SP with JAVA using JNI (SP is written in C++). The problem is that I can’t seem to find a way/ information on how to do this (the SP-C++ part) or on the topic. Any information/tips are welcome.

Thnx in advance,

Jurgen