I'm running tlcsoap using the "batteries included' distribution of Tcl/
Tk Aqua 8.4.9 for MacOS X.
The included tclsoap package bombs out due to incompatabilities
with the dom package included in this distribution:
% package require SOAP
require dom package greater than 1.6
dom version 3.1 is included.
Looking at the code in, for example, SOAP.tcl, I find the following:
if { [catch {package require dom 2.0} ::SOAP::domVersion]} {
if { [catch {package require dom 1.6} ::SOAP::domVersion]} {
error "require dom package greater than 1.6"
}
package require SOAP::xpath; # TclSOAP
}
Simply removing the version requirement makes everything work
just fine, but perhaps that's not the correct solution. How about
something along the lines of:
set domVersion [package require dom]
if {$domVersion <= 1.6} {
...
}
Or is the proper solution to make sure that a version of the 2.x code
is available somewhere?