[action] add 'deprecated' to TCDL 2.0 and Schematron

Hi,

I have action items to update the TCDL 2.0 schema and the ISO 
Schematron with the added 'deprecated' status [1] [2].
The TCDL 2.0 schema does not constrain the status values, so nothing 
needs to be changed there. (I had simply forgotten there was no list 
in the schema.)

The Schematron contains a pattern (formalMetadataStatus_2) that 
checks status values, and 'deprecated' has been added there. I'm 
sending the updated ISO Schematron file as an attachment, followed by 
the batch file, which has undergone some minor (!) changes.
To run the batch file on Window, you need to rename it to 
schematron.bat; you will also need the tools I described in my 
previous message about the ISO Schematron code [3]. With this batch 
file, you can check a TCDL file with a command like the following:

   C:\schematron tcdl2.0.tsdtf.20070828.sch scx.x.x_lx_xxx.xml

You will then get a report called scx.x.x_lx_xxx.xml.report.xml; if 
this XML file contains failed-assert elements (in the svrl 
namespace), there are errors in the TCDL file.

Alternatively, if you have a copy of the XML editor <oXygen/> [4], 
you can use that instead of the batch file.
If you don't have Microsoft Windows, I hope it will be easy to create 
a shell script or something based on the batch file. There is an 
example for Linux at <http://www.dpawson.co.uk/schematron/running.html#ex3.11>.

Best regards,

Christophe

[1] http://www.w3.org/2007/08/28-tsdtf-minutes.html#action06
[2] http://www.w3.org/2007/08/28-tsdtf-minutes.html#action04
[3] http://lists.w3.org/Archives/Public/public-wai-ert-tsdtf/2007Jun/0010.html
[4] http://www.oxygenxml.com/validation.html

-- 
Christophe Strobbe
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
B-3001 Leuven-Heverlee
BELGIUM
tel: +32 16 32 85 51
http://www.docarch.be/ 

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Received on Tuesday, 28 August 2007 15:17:58 UTC