[tei-council] outstanding issues in pure odd

Sebastian Rahtz sebastian.rahtz at it.ox.ac.uk
Fri Oct 3 08:46:24 EDT 2014


On 3 Oct 2014, at 10:54, Lou Burnard <lou.burnard at retired.ox.ac.uk> wrote:

> At the council meeting where this was last discussed, 
> (http://www.tei-c.org/Activities/Council/Meetings/tcm60.xml) , I think 
> we agreed on the following:
> 1.  add new <textNode> element to enable precise placing of text nodes 
> within a content model, even where this is not supported by the target 
> schema language
> 2.  permit @allowText on <alternate> and <sequence>

i think these were _alternatives_, and then we agred on 1. My view is that
we have the green light to just zap @allowText entirely.

> 3.  add <mixedContent> as an alternate to <content> as syntactic sugar 
> for the special case of <alternate allowText="true"> containing one or 
> more <elementRef>s (though an alternate with one child seems a bit weird)

no, as syntactic sugar for <content allowText=“true”>

> a. what about datatypes. These are currently always defined wrt either 
> RNG or W3C schemas. Leave well alone?
> 
for now, seems sensible to come back to later

> b. what does <classRef allowText="true"> mean, if anything?
> 
it won’t exist

> c. what syntax should we provide (if any) to support contextually 
> varying content models e.g. <p> within <teiHeader> can contain only text 
> but elsewhere must contain a sequence of <s> elements; <msDesc> is 
> allowed in <text> but not in <teiHeader> We've suggested using @context 
> (with an xPath) on <content> for this purpose but the details are not 
> yet fully worked out.
i suggested, as a starter, an example like this

<elementSpec ident="p">
 <content>
   <alternate>
     <sequence context="ancestor::text">
	<elementRef  key="s"  minOccurs="1"/>
     </sequence>
     <sequence context="ancestor::teiHeader">
	<macroRef key="macro.limitedContent"/>
     </sequence>
   </alternate>
 </content>
</elementSpec>

I suggest we need a working group to thrash that out…

--
Sebastian Rahtz      
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

Não sou nada.
Nunca serei nada.
Não posso querer ser nada.
À parte isso, tenho em mim todos os sonhos do mundo.



More information about the tei-council mailing list