[clahey at ximian.com: docbook mime type detection]

Luis Villa luis.villa at gmail.com
Tue Jul 26 21:33:14 EEST 2005


On 7/25/05, Christopher James Lahey <clahey at ximian.com> wrote:
> Does anyone have any suggestions for how to proceed here?  I want to
> make the mime system detect docbook, since there is a mime type for it.

Ping? I'm running into the same problem here- I'd like to set a
specific app to handle docbook, but AFAICT my options are either 'make
that app the handler for all XML', or not have it handle it at all.
Any ideas?

Luis

> On Thu, 2005-07-14 at 08:10 +0100, Thomas Leonard wrote:
> > ----- Forwarded message from Christopher James Lahey <clahey at ximian.com> -----
> >
> > Subject: docbook mime type detection
> > From: Christopher James Lahey <clahey at ximian.com>
> > Date: Wed, 13 Jul 2005 16:25:32 -0400
> >
> > I'm trying to figure out how to make the shared mime database detect the
> > mime type of docbook files.  I found the section where xml files can be
> > identified by namespace and root element name, but docbook appears to
> > not use a namespace.  Could this be extended to include checking the uri
> > of the doctype?  Perhaps alternatively we could check the pubid of the
> > external entity of the doctype?
> >
> > Alternatively, is it possible to specify an empty namespace and just
> > specify the localname?  That way any xml docs that match as <article> or
> > <book> would just be labeled as docbook.
> >
> > How do you suggest I go forward on this?
> >
> > Thanks,
> >     Chris
> >
> > ----- End forwarded message -----
> >
> 
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
>



More information about the xdg mailing list