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…

...

Jürgen Rennau’s Location Trees welcomed

The Proceedings of XML London 2017 don’t seem to be on their front page, but you can find them here (PDF).  One paper that has really caught my eye is Hans-Jürgen Rennau’s Location trees enable XSD based tool. It seems to provide a great missing step in  making XSD (W3C…

...

How to make your markup language pleasant: linear and unfolding

Why is Schematron relatively pleasant to read, by all accounts, while something like XProc (or XSD) is relatively difficult? Both are small, specialized languages which I have used in large projects, and I have been trying to put my finger on why I like one but am hesitant about the…

...

“Schemas do not imply any semantics of documents”

I liked this quote by RELAX NG inventor Dr Makoto Murata on a mail list recently. I thought it was really clearly put. Here is the exchange: C:  The order of elements (in Schema X) {actually} seems to matter. M:  The schema allows any order.  But this does not mean…

...

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,…

...

Alexander Schwartzman’s Quasi-Static and Quasi-Dynamic Constraints

Alexander Schwartzman has written a good article summarizing the lessons learned from using Schematron and DTDs together over multiple years for a non-trivial DTD. JATS Subset and Schematron: Achieving the Right Balance  from the Journal Article Tage Suite Conference 2017 is now online. Alexander is mainly concerned about whether you…

...

Can I assert patterns in Java Objects with Schematron?

Schematron has been useful over the years for detecting patterns in documents.  A simple expert system (multiple if-then-else changes) for capturing the constraints as human language,  implementing the tests using XPaths to provide a context and then to assert or report on things that should be true at the context. …

...

Lightweight inline schemas above structs?

The last thing I expect the world cares about is another schema language for XML!  But the XML ecosystem has had a lot of challenges with JSON.  XML comes from the markup world where your documents are made by domain experts not programmers, with the intention of abstracting away issues…

...

Validation result caching using a keystore

Scenario: You have a messaging or distributed pipeline architecture for your XML documents. An XML document make multiple stopovers from beginning to end, and a document may be stored and requested multiple times in its life.  Your documents go between different operations or groups under your roof, or comes from…

...

Could Schematron be used for Content Completion in editors?

Over at XML.COM,  Gerrit Imsieke has a stimulating article Epischemas: Schema Constraints that facilitate Content Completion.  He wants to improve content completion in XML editors (where the editor automatically fills in the next step) given that many interesting types of documents have additional constraints to those available in a simple…

...