[tei-council] datatype issues (part 1)
sebastian.rahtz at oucs.ox.ac.uk
Thu Sep 22 06:27:00 EDT 2005
On dates/times again, one should bear in mind that XML processors
may start using datatype information. At the moment, the
only thing where it matters is in validation; but in the world
of W3C Schema and XSLT2, the processing application can say
"what basic datatype did you work out for this attribute". So if
our schema said "xsd:dateTime | long-regexp-allowing:13:15as-a-time",
then the processor might take different actions depending
on whether you did 13:15 or 13:15:00.
It is not easy to think through whether this matters or not.
As ever, I vote to keep the default to be compliant with XSD, and to
simply document how people who need full ISO 8601 can
extend their local schema.
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
OSS Watch: JISC Open Source Advisory Service
More information about the tei-council