[tei-council] Quick survey of defaultVals

Martin Holmes mholmes at uvic.ca
Thu Feb 7 11:02:20 EST 2013


On 13-02-06 03:35 PM, Sebastian Rahtz wrote:
> One way of dealing with this is to decide that <defaultVal> is _always_ purely documentary,
> and say that ODD processors should not attempt to put it in a schema. It says how
> we intend you to read the specification, and it is guidance for a processing model. Its
> a shame to lose the information that <datatype> without @maxOccurs should be treated
> as if it has a limit of 1.

It took me a while to figure out what the last sentence has to do with 
the preceding, but I think I've got it: the defaultVal of @maxOccurs is 
1. That's a good example of where defaultVal makes perfect sense, but 
it's not a context most users will ever think about.

Cheers,
Martin

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


More information about the tei-council mailing list