For Programmers: Free Programming Magazines  


Home > Archive > Tcl > July 2004 > ANN: Version 3.0 of TclXML, TclDOM and TclXSLT









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ANN: Version 3.0 of TclXML, TclDOM and TclXSLT
Steve Ball

2004-07-12, 8:59 am

TclXML, TclDOM and TclXSLT version 3.0 are now available.

TclXML is a package that provides XML parsing for the Tcl scripting language.
It has three implementations of XML parsers: one written purely in Tcl
and wrappers for the expat and Gnome libxml2 C libraries.

New features of version 3.0 of the TclXML package include the introduction
of the libxml2 library.

TclDOM is a package that implements the W3C DOM interfaces for the
Tcl scripting language. It also has three implementations: one written
purely in Tcl, one written in C and a wrapper for the Gnome libxml2 C library.

New features of the version 3.0 of the TclDOM package include major
re-engineering to eliminate a serious bug in the use of the libxml2
library, as well as new API features such as node Tcl commands.

TclXSLT is a package that provides a Tcl interface to the Gnome libxslt
C library.

Sources, and binaries for Mac OS X (Panther) and MS Windows, are available now.

These packages may be downloaded from the TclXML website:

http://tclxml.sourceforge.net/

Enjoy,
Steve Ball
Zveno Pty Ltd
http://www.zveno.com/
Miguel Ba??n

2004-07-18, 3:59 pm

Steve.Ball@zveno.com (Steve Ball) wrote in message news:<12428477.0407120007.14096ccb@posting.google.com>...
> TclXML, TclDOM and TclXSLT version 3.0 are now available.
>
> TclXML is a package that provides XML parsing for the Tcl scripting language.
> It has three implementations of XML parsers: one written purely in Tcl
> and wrappers for the expat and Gnome libxml2 C libraries.
>
> New features of version 3.0 of the TclXML package include the introduction
> of the libxml2 library.
>
> TclDOM is a package that implements the W3C DOM interfaces for the
> Tcl scripting language. It also has three implementations: one written
> purely in Tcl, one written in C and a wrapper for the Gnome libxml2 C library.
>
> New features of the version 3.0 of the TclDOM package include major
> re-engineering to eliminate a serious bug in the use of the libxml2
> library, as well as new API features such as node Tcl commands.
>
> TclXSLT is a package that provides a Tcl interface to the Gnome libxslt
> C library.
>
> Sources, and binaries for Mac OS X (Panther) and MS Windows, are available now.
>
> These packages may be downloaded from the TclXML website:
>
> http://tclxml.sourceforge.net/
>
> Enjoy,
> Steve Ball
> Zveno Pty Ltd
> http://www.zveno.com/


Thanks for the release.

While I can run tkxmllint and play with xml::libxml2 and dom::libxml2,
I have problems running tkxsltproc, I get an error while loading
Tclxslt30.dll,

"couldn't load library ...path/Tclxslt30.dll: this library or a
dependent library could not be found in a library path"

I'm using the binary distribution of xsltproc for windows, over XP.

Any hint?
Steve Ball

2004-07-19, 8:58 pm

spanmeifyoucan@hotmail.com (Miguel Ba??n) wrote in message news:<892a12e7.0407180728.592884a3@posting.google.com>...
> Steve.Ball@zveno.com (Steve Ball) wrote in message news:<12428477.0407120007.14096ccb@posting.google.com>...
[...snip...][color=darkred]
>
> Thanks for the release.
>
> While I can run tkxmllint and play with xml::libxml2 and dom::libxml2,
> I have problems running tkxsltproc, I get an error while loading
> Tclxslt30.dll,
>
> "couldn't load library ...path/Tclxslt30.dll: this library or a
> dependent library could not be found in a library path"
>
> I'm using the binary distribution of xsltproc for windows, over XP.
>
> Any hint?


I have updated the combo Web page with the missing build detail.
In short, you need an additional dependant library, msvcr71.dll,
which is not included in the distribution because I was unsure of
the legal status of that DLL.

HTHs,
Steve Ball
Miguel Ba??n

2004-07-20, 4:00 pm

