[tei-council] respond by 1 May: summary of and path forward for "no longer recommended" and "deprecated" practices

Sebastian Rahtz sebastian.rahtz at it.ox.ac.uk
Thu Jun 20 10:00:38 EDT 2013


On 20 Jun 2013, at 14:47, James Cummings <James.Cummings at it.ox.ac.uk>
 wrote:

> On 20/06/13 13:35, Sebastian Rahtz wrote:
>> you can add another Schematron which fires on D-Day minus 30.
>> 
>> its in att.deprecated.xml
> 
> Just double checking before I add it... am I doing the date arithmetic correctly there?
> 
> <sch:assert test="(@validUntil cast as xs:date - current-date()) lt (30*xs:dayTimeDuration('P1D'))">
> <!-- same warning below -->
> <sch:value-of select="if (@ident) then concat('The ', at ident) else concat('This ',local-name(.),' of ',ancestor::tei:*[@ident][1]/@ident)"/> construct is outdated (as of <sch:value-of select="@validUntil"/>); ODD processors may ignore it, and it should probably be removed
> </sch:assert>
> 
> I think that (30*xs:dayTimeDuration('P1D')) should do what I want?


i am in awe at your knowledge. if it works it works….
--
Sebastian Rahtz      
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431



More information about the tei-council mailing list