[tei-council] P4 to P5: figure no longer allowed after div?

Sebastian Rahtz sebastian.rahtz at oucs.ox.ac.uk
Tue Jul 1 18:52:31 EDT 2008


Peter Boot wrote:
>              <div>
>                  <div><p></p></div>
>                  <figure></figure>
>              </div>
>   
Hmm. Yes, it is illegal. <figure> is not in model.divBottom. You
can do:

 <div
     <div></div>
      <epigraph>
      <figure/>    
    </epigraph>
  </div>

if that would help?
>
> I know there are people that feel this is the correct behaviour with 
> paragraphs rather than figures. Has there been a conscious decision to 
> tighten the schemas in this respect, or could it be an oversight? Or am 
> I missing something?
>   
It was certainly a conscious decision to clean
up that <div> content model. I don't _remember_
excluding <figure> from divBottom, it was more
a matter of listing things that _were_ to be allowed.

oddly, <trailer> does not allow <figure> as a child,
which looks like an error. <postscript> allows
<figure> content too.

-- 
Sebastian Rahtz      

Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431



More information about the tei-council mailing list