forked from Lainports/freebsd-ports
This PR was submitted 5 January 2013. It suffered a bit of bitrot, but
staging worked out of the box. I made some minor adjustments.
PR: 174988
Submitted by: Sebastien Santoro
================================================================
tclsoap provides support for building clients and servers
for the SOAP remote procedure call protocol from Tcl. SOAP
is an XML based RPC mechanism which provides cross-platform
cross language compatability.
17 lines
549 B
Tcl
17 lines
549 B
Tcl
diff --git xpath.tcl xpath.tcl
|
|
index 14b0334..f33e02c 100644
|
|
--- xpath.tcl
|
|
+++ xpath.tcl
|
|
@@ -14,10 +14,9 @@
|
|
# for more details.
|
|
# -------------------------------------------------------------------------
|
|
|
|
-if { [catch {package require dom 2.0}] } {
|
|
- if { [catch {package require dom 1.6}] } {
|
|
+namespace eval ::SOAP {variable domVersion}
|
|
+if { [catch {package require dom} ::SOAP::domVersion] || [package vcompare $::SOAP::domVersion 1.6] < 0} {
|
|
error "require dom package greater than 1.6"
|
|
- }
|
|
}
|
|
|
|
namespace eval SOAP::xpath {
|