Forum OpenACS Q&A: Re: tDOM-related startup error

Collapse
Posted by Bruno Mattarollo on
Ok, for the record as well, I removed the tdom.tcl file from aolserver/modules/tcl/ ... and it works now ... The post from Baart was confusing in that sense. Installing now and we shall see.
Collapse
Posted by Bart Teeuwisse on
Bruno,

the error is the result of a namespace ambiguity. tDOM introduced
another 'info' command. The call to 'info' in tdom.tcl calls the
standard Tcl 'info' command, rather than the 'info' command in the
domNode or domDoc namespaces.

The solution is to amend the calls causing the error in tdom.tcl with
the domNode or domDoc namespace. E.g. info becomes domNode::info or
domDoc::info.

tdom.tcl is not required to use tDOM but does add several higher level
functions to the tdom API that could be of use. As far as I know, none
of these functions are currently used in OpenACS. But the might be
needed in the future.

/Bart