Your message dated Mon, 06 Jun 2011 08:49:23 +0000
with message-id <[email protected]>
and subject line Bug#627158: fixed in xmlstarlet 1.2.0-1
has caused the Debian Bug report #627158,
regarding xmlstarlet: two regressions in 'val' subcommand
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
627158: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627158
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xmlstarlet
Version: 1.1.0-1
Severity: important
Affects: src:fusionforge
Hi,
I’ve found two regressions in xmlstarlet val. Let me show:
SID $ xmlstarlet val -d /usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd
xinvalid.htm
xinvalid.htm - invalid
LENNY # xmlstarlet val -d /usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd
xinvalid.htm
xinvalid.htm:7: parser error : Opening and ending tag mismatch: p line 7 and div
<p> </div>
^
xinvalid.htm - invalid
Errorlevel is set to 1 correctly in both cases, but the
diagnostics (which I’m using in FusionForge) are missing.
I found out that there’s a ‘-e’ option which is supposed
to show errors.
1|SID $ xmlstarlet val -e -d
/usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd xinvalid.htm
xinvalid.htm:7: Entity 'nbsp' not defined
xinvalid.htm:7: Opening and ending tag mismatch: p line 7 and div
xinvalid.htm - invalid
1|LENNY # xmlstarlet val -e -d
/usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd xinvalid.htm
xinvalid.htm:7: parser error : Opening and ending tag mismatch: p line 7 and div
<p> </div>
^
xinvalid.htm - invalid
It’s still not as verbose as I would have liked. But what’s that?
Now let’s try with a valid XML file:
1|SID $ xmlstarlet val -d /usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd
xvalid.htm
xvalid.htm - valid
SID $ xmlstarlet val -e -d
/usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd xvalid.htm
xvalid.htm:7: Entity 'nbsp' not defined
xvalid.htm - valid
SID $ dpkg -l xmlstarlet
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=====================-=====================-==========================================================
ii xmlstarlet 1.1.0-1 command line XML toolkit
The errorlevel is correctly set to 0, but the nbsp problem is still
there. For the record, I could *not* get the sid version of xmlstarlet
to accept the entity, not even when embedding them (all three from
/usr/share/xml/entities/xhtml/) into the DTD.
1|LENNY # xmlstarlet val -d
/usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd xvalid.htm
xvalid.htm - valid
LENNY # xmlstarlet val -e -d
/usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd xvalid.htm
xvalid.htm - valid
LENNY # dpkg -l xmlstarlet
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=====================-=====================-==========================================================
ii xmlstarlet 1.0.1-2 command line XML toolkit
This version has not the same problem. I consider this a serious
regression in the usability of xmlstarlet as an in-band XML/HTML
validator. The entity problem is even worse in the case of actually
broken files, when you have to scroll over several hundred of them
to get to the error message. (Personally I’m against but I
have to deal with legacy codebase.)
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh
Versions of packages xmlstarlet depends on:
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libxml2 2.7.8.dfsg-2+b1 GNOME XML library
ii libxslt1.1 1.1.26-7+b1 XSLT 1.0 processing library - runt
xmlstarlet recommends no packages.
xmlstarlet suggests no packages.
-- no debconf information
Title: blub
--- Begin Message ---
Source: xmlstarlet
Source-Version: 1.2.0-1
We believe that the bug you reported is fixed in the latest version of
xmlstarlet, which is due to be installed in the Debian FTP archive:
xmlstarlet_1.2.0-1.debian.tar.gz
to main/x/xmlstarlet/xmlstarlet_1.2.0-1.debian.tar.gz
xmlstarlet_1.2.0-1.dsc
to main/x/xmlstarlet/xmlstarlet_1.2.0-1.dsc
xmlstarlet_1.2.0-1_amd64.deb
to main/x/xmlstarlet/xmlstarlet_1.2.0-1_amd64.deb
xmlstarlet_1.2.0.orig.tar.gz
to main/x/xmlstarlet/xmlstarlet_1.2.0.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mònica Ramírez Arceda <[email protected]> (supplier of updated xmlstarlet
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 05 Jun 2011 20:22:47 +0200
Source: xmlstarlet
Binary: xmlstarlet
Architecture: source amd64
Version: 1.2.0-1
Distribution: unstable
Urgency: low
Maintainer: Mònica Ramírez Arceda <[email protected]>
Changed-By: Mònica Ramírez Arceda <[email protected]>
Description:
xmlstarlet - command line XML toolkit
Closes: 627158
Changes:
xmlstarlet (1.2.0-1) unstable; urgency=low
.
* New upstream release.
- Restore input context (lost in version 1.0.3) to error messages.
(Closes: #627158)
* Bump to Standards-Version 3.9.2. No changes required.
* fix_inconsistency_man_page.patch: update patch header to fix minor
spelling.
Checksums-Sha1:
13bcee0c98cd4727bea6f15858c3001e9a12011a 1929 xmlstarlet_1.2.0-1.dsc
6016d4b2dee8805044c3522c65f7cf3449825cf5 382893 xmlstarlet_1.2.0.orig.tar.gz
fd32514461c84792e04d969f665aa36d2635385b 5633 xmlstarlet_1.2.0-1.debian.tar.gz
c303a877dfbac267e0d54551790ba71c25109879 181542 xmlstarlet_1.2.0-1_amd64.deb
Checksums-Sha256:
338fc5383d008bc49c174fa49e86527df2d446bb1c3b52d7c59e030a61e9d3ee 1929
xmlstarlet_1.2.0-1.dsc
4d24c042e5ba2ce526e0a0213490ea652590da57926828b418ae0d30a35248ef 382893
xmlstarlet_1.2.0.orig.tar.gz
0e3ceabe441ecf542674c52c55029d3598e037bca7c54de6f57268348b9f722a 5633
xmlstarlet_1.2.0-1.debian.tar.gz
880547ec2a5336c616f46ab847e792ba34fe686823bc21add051d85d032ca216 181542
xmlstarlet_1.2.0-1_amd64.deb
Files:
408f97c926445fa8d29a5f642993979b 1929 text optional xmlstarlet_1.2.0-1.dsc
53541d8b1222b722a9292703d61f924b 382893 text optional
xmlstarlet_1.2.0.orig.tar.gz
ddc74d15d5371df613343ead0d0089f3 5633 text optional
xmlstarlet_1.2.0-1.debian.tar.gz
2b6e1c97d2654cef38df9186b364dbb9 181542 text optional
xmlstarlet_1.2.0-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Signed by Ana Guerrero
iQIcBAEBCAAGBQJN7Im/AAoJELNGT4lqoVlII6YQALcVCNzpXvQ2JfgokZDp+SLC
SFEQ0QGujav/z3AT4M5opLCARokuziJNOjT1BHJtX0bgg3KCPsOsihP2GALCErWZ
skR858vAGoMwxDIb/5TB+ssjkfprSXSLc93KSkztUtJ6BgzI+Aar0PpPJrnkl6LN
ujKqsNcw8Unm/4FNOXLLIDYvmp1JfXBkzn7NlTEAybhG2r431qkAakxfb6eGjY8V
NcfWQplAhNq0d7vJpcsp2vH/HFSdrNeYpUzPg18CeoFcDFNihBaS4WjwKiLMlDMB
Q9ZFI27OxyNr0GljnOQPsnPupU1Ah/sTOVW0nurO3dEQWPENq6oA0CCpT9YpD2F4
c6LrZrFEkjJrlSwKagLIDfjZAKwc5RKFi+o7rgwx1kLUYZxdEHagnxSxy7oXmHDL
FMAMTs8guwF7CpDCBGEYoXB5zMmMoGWMjiPh8bVpCegedxQ8Hnpu68yiSRS6LKvI
nHm6md6nhVE/7oqjdktYWqCbrPIFfVwXYTikOD8zE5LbF1nUoiiDOp4UsJ51HOib
YxsN3UI0mzEPNNLr/9qjzVTNbXv7KnqeNmvsbq+dGTxKM1aRbO8/U1SYHt8Bf31q
/smtgppVMombu7gYK9slIcDjfe+cbSkPMTaQcOIfYIFppLlx6sllENuUT//28y8N
24A9OxsJgjMRUQI7xm39
=HA4C
-----END PGP SIGNATURE-----
--- End Message ---