Debian Bug report logs -
#423087
w3c-dtd-xhtml: path to entity sets is wrong
Reported by: Syd_Bauman@Brown.edu
Date: Wed, 9 May 2007 16:57:01 UTC
Severity: normal
Found in version w3c-dtd-xhtml/1.1-5
Fixed in version 1.2-4+rm
Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Syd Bauman <Syd_Bauman@Brown.edu>, Frederic Schutz <schutz@mathgen.ch>:
Bug#423087; Package w3c-dtd-xhtml.
(full text, mbox, link).
Acknowledgement sent to Syd_Bauman@Brown.edu:
New Bug report received and forwarded. Copy sent to Syd Bauman <Syd_Bauman@Brown.edu>, Frederic Schutz <schutz@mathgen.ch>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: w3c-dtd-xhtml
Version: 1.1-5
Severity: normal
Am I doing something wrong, here? It seems unfathomable that this
package has had this problem since 2004-08-08 and no one has reported
it.
Both the file /usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd
and the file /usr/share/xml/xhtml/schema/dtd/1.0/catalog refer to the
three entity sets lat1, symbol, and special using system identifiers
that are for files in the same directory as the catalog or DTD, but
the entity files are actually stored in
/usr/share/xml/entities/xhtml/.
(I presume the same problem is true in at least the catalog.xml file,
if not several of the other DTD files -- I haven't checked.)
P.S. I have solved this on my own system by putting symlinks to the
entity files into /usr/share/xml/xhtml/schema/dtd/1.0/, but I'm
thinking that for the package perhaps the system identifiers
should be, e.g., ../../../entities/xhtml/xhtml-lat1.ent.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages w3c-dtd-xhtml depends on:
ii sgml-base 1.26 SGML infrastructure and SGML catal
ii sgml-data 2.0.3 common SGML and XML data
ii xml-core 0.09 XML infrastructure and XML catalog
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Frederic Schutz <schutz@mathgen.ch>:
Bug#423087; Package w3c-dtd-xhtml.
(full text, mbox, link).
Acknowledgement sent to Daniel Leidert <daniel.leidert@wgdd.de>:
Extra info received and forwarded to list. Copy sent to Frederic Schutz <schutz@mathgen.ch>.
(full text, mbox, link).
Message #10 received at 423087@bugs.debian.org (full text, mbox, reply):
Am Mittwoch, den 09.05.2007, 12:53 -0400 schrieb Syd Bauman:
> Package: w3c-dtd-xhtml
> Version: 1.1-5
> Severity: normal
>
>
> Am I doing something wrong, here? It seems unfathomable that this
> package has had this problem since 2004-08-08 and no one has reported
> it.
>
> Both the file /usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd
> and the file /usr/share/xml/xhtml/schema/dtd/1.0/catalog refer to the
> three entity sets lat1, symbol, and special using system identifiers
> that are for files in the same directory as the catalog or DTD, but
> the entity files are actually stored in
> /usr/share/xml/entities/xhtml/.
The catalog does not refer to them. They are commented. The catalog used
seems to be /usr/share/xml/entities/xhtml/catalog, which is ok.
$ xmlcatalog --sgml /etc/sgml/catalog "-//W3C//ENTITIES Latin 1 for XHTML//EN"
/usr/share/xml/entities/xhtml/xhtml-lat1.ent
Looks good. It resolves the location correctly.
> (I presume the same problem is true in at least the catalog.xml file,
> if not several of the other DTD files -- I haven't checked.)
$ xmlcatalog /etc/xml/catalog "-//W3C//ENTITIES Latin 1 for XHTML//EN"
file:///usr/share/xml/entities/xhtml/xhtml-lat1.ent
Looks good to me too. I don't see any issue.
> P.S. I have solved this on my own system by putting symlinks to the
> entity files into /usr/share/xml/xhtml/schema/dtd/1.0/, but I'm
> thinking that for the package perhaps the system identifiers
> should be, e.g., ../../../entities/xhtml/xhtml-lat1.ent.
Which issues did you observe, that these steps became necessary IYO?
Regards, Daniel
Information forwarded to debian-bugs-dist@lists.debian.org, Frederic Schutz <schutz@mathgen.ch>:
Bug#423087; Package w3c-dtd-xhtml.
(full text, mbox, link).
Acknowledgement sent to "Onkar Shinde" <onkarshinde@gmail.com>:
Extra info received and forwarded to list. Copy sent to Frederic Schutz <schutz@mathgen.ch>.
(full text, mbox, link).
Message #18 received at 423087@bugs.debian.org (full text, mbox, reply):
The problem is that the DTD can not be used for validation in programs
(at least java applications). The reason is that the program tries to
find entity sets in same directory as DTD since the DTD contains only
file names and not full path.
Is there any solution for this other than having symlinks in
appropriate directories?
Information forwarded to debian-bugs-dist@lists.debian.org, Frederic Schutz <schutz@mathgen.ch>:
Bug#423087; Package w3c-dtd-xhtml.
(full text, mbox, link).
Acknowledgement sent to Daniel Leidert <daniel.leidert@wgdd.de>:
Extra info received and forwarded to list. Copy sent to Frederic Schutz <schutz@mathgen.ch>.
(full text, mbox, link).
Message #23 received at 423087@bugs.debian.org (full text, mbox, reply):
Am Dienstag, den 15.01.2008, 20:49 +0530 schrieb Onkar Shinde:
> The problem is that the DTD can not be used for validation in programs
> (at least java applications). The reason is that the program tries to
> find entity sets in same directory as DTD since the DTD contains only
> file names and not full path.
>
> Is there any solution for this other than having symlinks in
> appropriate directories?
Use libxml-commons-resolver1.1-java(-gcj) and add the .jar
and /etc/xml/resolver/ to the classpath. This will make use of the
catalogs.
Regards, Daniel
Information forwarded to debian-bugs-dist@lists.debian.org, Frederic Schutz <schutz@mathgen.ch>:
Bug#423087; Package w3c-dtd-xhtml.
(full text, mbox, link).
Acknowledgement sent to "Onkar Shinde" <onkarshinde@gmail.com>:
Extra info received and forwarded to list. Copy sent to Frederic Schutz <schutz@mathgen.ch>.
(full text, mbox, link).
Message #28 received at 423087@bugs.debian.org (full text, mbox, reply):
On Jan 22, 2008 11:18 PM, Daniel Leidert <daniel.leidert@wgdd.de> wrote:
> Am Dienstag, den 15.01.2008, 20:49 +0530 schrieb Onkar Shinde:
> > The problem is that the DTD can not be used for validation in programs
> > (at least java applications). The reason is that the program tries to
> > find entity sets in same directory as DTD since the DTD contains only
> > file names and not full path.
> >
> > Is there any solution for this other than having symlinks in
> > appropriate directories?
>
> Use libxml-commons-resolver1.1-java(-gcj) and add the .jar
> and /etc/xml/resolver/ to the classpath. This will make use of the
> catalogs.
(Forgot to do rely all previously, hence this response didn't land in BTS).
Do you really expect the users/developers to have that library
installed whenever they want to programatically validate xml files
using DTDs from this package.
Why not move the entity sets in the same directory as DTD.
If that is not possible then we can simply add symlinks.
Regards,
Onkar
Information forwarded to debian-bugs-dist@lists.debian.org, Frederic Schutz <schutz@mathgen.ch>:
Bug#423087; Package w3c-dtd-xhtml.
(full text, mbox, link).
Acknowledgement sent to "Onkar Shinde" <onkarshinde@gmail.com>:
Extra info received and forwarded to list. Copy sent to Frederic Schutz <schutz@mathgen.ch>.
(full text, mbox, link).
Message #33 received at 423087@bugs.debian.org (full text, mbox, reply):
The problem is resolved in the Ubuntu version in hardy (8.04) in
acceptable way (IMO), even if you don't agree it is a problem.
I will be glad if the fix will be merged in Debian.
Regards,
Onkar
Reply sent
to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Thu, 07 Jan 2016 18:39:31 GMT) (full text, mbox, link).
Notification sent
to Syd_Bauman@Brown.edu:
Bug acknowledged by developer.
(Thu, 07 Jan 2016 18:39:31 GMT) (full text, mbox, link).
Message #38 received at 423087-done@bugs.debian.org (full text, mbox, reply):
Version: 1.2-4+rm
Dear submitter,
as the package w3c-dtd-xhtml has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/711332
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 11 Feb 2016 07:35:53 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 11 10:19:05 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.