Hi,

on openSUSE Tumbleweed and the latest Debian (unstable) releases you will receive the following error when validating DocBook5 documents with DAPS:

ERROR: The URN specified with DOCBOOK5_RNG_URI points to a non-existing file "file:/usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng"

The reason for this error is a change in the output of the xmlcatalog program. Not sure whether this is intended or an error, but it used to return paths with the file:// prefix, while the versions on Tumbleweed and Debian return file: as a prefix.

We will fix this issue with the next release which will probably be published next week.

If you are affected by this error, there is an easy workaround you may use in the meantime:

  1. Run
xmlcatalog /etc/xml/catalog http://docbook.org/xml/5.0/rng/docbookxi.rng

and copy the result, e.g.

file:/usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng
  1. Create a file ~/.config/daps/dapsrc and add the following line:
DOCBOOK5_RNG_URI="file:///usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng"

The value of the parameter is the result from the xmlcatalog command where file: is replaced with file://

Have fun!
Frank