xmldiff-xmlrev fails to compile in the xslt file

Bug #474649 reported by Andrew
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xmldiff (Debian)
Fix Released
Unknown
xmldiff (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: xmldiff-xmlrev

xmlrev fails to execute:

xmlrev file1.xml file2.xml
compilation error: file /usr/share/sgml/stylesheet/xmldiff/xmlrev.xslt line 21 element attribute
xsl:attribute: The prefixed QName 'xmlns:x' has no namespace binding in scope in the stylesheet; this is an error, since the namespace was not specified by the instruction itself.

Debian bug number: 484768

ProblemType: Bug
Architecture: amd64
Date: Wed Nov 4 12:54:03 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: xmldiff-xmlrev 0.6.8-4ubuntu3
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: xmldiff
Uname: Linux 2.6.31-14-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:3113): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:3159): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:3149): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

Revision history for this message
Andrew (andrew-rw-robinson) wrote :
summary: - xmldiff-xmlrev XSL has errors
+ xmldiff-xmlrev fails to compile in the xslt file
Changed in xmldiff (Debian):
status: Unknown → New
Revision history for this message
Roel de Cock (ubuntulinux-spogelse) wrote :

As far as I can see, xmlrev.xslt is broken in two ways.

Firstly, it contains
<xsl:attribute name="xmlns:x">http://www.w3.org/1999/XSL/Transform</xsl:attribute>
which is illegal and, I think, unnessecary.

But removing it probably isn't going to help very much because a bit later, xmlrev may call 3 templates xupdate:insert-before, xupdate:insert-after and xupdate:append which are simply not implemented.

I don't know how these things go, but someone may want to pass this on to upstream.

Changed in xmldiff (Debian):
status: New → Fix Released
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.