← Prev in month ← Prev in thread

Validating DocBook V5.0

From
Ken Morse <>
Date
2007-06-14T00:58:04+00:00
ID
Thread
Validating DocBook V5.0
I've been reading through the "DocBook V5.0: The Transition Guide"
(http://www.docbook.org/docs/howto/) about validating V5 documents.

From that document, "Sun Multi-Schema XML Validator (MSV) is able to
validate an XML document against a RELAX NG schema *and* Schematron
rules at the same time" (emphasis mine). Unfortunately (on Windows at
least) the exit code doesn't seem to be set when validation fails --
which makes automation a bit difficult. Anyone else experienced this?

As an alternative, I thought I might use xmllint -- anyone know if it
is able to validate both against a RELAX NG schema and Schematron
rules?

Thanks,
Ken
← Prev in month ← Prev in thread