Hi Dave,

Thanks for the suggestion. I hadn’t used Jing in so long that I didn’t remember 
that it has (or claims) support for Schematron.

Did you modify Jing or the Schematron rules? I tried running it using the 
docbookxi.rng schema and also with the docbook.sch schematron rules (DocBook 
5.0, .1, and 5.2) and didn’t have much success.

Running it using docbook.sch, I get a namespace error on db:, which is strange, 
since db is properly declared in the Schematron file. I even modified a test 
file so that it also used the prefix db: defined the same way, but no luck.

Running it on docbookxi.rng (with embedded schematron rules), it doesn’t flag 
any Schematron errors (I removed version from the root element and nested 
<note> inside a <note>, neither of which is not allowed by the rules). I did 
confirm that it flags errors against just the schema.

Any ideas would be welcome.

Thanks,
Dick
-------
XML Press
XML for Technical Communicators
http://xmlpress.net
hamil...@xmlpress.net



> On Jul 28, 2020, at 23:49, Dave Pawson <dave.paw...@gmail.com> wrote:
> 
> On Tue, 28 Jul 2020 at 22:55, Richard Hamilton <hamil...@xmlpress.net> wrote:
>> 
>> This is a question for the group.
>> 
>> What do you currently use for validating DocBook agains both RelaxNG and 
>> Schematron?
>> 
>> I’ve been looking around and downloading and trying some 10-to-15 year old 
>> solutions, but I figure there has to be something newer (or an update to one 
>> of the older ones) that does the job.
> 
> Jing? Fast and accurate. Does the job well IMHO.
> 
> 
> regards
> 
> 
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> Docbook FAQ.


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to