Your message dated Sun, 28 Dec 2008 02:16:25 +0100
with message-id <[email protected]>
and subject line Re: libxml2: 'xmllint --loaddtd --valid' doesn't detect an
invalid XML file
has caused the Debian Bug report #186088,
regarding libxml2: 'xmllint --loaddtd --valid' doesn't detect an invalid XML
file
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.)
--
186088: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=186088
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libxml2
Version: 2.5.4-1
Severity: normal
Tags: upstream
Consider the following files:
-- tst.xml -------------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE root SYSTEM "tst.dtd">
<root/>
------------------------------------------------------------------
-- tst.dtd -------------------------------------------------------
<!ENTITY % HTMLlat1 PUBLIC
"-//W3C//ENTITIES Latin 1 for XHTML//EN"
"xhtml-lat1.ent">
%HTMLlat1;
<!ENTITY % URI "CDATA">
<!ELEMENT root (#PCDATA)>
<!ATTLIST root
xmlns %URI; #IMPLIED
>
------------------------------------------------------------------
and the standard xhtml-lat1.ent is in the current directory.
'xmllint --loaddtd --valid tst.xml' doesn't report any error, though
the XML file is invalid (a standalone="yes" is missing). See
https://sourceforge.net/tracker/index.php?func=detail&aid=707469&group_id=10127&atid=110127
(I first thought that there was a bug in Sablotron, which reported an
error, but according to this discussion, this is due to the fact that
the XML file is invalid.)
-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux ay 2.4.18-newpmac #1 Thu Mar 14 22:44:49 EST 2002 ppc
Locale: LANG=C, LC_CTYPE=en_US.ISO8859-1
Versions of packages libxml2 depends on:
ii libc6 2.3.1-16 GNU C Library: Shared libraries an
ii zlib1g 1:1.1.4-11 compression library - runtime
-- no debconf information
--- End Message ---
--- Begin Message ---
I'm closing this bug since the behavior of xmllint is correct.
The real problem is in fact with Sablotron, even though the XML/XSLT
specs allow its behavior.
--
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
--- End Message ---