Re: Validating against Schematron
Norman Tovey-Walsh <[email protected]> Thu, 30 Jul 2020 07:59:02 +0100
| Newsgroups | gmane.text.docbook.apps |
|---|---|
| Message-ID | <[email protected]> |
Richard Hamilton <[email protected]> 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 <[email protected]> https://nwalsh.com/ > The greatest of all secrets is knowing how to reduce the force of > envy.--Cardinal De Retz
signature.asc
(application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAl8ib7YACgkQhVWfHhJM AHlo8A//ZO+JzK3FWcYRguKYRtEHR1IKzrFdCijgvGAAjSJAxru2Lq/pErWhRzhJ 3cOfA0UT8ubWFtYyzyfL4xw0aYLCemVsma+fPjOLn8eQyGSTrvy9oFqqmWhXd0Ki /ciGaO2wfb6mwQBHkbyCuVvdIQKtYXIXU8Oa13sYzrI1rQHKRPFAPSNy72tJol0b +9AZfl0Tw7/+bpErLjiJmvkA16aO3sFROaLzuBZO4GDuHGIFdYTJlj3sQ/AzvYbK R6lr2wYCgVjBuz3QPBJKcBm0l/D3bQ9rI5Oqbm3VOSu1WAKjHmcaJvTl+rLHUB64 HxYKI21c/tH1OZC3rsnSa1abXkAsUs9U+4LxAxUhBjqXPuazhH6OXAyZZfmZL+ft 17CsCNhwd0Gt75rxgRihu+cavOzz84gXh2vuL3FCbadoXp8Evc+uv+iku+vc3iSj NmWNIksXFKTxDtriBDmquxkw6mHsMO2ZOXy8BwNtCLo4MBQ1njxhPcLoqS/oJEu2 ah/G1XUdrE1oOP2IFrBaqWGh9lK9fIrJCaJGBEUpxKDQl7RRq2T3m3wxgD3MJivq k9pg/E6EKZTixViVMaJFXhb+vqpoVPpC+yup8Pdm0McuZR3a5fkA44mBW2B9AID4 ApyVPYPnRx7TrIl+SlXdg81KOTxNITgSwB7eNkKaJewyAFPPdwM= =ShQx -----END PGP SIGNATURE-----