From: Joe E. <jen...@fl...> - 2003-03-28 20:41:57
|
Forest W wrote: > I did this instead, in the include directory that contains expat.h: > > ln -s expat.h xmlparse.h > > And the TclDOMPro source compiled, though these warnings came up: > > tdpExpat.c:3540: warning: passing arg 2 of > `XML_SetDoctypeDeclHandler' from incompatible pointer type > > livelist.c:124: warning: passing arg 4 of pointer to function from > incompatible pointer type > > Is it safe to ignore those warnings? The second one is OK to ignore (I just missed a CONST84 in the Tcl 8.4 constification process), but the first one might be a problem -- the function signature for doctype handlers changed between expat 1.2 and 1.95. (That said, I've been using tcldompro with expat 1.95 for quite a while now without seeing any problems. Then again I rarely use <!DOCTYPE ...> declarations, so YMMV.) I've just committed a new version of tdpExpat.c and other relevant files to make it compile cleanly with expat 1.95. > Also, the author of TclSOAP told me that TclDOM doesn't require TclXML > when built using the TclDOMPro implementation. Is that true? That's correct; the tcldom/src codebase is independant of the rest of TclXML / TclDOM. (It does share the test suite and documentation, although those have diverged considerably.) --Joe English jen...@fl... |