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

...

Sorting out Log4J 2.0’s strict schemas

Log4J version 2.0 has two dialects of its XML configuration language: concise and strict. Concise mode is fairly well document and freeform. It uses the reflection API and plugins, so that if there is a plugin available, you can just call its name directly.  So there is no schema: the…

...

What’s in Java 10 (and 9) for XML Developers?

Java JDK 10 arrived this month (March 2018). It has much less radical changes compared to Java 9. The general trend: In: JSON/AJAX, Docker, effeciency, security JavaDoc, unmutable collections, more support for charsets in API Out: XML-WS (SOAP), CORBA, Java WebStart, RMI (When I say “out”, some are just removed…

...

The most interesting Class of Computer Languages

In the previous blog  (XML as a canary in the mine: can Intel IPSC help stagnant C get its mojo back?), I mentioned three classes of languages that are thriving, plus one that I suggest is not. But that leaves out what I think is the most interesting class of…

...

Using XPath to make Assertions is now a common technique

The idea of using XPath in a schema language about structured data probably first came up with Dave Raggett’s Assertion Grammars. This was a recasting DTDs that allowed (I don’t know if this part was ever implemented) the context element to specified using an XPath: called Conditions. I think of…

...

How many developers think different?

The StackOverflow yearly survey came out today. This week I have been writing some posts thinking about what modes of thinking, jobs, technologies, debugging strategies might be suitable for developers with smaller working memories or below average short-term-memory-consolidation.  And I have suggested that the emphasis in the hiring exams of…

...

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…

...

Analysis versus Synthesis: are we atuned to each kind of thinking?

Does some of the supposed discrimination in the hiring policy of high tech companies actually have the common root cause that while the companies’ hiring regimes are brilliant at identifying useful analytical thinkers they are weak at finding useful synthetic thinkers?  (In fact, the regimes may actually weed out useful…

...

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…

...