[tei-council] content model of <surface>

Sebastian Rahtz sebastian.rahtz at oucs.ox.ac.uk
Wed May 9 05:09:55 EDT 2012


On 9 May 2012, at 10:01, Lou Burnard wrote:

> On 09/05/12 09:55, Sebastian Rahtz wrote:
>> 
>> I suppose someone does know why we want<surface>  to allow children of (eg)<pb/>?
>> 
> 
> Cf earlier discussion about <signed>
> 
> Could remove model.global as top level content of <surface> I suppose. 
> This would mean you'd need to define at least one zone.

I am thinking of shifting to this:

  <content>
    <group xmlns="http://relaxng.org/ns/structure/1.0" >
      <zeroOrMore>
        <ref name="model.glossLike"/>
      </zeroOrMore>
      <zeroOrMore>
        <ref name="model.graphicLike"/>
      </zeroOrMore>
      <zeroOrMore>
	<group>
	  <choice>
	    <ref name="zone"/>
	    <ref name="line"/>
	    <ref name="surface"/>
	    <ref name="surfaceGrp"/>
	  </choice>
	</group>
	<zeroOrMore>
	  <ref name="model.global"/>
	</zeroOrMore>
      </zeroOrMore>
    </group>
  </content>

what this would fail on is

   <surface>
     <graphic>
     <pb>
     <zone>
  </surface>

is that acceptable? 

Sebastian



More information about the tei-council mailing list