[tei-council] content model for <attDef>
Lou Burnard
lou.burnard at retired.ox.ac.uk
Sun Apr 29 08:24:16 EDT 2012
On 29/04/12 13:03, Piotr Bański wrote:
> I may be misunderstanding, but what is wrong with defining the datatype
> for an attribute and then pre-selecting a proper subset of possible
> values with that datatype?
>
Nothing at all. And you can certainly do that in ODD. But I don't know
whether Sebastian's current code will check that when both datatype and
valList are present, they are mutually compatible. Not hard to find out
though!
>
> I understand that it didn't work that way in DTDs, where one could
> either state the datatype or enumerate the values without a datatype,
> but with more elaborate schema languages, it surely is possible to
> enumerate within a datatype, is it not?
I think this rather depends on the schema language.
More information about the tei-council
mailing list