Derek Fountain wrote:
> I've got ActiveTcl-8.3.4.3 on a Linux box, and tried to run this script:
[...snip...]
> When I run the script, I get a segv back. There's no core.
TclDOM is all-Tcl, so it would be surprising to get a
segv. However, ActiveTcl includes TclExpat (the expat
wrapper for TclXML). I suspect that it is TclXML/expat
segv'ing while parsing the XML document.
Try parsing using the Tcl parser, ie
set doc [dom::parse $xml -parser tcl]
Just a couple of days ago I managed to compile TclXML/expat
on my MacOSX m/c and core dumps are occurring in the
markup declaration code (exactly what was described in the
c.l.t. postings). Investigations are underway, but getting
the Tcl2K2 paper written takes higher priority ;-)
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
|