Control: reassign -1 emacs24-common 24.5+1-6

as it is emacs24-common that contains the schemas.

On 2007-03-01 12:24:16 +0100, Steinar Bang wrote:
> I was bit by this bug today.  I was trying to use <code> inside a
> <para>, which has been there since DocBook 4.3.
> 
> The most current DocBook XML release, is 4.5:
>  http://www.docbook.org/schemas/4x
> 
> A RNG version of the DocBook 4.5 schema can be picked up from the
> above URL.

And now there is DocBook 5. If I take the example from

  /usr/share/doc/docbook5-xml/docs/howto.html

(docbook5-xml package):

<?xml version="1.0" encoding="utf-8"?>
<article xmlns="http://docbook.org/ns/docbook"; version="5.0" xml:lang="en">
  <title>Sample article</title>
  <para>This is a very short article.</para>
</article>

emacs chooses /usr/share/emacs/24.5/etc/schema/docbook.rnc and says
that it is invalid.

I think that what should be done is to either update the docbook
rnc files to 4.5 (if Emacs still wants to support DocBook 4.x), or
remove them entirely (if Emacs wants to support DocBook 5 only).
For DocBook 5, there is no need to provide rnc files as they are
already provided by the docbook5-xml package (this is not the case
of DocBook 4.x).

Then, for /usr/share/emacs/24.5/etc/schema/schemas.xml, with root
elements like article, book, etc., Emacs should select DocBook 5
if the root element has a version="5.0" attribute, and DocBook 4.5
otherwise (if still supported).

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to