Public bug reported:

The TclXML package's DOM support is broken - when the libtclxml3.2.so is
loaded, it does not export the commands in the libxml2 namespace, so the
parse function fails.

Demonstration:
run the following tcl commands.

package require dom
set dom [dom::parse {<?xml version="1.0" encoding="utf-8"?><foo></foo>}]

Expected results:
Creation of a simple DOM with a single root node.

Actual results:
tclsh
% package require dom
3.2
% set dom [dom::parse {<?xml version="1.0" encoding="utf-8"?><foo></foo>}]   
invalid command name "dom::libxml2::adoptdocument"
% 

lsb_release -rd
Description:    Ubuntu 20.10
Release:        20.10


apt-cache policy  tclxml
tclxml:
  Installed: 1:3.2.7-5
  Candidate: 1:3.2.7-5
  Version table:
 *** 1:3.2.7-5 500
        500 http://us.archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
        100 /var/lib/dpkg/status

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1903782

Title:
  tclxml: dom::parse fails, cannot find dom::libxml2::adoptdocument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1903782/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to