Optimizing Schematron using @saxon:memo-function

Tony Graham mentioned in an email his use of Saxon’s optimization hint attribute xsl:function/@saxon:memo-function to memo-ize the values of some functions.  He had investigated it for his Open Source focheck project that checks XSL-FO scripts. I was intrigued as I had never used this technique, and Tony kindly provided details…

...

Be smart in your choice of XSLT engine for Schematron

My article on  XML.COM “Revving the XSLT 1.0 Engines: Are they all the same?”  shows that XSLT engines vary dramatically in their performance. This has a direct impact on how to get the best performance for Schematron systems using the most common XSLT implementations. Michael Kay, a vendor of one…

...

Billy Lynn’s Long Halftime Walk reviewed: Lo-Fi versus Hi-Fi

Ben Fountain’s story has many of movie director Ang Lee’s tropes: the innocent boy making his way through a hostile world to an uncertain future, the adoptive father figure providing unexpected gentleness and wisdom,  the feisty girl with compromising motivations, Go West young man to escape the stultifying Nest, characters…

...

Design motivations of different schema languages

The XML.COM website has Rick Jelliffe’s article  Schemas: Different Strokes for Different Folks “Schema languages are the bedrock of XML software engineering; but why are they so different? Because their creators approached them with very different viewpoints about how software engineering should work.” This prompted a discussion about closure on…

...

Schematron-Related Patents

Going to the USPTO website and typing aclm/(Schematron) into the advanced search field shows US patents that mention Schematron in their actual claims (the core of the patent).  Here is the result: PAT. NO. Title 1 9,146,908 Validating an XML document 2 9,128,999 Managing software product-line customizations 3 8,914,370 Generating…

...

Wood and Bray revive XML.COM

Lauren Wood and Tim Bray have revived the XML.COM brand, and want to publish first class material.  First up Ken Holman has excellent ‘comprehensive introduction’ What is XSLT?, What is XSLT-FO?  and What is UBL?  XML.COM was the go-to site in the early days of XML, run by O’Reilly, Seybold…

...

Schematron source code gets a new home

After a few years in limbo, Schematron source code now has a definite home, at  GitHub. https://github.com/SchematronHere is the state of play https://github.com/Schematron/schematron  has the most recent (2010 with some fixes) version of my “official” skeleton implementation. I have updated the issues list with all the issues and enhancements that…

...

Schematron Users Meet-Up at XML Prague 2017

Tony Graham has co-organized a meet-up at this year’s XML Prague 2017 conference, for Schematron Users. Andrew Sales, the ultimate editor of ISO Schematron 2017, will be there to answer questions on the new standard.  See that link for more details: here is a summary: Schematron users seldom get a…

...

“Schematron is inefficient”? plus a challenge!

I think the only real complaint I hear sometimes about Schematron is that that some users find it inefficient. I am completely cool with this, in general: Schematron is a general-purpose tool/technology designed to be trivially constructed from COTS components, and the modern world’s answer to inefficiency is usually to…

...

Integrating Schematron with syslog

One of the cool thing about Schematron, is that it allows a high level of integration into systems that might want to consume the results of a validation.  The result of validation is not just the basic valid/invalid distinction (like DTDs), cryptic messages that frustrate end-users, or some abstract and…

...

Patents should reward objective perspiration not putative inspiration

I am not sure that you can get further from clickbait than the Semiconductor Museum website: but the interview with Jack Haenichen has a lot of interest concerning IP. Haenichen was a pioneer at Motorola in developing practical silicon transistors, and one of his babies, the 2N2222, sold billions and…

...

Six kinds of validation using Schematron

Document Invariants This is the most straightforward use of Schematron: your Schematron script is a schema that states what is supposed to be found  the data, metadata, structures and links in any or every XML document.  These may be fixed  such as “All documents should have head and body sections,…

...

SOA validation logging: reducing first-response latency

XHTML failed as a delivery dialect of HTML because XML is defined so that, strictly, you do not deliver a document until you know it is well-formed. That did not fit in with what WWW users need: they want the parts of the page rendered as soon as possible, as…

...