From: Steve B. <Ste...@zv...> - 2003-02-14 23:25:39
|
Chad, Unfortunately, it would seem that you're caught between the inadequacies of an earlier version and the differences between implementations. First, the good news: TclDOM/libxml2 v2.6 has all of the basic missing methods and options (such as 'removeNode') implemented. In fact, the TclDOM CVS HEAD has those changes committed (in the CVS it is still called "2.5", but I'm working on the v2.6 release right now and will not commit the version number change until that it complete). Second, the parse options for TclDOM/tcl have not been implemented for TclDOM/libxml2. You should file a bug report on that. Last, the bad news is that I have not been able to put together an effective build system under Windows so I can't generate binaries for that platform (any help from Windows gurus would be appreciated!). Your best bet right now is TclDevKit, currently in beta release, which does include more recent binaries for TclDOM/libxml2. HTHs, Steve Ball Chad Thatcher wrote: > I am using tclxml and tcldom 2.4 straight out of the latest activestate > distro on windows and it seems very very broken. I cant upgrade to 2.5 > because I dont have a commercial compiler on my windows install (I have > mingw/msys but there seems to be no makefiles for it). > > Sadly it has also broken my little app I was developing which was > working fine on 2.0. > > There seems to be so many things wrong I dont know where to begin. > Firstly my package includes are as follow: > > package require xml 2.4 package require dom 2.4 > > and my usual parse line: > > ::dom::DOMImplementation parse $_xml -chunksize 10 -progresscommand > {progress_counter} > > just breaks completely with the message: > > bad option "....the xml source!!!....": must be -baseuri or external > entity command... > > > I tried to make sense of all the changes since 2.0 but am honestly > struggling. How can I go about just using the thing as normal like before? > > I tried using the expat library and then also the libxml2 with > ::dom::libxml2::parse and they get a lot further but then complain > saying basic things like removeNode are not implemented! > Have I gone backwards in version?! > > Any help would be greatly appreciated. > > Thanks, > > Chad. > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > are you planning your Web Server Security? Click here to get a FREE > Thawte SSL guide and find the answers to all your SSL security issues. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > _______________________________________________ > Tclxml-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclxml-users -- 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 |