[tei-council] Pure ODDness

Sebastian Rahtz sebastian.rahtz at it.ox.ac.uk
Thu Nov 21 09:04:28 EST 2013


On 20 Nov 2013, at 16:50, James Cummings <james.cummings at it.ox.ac.uk> wrote:
> 
> If b) then don't be specific to text but generalise to something 
> like @mode perhaps mode="mixed". Having c) with something other 
> than pcdata as a name sounds like fun though and leads to more 
> interesting definition of content models doesn't it?
> 
i think you may be hoping for something which isn’t possible in XML.
You can only have mixed or unmixed content models. There are no
other possibilities; i.e. you cannot say:

       foo+, text, bar+

so I don’t believe there is any advantage to <pcdata> or whatever. 
@mode=“mixed” or @allowsText=“true” is closer to the XML definition.

And yes, I know the Guidelines are not limited to XML yadda yadda yadda...

Sebastian


More information about the tei-council mailing list