Steve.Ball@zveno.com (Steve Ball) wrote in message news:<12428477.0407191334.6bb2498a@posting.google.com>...
> spanmeifyoucan@hotmail.com (Miguel Ba??n) wrote in message news:<892a12e7.0407180728.592884a3@posting.google.com>...
> [...snip...]
>
> I have updated the combo Web page with the missing build detail.
> In short, you need an additional dependant library, msvcr71.dll,
> which is not included in the distribution because I was unsure of
> the legal status of that DLL.
>
> HTHs,
> Steve Ball


I already have msvcr71.dll in my system. I get the error when trying
to launch your binary distribution of tkxsltproc.exe v1.5, which also
includes it. the problem seems to be related to wrapped applications.

If I put base-tk-win32-ix86.exe on the tkxsltproc base dir, I get the
following:

% lappend auto_path [file dirname [info nameofexecutable]]
{C:/Documents and Settings/bagnon/Desktop/tkxsltproc-1.5/base-tk-win32-ix86.exe/lib/tcl8.4}
{C:/Documents and Settings/bagnon/Desktop/tkxsltproc-1.5/base-tk-win32-ix86.exe/lib}
{C:/Documents and Settings/bagnon/Desktop/tkxsltproc-1.5/base-tk-win32-ix86.exe/lib/tk8.4}
{C:/Documents and Settings/bagnon/Desktop/tkxsltproc-1.5}
(tkxsltproc-1.5) 2 % package require xml
3.0
(tkxsltproc-1.5) 3 % package require dom
3.0
(tkxsltproc-1.5) 4 % package require xslt
couldn't load library "{C:/Documents and
Settings/bagnon/Desktop/tkxsltproc-1.5/Tclxslt3.0}/Tclxslt30.dll":
this library or a dependent library could not be found in library path
(tkxsltproc-1.5) 5 %

However, if I install your libraries under my c:/Tcl/lib, and run the
plain c:/tcl/bin/wish, then it's ok.

% package require xml
3.0
(bin) 2 % package require dom
3.0
(bin) 3 % package require xslt
3.0
(bin) 4 %

I'm using the ActiveState TDK 3.1.
Steve Ball

2004-07-21, 8:58 pm

That's pretty weird. I have tested tkxsltproc 1.5 on Win2K and WinXP
systems (freshly installed test systems) and it starts with no problem.
libxslt is statically linked, so that should not be a dependency.

This seems to be a DLL-related issue. Any else have any thoughts?

Cheers,
Steve Ball

spanmeifyoucan@hotmail.com (Miguel Ba??n) wrote in message news:<892a12e7.0407200817.12339ceb@posting.google.com>...
> Steve.Ball@zveno.com (Steve Ball) wrote in message news:<12428477.0407191334.6bb2498a@posting.google.com>...
> [...snip...]
>
> I already have msvcr71.dll in my system. I get the error when trying
> to launch your binary distribution of tkxsltproc.exe v1.5, which also
> includes it. the problem seems to be related to wrapped applications.
>
> If I put base-tk-win32-ix86.exe on the tkxsltproc base dir, I get the
> following:
>
> % lappend auto_path [file dirname [info nameofexecutable]]
> {C:/Documents and Settings/bagnon/Desktop/tkxsltproc-1.5/base-tk-win32-ix86.exe/lib/tcl8.4}
> {C:/Documents and Settings/bagnon/Desktop/tkxsltproc-1.5/base-tk-win32-ix86.exe/lib}
> {C:/Documents and Settings/bagnon/Desktop/tkxsltproc-1.5/base-tk-win32-ix86.exe/lib/tk8.4}
> {C:/Documents and Settings/bagnon/Desktop/tkxsltproc-1.5}
> (tkxsltproc-1.5) 2 % package require xml
> 3.0
> (tkxsltproc-1.5) 3 % package require dom
> 3.0
> (tkxsltproc-1.5) 4 % package require xslt
> couldn't load library "{C:/Documents and
> Settings/bagnon/Desktop/tkxsltproc-1.5/Tclxslt3.0}/Tclxslt30.dll":
> this library or a dependent library could not be found in library path
> (tkxsltproc-1.5) 5 %
>
> However, if I install your libraries under my c:/Tcl/lib, and run the
> plain c:/tcl/bin/wish, then it's ok.
>
> % package require xml
> 3.0
> (bin) 2 % package require dom
> 3.0
> (bin) 3 % package require xslt
> 3.0
> (bin) 4 %
>
> I'm using the ActiveState TDK 3.1.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com