The Most Common Programming Error with Schematron

Schematron is a small, simple language, by design.  The complexity is not in the elements, but sloughed off to the XPaths. But if there is one mistake that I sometimes see developers make, it is this: people think that all the rules in a pattern will be tried.  In fact,…

...

Alan Turing and Tony Hoare on Assertions

Schematron is a language for making assertions about whole XML documents, that each part of various patterns must be present. Schematon (and the other XML schema languages starting with DTDs) are a little special in that they are geared for assertions to be made on large complex data structure, but…

...

Is XML only half finished? The X Refactor

The W3 Standard for XML is now 20 years old. I sent original of this post to the XML-DEV mail list suggesting a different vision for XML: reconstruct SGML’s power but as a definite pipeline of simpler stages, but without DTDs or SGML Declaration. (This version: 2018-02-13) Where is XML…

...

Minor correction to schema for SVRL

I have made some minor corrections to the RELAX NG schema for ISO SVRL on Github and this site.  (The Schematron Validation Reporting Langage is a way to produce the results of validating some document with Schematron in standard XML: it can then easier to use by subsequent XML tools….

...

OOXML, I did it again! So where are the newest ODF and OOXML?

The most recent specifications for ODF and OOXML are available free at the ISO Publicly Available Standards website. They have both been substantially revised and augmented over the past decade. ODF For Open Document Format, the standard is split into three parts: ISO/IEC 26300-1:2015 Information technology — Open Document Format…

...

TEI P5 3.2.0 Additional Constraints, plus tribute to Sebastian Rahtz

The academic-focused Text Encoding Initiative is a long-running project largely lead through Oxford University. They have released their latest update to their P5 version,  TEI P5 3.2.0 They now favour this One document does it all (ODD) idea, where they want to collect everything into a single document: metadata, text,…

...

ISO Schematron 2016 Released!

The updated standard for ISO Schematron 2nd edition (ISO/IEC 19757-3:2016) has been published and is freely available from ISO. ISO standards are reviewed every 10 years to see if there is still some reason to have them on the books, and this review is often a good excuse to incorporate…

...