Re: XML catalog for fontconfig
On Tue, Feb 03, 2004 at 10:00:26AM -0600, Ardo van Rangelrooij wrote:
> Hi,
>
> Hmm, good questions. We might want to move this onto debian-sgml.
>
> What probably should happen (other please feel free to pitch in here):
>
> - freedesktop.org should "host" this DTD on their web server (unless
> people are expected to have it installed locally in all situations)
Or, as Ardo & I have briefly discussed off-list, it would make sense
to have debian host some DTDs (etc.) in some canonical directory.
Doing so would amount to having valid system identifiers that would
look something like:
"http://www.debian.org/xml/freedesktop/.../fonts.dtd"
along with an FPI: -//Debian/DTD Fonts Catalog V1.0//EN"
The reason I suggest this is that the need for such a facility is
IMO going to continue to grow. (We already have one case with a
customization of the XML Catalog DTD.) For example, if DDP, or some
such entity adopts a customization of some version of DocBook, it'd
be nice to have a real, valid, system id. We might have the same
need for a Debian namespace(s), eventually.
Just a thought,..., but one that I think is pursuing.
Cheers,
Mark
>
> - they need to provide a public id, e.g.
>
> "-//freedesktop.org//DTD Fonts Catalog V1.0//EN"
>
> and a system id, e.g.
>
> "http://www.freedesktop.org/fontconfig/fonts.dtd"
>
> - the DTD should be moved from /etc/fonts/fonts.dtd to somewhere under
> /usr/share/xml and a local XML catalog should be provided in the
> same directory as the DTD
>
> - then you can register the DTD in the XML catalog system for the
> public id and system id pointing to the local XML catalog
>
> That's it in a nutshell (I think).
>
> Thanks,
> Ardo
>
> Josselin Mouette (joss@debian.org) wrote:
> > Hi,
> >
> > I'd like some advice about what to do if I want to register the
> > fonts.conf DTD with xml-core. I suppose I'll need to call
> > update-xmlcatalogs in the postinst or use the upcoming
> > dh_installxmlcatalogs, but I don't understand what I'm supposed to do
> > when I don't know at all what are those ID, root and stuff. The
> > configuration file currently use a SYSTEM doctype requiring the DTD to
> > be located in the same directory. What should I change?
> >
> > Thanks,
> > --
> > .''`. Josselin Mouette /\./\
> > : :' : josselin.mouette@ens-lyon.org
> > `. `' joss@debian.org
> > `- Debian GNU/Linux -- The power of freedom
>
>
>
> --
> Ardo van Rangelrooij
> home email: ardo@debian.org
> home page: http://people.debian.org/~ardo
> GnuPG fp: 3B 1F 21 72 00 5C 3A 73 7F 72 DF D9 90 78 47 F9
>
>
> --
> To UNSUBSCRIBE, email to debian-sgml-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
-------------------------------------
Mark Johnson <mark@dulug.duke.edu>
Debian XML/SGML <mrj@debian.org>
Home Page: <http://dulug.duke.edu/~mark/>
GPG fp: DBEA FA3C C46A 70B5 F120 568B 89D5 4F61 C07D E242
Reply to: