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

Bug #1903782 reported by Wowbagger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tclxml (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1903782/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Wowbagger (ha87psc02) wrote :

change to package tclxml

affects: ubuntu → tclxml (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.