Schematron QuickFix project

Schematron QuickFix logo  


Read more on the Schematron QuickFix hompage.


by Nico Kutscherauer

On 14 March 2014, our Schematron developer Nico Kutscherauer published his project „Schematron QuickFix“. This open source project which is supported by the W3C extends the Schematron language by the functionality of defining QuickFixes. An implementation should offer the user these QuickFixes for the reported Schematron errors. With just one click the user can decide which QuickFix acceptably fixes the error.

Why do we need it?

Schematron has become a very popular language in the XML world. More and more publishers and other companies use Schematron to ensure the quality of their documents. The reasons for the breakthrough of Schematron do not matter here. We are interested in the task to handle Schematron reports. What is to be done if documents are not compliant with the Schematron schema? Who is able to fix the reported errors?

Today, the companies have two alternatives:

  • The author: He knows the context of the document. He is the expert in his subject and he knows what he intends with his content. But in most cases he is not very good in XML. In addition, he already committed the error! How shall he fix it correctly?

  • A XML expert: He is very good in XML. In some cases, he knows how to fix the error. But his working hours are very expensive. Moreover, there are many cases when he does not know how to fix the errors because he has to guess what the author has meant.

Because none of them is able to fix the Schematron reported errors, much communication is necessary to fix all errors correctly. So, the author and the XML expert need more time and the company loses much money.

What is the idea?

In order to save money and nerves we will give the author the chance to solve the problem by himself without producing new errors. The Schematron report should not only list what the author did wrong. It should give him options – called QuickFixes – to fix these errors. The author can now choose which QuickFix is the right fix for the corresponding Schematron error.

When he has chosen the matching QuickFixes, he can "execute" them. With one click his problems end in smoke. Of course, we do not want to pretend that it is that easy. For many errors, no perfect QuickFix exists. However, sometimes the errors have to be fixed manually. But the QuickFixes can help in many situations.

The project needs support

All good ideas need people who disseminate them. If you think this idea is a good one, please help to improve it. On this page you will find ways to support the SQF project.


<< back