From: Daniel A. Steffen <steffen@ic...> - 2004-10-19 06:19:56
On 16/10/2004, at 7:19, Tod Olson wrote:
> Daniel A. Steffen wrote:
>> did you get the updated tcldom & tclxslt binaries from
>> unfortunately, due to an oversight on my part, the binaries originally
>> included in the 8.4.7 BI were linked against non-existent
>> libxml/libxslt/libexslt libraries in /usr/local/lib, whereas the new
>> new libraries link statically against these libraries, also c.f.
>> HTH, otherwise ask on tcl-mac or get back to me via mail
> After installing the updates, the ktrace data looks like maybe
> it's using a statically linked libxml2. That is, it still stats
> /usr/lib/libxml2.2.dynlib, but doesn't seem to open it.
> Even so, this simple series of commands, straight from cgi-dom:
> package require dom
> package require xpath
> set doc [dom::DOMImplementation create]
> set node [dom::DOMImplementation createNode $doc /record]
> spits out the message:
> method "createNode" not yet implemented
> TclDOM is certainly very new to me, but createNode seems too
> fundamental to be missing. Any other ideas? Otherwise I'll
> try the tcl-mac list.
> Thanks for pointing out the updates.
I don't know tcldom well, I use tdom; but from a glance at the sources
it looks like only the tcl implementation has the 'createNode'
subcommand implemented, but not the libxml implementation (which is
where your error message above comes from):
% set node [dom::tcl::DOMImplementation createNode $doc /record]
% set node [dom::libxml2::DOMImplementation createNode $doc /record]
method "createNode" not yet implemented
this is a general tcldom issue and has nothing to do with Mac OS X
specifically, so you should try ask on c.l.t again with a more generic
subject, or on the tclxml-users list on sourceforge.
** Daniel A. Steffen ** "And now for something completely
** Dept. of Mathematics ** different" Monty Python
** Macquarie University ** <mailto:steffen@...>
** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/>