OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Validating against Schematron


Richard Hamilton <hamilton@xmlpress.net> writes:
> 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.

If I grab the latest 5.2 repo and build it, jing (20181222) validates
src/test/docbook/pass/article.001.xml with build/docbook.sch without any
errors.

And if I take out the version attribute, I get:

$ jing build/docbook.sch src/test/docbook/fail/article.001.xml
/Users/ndw/Projects/docbook/docbook/src/test/docbook/fail/article.001.xml:1: error: assertion failed:
  If this element is the root element, it must have a version attribute.

                                        Be seeing you,
                                          norm

--
Norman Tovey-Walsh <ndw@nwalsh.com>
https://nwalsh.com/

> The greatest of all secrets is knowing how to reduce the force of
> envy.--Cardinal De Retz

Attachment: signature.asc
Description: PGP signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]