[tei-council] content model for <attDef>

Sebastian Rahtz sebastian.rahtz at oucs.ox.ac.uk
Sun Apr 29 10:07:53 EDT 2012


On 29 Apr 2012, at 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 wrong, but what is the point?

> 
> Whether I can choose from the infinity of integers or a set of three
> integers, it may be worthwhile to state explicitly that what I mean by
> "3" is an integer, as opposed to a string, for the purpose of further
> processing.
ah, thats the point.  I think you'd want to  through the details of this
and see how the different schema languages work 

> 
> 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?


really not sure

sebastian


More information about the tei-council mailing list