Validation with Schematron & RELAX NG with jing?

Thomas Schraitle <[email protected]> Wed, 18 Jan 2023 13:16:28 +0100
Newsgroups gmane.text.docbook.misc
Message-ID <[email protected]>
Hi,

for validation with DocBook RNG, I use Jing version 20220510. This works q=
uite
well. However, it seems the embedded Schematron rules aren't taken into ac=
count.

For example, let's consider this structure:

<article xmlns=3D"http://docbook.org/ns/docbook"
     xmlns:xlink=3D"http://www.w3.org/1999/xlink" version=3D"5.1">
     <title/>
     <note>
         <title/>
         <para/>
         <note>
             <para/>
         </note>
     </note>
</article>

Jing reports it's valid although the TDG states that admonitions must not =
be
nested. This "admons must not be nested" are the embedded Schematron rules
inside the DocBook RNG. However, it seems these additional rules aren't
considered at all by Jing. They are just skipped.

What do I need to do to enable the embedded Schematron rules in the DocBoo=
k RNG
schema with Jing? Or do you use a separate tool for this?

Thanks! :-)


=2D-
Gru=C3=9F/Regards
   Thomas Schraitle