Re: xsl-fo 1.1, section 6.2 usage

On 13 December 2010 17:06, Tony Graham
<Tony.Graham@menteithconsulting.com> wrote:
> On Wed, Dec 08 2010 12:37:06 +0000, dave.pawson@gmail.com wrote:
>> 6.4.21 fo:title
>> has a content model
>>
>> Contents:
>>
>> (#PCDATA|%inline;)*
>>
>> from 6.2, it seems I can add any element from the first neutral group,
>> any from the first out of line group
>
> No.
>
>> and and from the second out of line group.
>
> No.
>
> The text after the contents in Section 6.4.21 [1] is:
>
>   An fo:title is not permitted to have an fo:float, fo:footnote or
>   fo:marker as a descendant.
>
> So from Section 6.2 [2], neither the first out-of-line ("float") nor the
> second ("footnote") is allowed.
>
>> Where should these elements fit in the 'content model' please?
>> naming them 'group'
>> is it
>>
>> (#PCDATA|%inline;| group)*
>
> That would be the general principle.  It doesn't express prohibitions
> such as:
>
>   Additionally, an fo:title is not permitted to have as a descendant an
>   fo:block-container that generates an absolutely positioned area.
>
> or, for other FOs, the possible addition of fo:marker.
>
>> Is that correct?
>>
>> It seems a very brittle method, relying on the WG 'memory' of how this works?
>



I still find it very vague and woolly.
That small group are identified, then no further reference made to them
other than by exception (inferred)?

Simply makes it very hard for the reader.


regards


-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

Received on Tuesday, 14 December 2010 10:15:01 UTC