[tei-council] @rows="0", @cols="0"?

Martin Holmes mholmes at uvic.ca
Mon Feb 4 16:46:18 EST 2013


On 13-02-04 12:53 PM, Sebastian Rahtz wrote:
>
> On 4 Feb 2013, at 20:22, Martin Holmes <mholmes at uvic.ca>
>   wrote:you don't need Schematron, this is normal RELAX NG:
>>>
>>>     <rng:data type="nonNegativeInteger">
>>>        <rng:param name="minInclusive">1</rng:param>
>>>      </rng:data>
>>>
>>> or the like (untested).
>>
>> Wouldn't that involve changing the datatype from data.count?
>
> yes, which is no problem, surely?

Not as far as I know, but I thought it was preferable to have our 
datatypes declared as TEI macros such as data.count rather than direct 
declaration as RNG. Is there any policy on this? Should we be creating 
data.posInt or something for attributes like this, or just defining them 
directly?

Personally, for rows and cols, I'm sufficiently convinced that someone, 
somewhere, will want to have zero-column rows and zero-row cells that I 
don't think this is necessary, but I wanted to raise it before closing 
the ticket on valDescs -> Schematron.

Cheers,
Martin

-- 
Martin Holmes
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)


More information about the tei-council mailing list