From: Mats B. <ma...@pr...> - 2001-12-13 11:54:19
|
Hi all, I've made a number of bug fixes that has mainly to do with the -final 0 option to the TclXML parser, and a few other things. I was desperate! Now it should be possible to correctly parse XML that is chopped off anywhere. However, there may be side effects I haven't been able to see. So, I'd like someone to go through the tests, and test particularly the -final 0 option on arbitrarily chopped off XML. Perhaps someone could add similar tests to the test suit so we don't see this happen again. Download at: "http://hem.fyristorg.com/matben/download/tclxml-2.1theta-p1.tar.gz" /Mats CHANGES ------- (2001-12-13) by Mats Bengtsson (ma...@pr...) Fixes mainly to make the -final 0 option work. Only for *8.1* files. - Added the -statevariable to ::sgml::parseEvent call; initialization fix in parseEvent - Added the -statevariable to ::sgml::tokenise call to handle cases with chopped off xml at arbitrary places; added the 'leftover' array element to 'parse' - Now also takes the first four elements of tokenised for parsing in ::sgml::parseEvent, see comments there - Added error checking in xml::tclparser::configure - Added call to xml::tclparser::configure from xml::tclparser::parse - Added one-word error description to all -errorcommand calls, and fixed all list structures |