Hello. I'm new to nstcl. I'm interested in
nstcl-templating.
But I found some errors when using nstcl-templating
with tcllib1.6.
(1) ::htmlparse::escapes is now ordinally list (not an
array)
So I need this change.
@@ -1316,7 +1313,8 @@
# but then doesn't have that mapping in mapEscapes
to map back
# to a regular \, so we'll "fix" it here if it's
still broken locally...
- if {![info exists ::htmlparse::escapes(bsl)]} {
+ if {[array exists ::htmlparse::escapes]
+ && ![info exists ::htmlparse::escapes(bsl)]} {
set ::htmlparse::escapes(bsl) \\
}
(2) struct tree's api (walk,get,set) is now changed.
Since htmlparse depends on struct 2.0, we cannot
do [package require struct 1.4].
Attached patch contains my challenge to this, but it is
not finished.
The rest problem is exception raised by [$tree get
$node data].
I think this is because default behavior of get is changed
for $key eq "data".