Problems with tcldom in tcl8.4.9?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problems with tcldom in tcl8.4.9?

G G-2
Hi,

The following small example works well for me in tcl 8.4.7, but
returns nothing in 8.4.9.
Has anybody else seen such a problem?
8.4.7 was used in Hoary, while 8.4.9 is used in Breezy.

First I assign a XML formatted string to a variable:
# set xml "<?xml version=\"1.0\" standalone=\"yes\"?>
<res s=\"97925911\">
<op id=\"0\" >
<avl>
<ai i=\"1\" v=\"1\" />
</avl>
</op>
</res>"

Then I want to parse it with dom parse:
#::dom::parse $xml

In .7 I get the expected "doc0" response, which I can continue to work
with.
In .9 I only get a blank line, and no errors.

It seems tclxml and tcldom is the same versions in both cases, but libxml2 is slightly newer in breezy.
Could this be what causes the problem?

Thanks for any advice.
Best regards,
Geir

--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users