From: Christopher James Lahey <clahey@xi...> - 2005-07-25 19:54:06
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.
On Thu, 2005-07-14 at 08:10 +0100, Thomas Leonard wrote:
> ----- Forwarded message from Christopher James Lahey <clahey@...> -----
> Subject: docbook mime type detection
> From: Christopher James Lahey <clahey@...>
> 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?
> ----- End forwarded message -----
Get latest updates about Open Source Projects, Conferences and News.