CheckMate

About Downloads FAQ Contact

CheckMate FAQ

Q: Can I use CheckMate to check the structure of my web pages?

A: Provided your website is created using XHTML, yes! And CSL, the scripting language developed for CheckMate, makes it very easy to construct validation rules that relate to specific combinations of elements and attributes. (Refer to the samples provided with the CheckMate download package and the CheckMate Quick Guide to learn more.)

Q: Why doesn't CheckMate complain about illegal element names?

A: By default element and attribute name checking is turned off. However, you can provide the software with a text file listing your permitted element names. Call it elements.cml or similar and save it to your scripts folder, or wherever else is convenient. (The most important thing about the name you choose for your allowed elements file is that it has the extension .cml) Select the allowed elements file via File | Load allowed elements file. Then turn on element name checking via the checkbox to the right of the text box where the location of the loaded XML file is displayed. A list of allowed attributes can be specified via an analogous mechanism.

Q: What's wrong with schematron?

A: For many purposes, absolutely nothing at all! In many environments it successfully forms the basis of industrial-strength validation mechanisms. However, it is not especially easy to set up or get the most from, and can therefore be regarded as something of a specialist's tool. The driving idea behind CheckMate was the notion that content validation could be made simple enough for it to become a task for content originators, not something that's the sole preserve of techies.

Q: Can CheckMate handle XML namespaces?

A: As it stands, yes and no. It is not truly 'namespace aware', since it merely treats a namespace prefix as part of the element name. If prefixes for the same namespace are liable to vary in your content then you could encounter issues. True namespace awareness is planned for a future release of the software.

Q: Is CheckMate a 'proper' XML tool?

A: An XML purist could well say no, on account of its lack of namespace awareness and lack of full Unicode smarts, for example. The point was to develop a simple application that gets the job done for most people most of the time, and get it out there earning its living. Give it try, see if it works for you!

Q: Why isn't XML editing functionality built into CheckMate?

A: Because CheckMate's focus is validation. There are many very capable editors out there, from Notepad++ to sophisticated environments like Oxygen XML Editor. CheckMate works very well alongside such tools as the means for rapidly iterating towards sets of validation rules that can quickly be adjusted to fit the content features you want to allow and warn you about those you want to be rid of.

Q: What can I do with the error reports CheckMate creates?

A: CheckMate error reports can be saved as XML files that provide full information about where errors occur and which rules they relate to. You might decide to develop an XSL transform to process these error reports and modify the source content in order to highlight areas requiring attention.

Q: What's under the bonnet?

A: CheckMate is written using Lazarus, a fantastic GUI-based programming environment based on the free pascal compiler.


Copyright © 2017 Epistemic Systems Limited