[tei-council] processing TEI times

Sebastian Rahtz sebastian.rahtz at oucs.ox.ac.uk
Sun Oct 2 18:23:50 EDT 2005


good god!

     <rng:data type="token">
        <rng:param
name="pattern">(-?\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01
])T)?([01][0-9]|2[0-3])(:[0-5][0-9])?(Z|[+\-]((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
</rng:param>
      </rng:data>

Really, I don't think this is wise. Define a separate datatype
for "isodateformat", and let people change to that if they want.
Add an extra attribute called "@isodate" or something.
But adding "oh and practically anything else" at the end of a list of
datatypes from an external source just does not seem right.

What do others think?

-- 
Sebastian Rahtz      
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

OSS Watch: JISC Open Source Advisory Service
http://www.oss-watch.ac.uk




More information about the tei-council mailing list