Re: DocBook 5.1 Schematron schema

Jirka Kosek <[email protected]> Sun, 25 Nov 2018 23:23:46 +0100
Newsgroups gmane.text.docbook.misc
Message-ID <[email protected]>
On 24.11.2018 7:47, N. Raghavendra wrote:
> I am looking for a Schematron schema for DocBook 5.1, that has all the
> rules from docbookxi.rng.  The file docbookxi.sch that comes with the
> DocBook distribution doesn't have, e.g., "Root must have version" rules.
> Is a more complete Schematron schema available?

Hi Raghu,

this should be only rule missing in Schematron files. The problem was
caused by a bug in the build system that has been recently fixed:

https://github.com/docbook/docbook/commit/3b0b251c3094406c7f527828aa45303260dcb19f

Any future releases would contain Schematron schemas with rules checking
for version attribute.

If you don't want to wait you can extract all Schematron rules from
RELAX NG files by using tools like ExtractSchFromRNG.xsl

					Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: [email protected]      http://xmlguru.cz
------------------------------------------------------------------
     Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQRya5eRAjs9i3DpmvLPCZLDufR1HgUCW/sg8gAKCRDPCZLDufR1
Hh6RAJ9zyNysy/LUk6KYTGYcbo+kVwwGLQCdHAGgvkc2SLasQMvIYvT29I5gIq0=
=WQfB
-----END PGP SIGNATURE-----