From: Steve B. <Ste...@zv...> - 2003-02-04 20:50:43
|
Ted Nolan SRI Augusta GA wrote: > You may recall that back in December, I had found a bug in using the > pure Tcl version of tclxml to parse XML streams with the "-final 0" option. [...snip...] > The tokenized xml seems to be put into a list in 4-tuples, as in the > loop at line 332 of sgmlparser.tcl: > > foreach {tag close param text} $sgml > > The rose patch on line 175 of sgmlparse.tcl inserts -5- empty tuples > into the tokenized xml: > > set sgml [linsert $sgml 0 {} {} {} {} {}] > > This pushes what was a "tag" into being a "close". > > Should this not be -4- empty tuples? > > If I apply the following patch: [...snip...] The thing to do at this stage is get the test suite setup correctly. I'll look at adding your test script to the suite today, and run the tests against the current version of the parser and then with your patch applied. This should get into the v2.6 release. Cheers, Steve Ball -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |