← Prev in month ← Prev in thread
Next in thread → Next in month →

odf 1.1 section 4.2 s2 unclear, contradicts schema?

From
Dave Pawson <>
Date
2008-07-27T14:05:09+00:00
ID
Thread
odf 1.1 section 4.2 s2 unclear, contradicts schema?
Documents with page sequences do not have a main text flow consisting
of headings and paragraphs as is the case for documents that do not
contain a page sequence.

1. The statement is unclear.

Suggest:
"Documents with page sequences must not have a main text flow
consisting of headings and paragraphs."


2. If this is a requirement (it is written as a statement), then it
should be backed up by the schema.

The schema allows, as valid,

<office:body>
  <office:text>
    <text:h text:outline-level="1" />

    <text:page-sequence>
      <text:page text:master-page-name="m1"/>
      <text:page text:master-page-name="m2"/>
    </text:page-sequence>
  </office:text>
</office:body>


The schema could be written to allow one or the other, but not both.

The schema is unnecessarily weak.

regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
← Prev in month ← Prev in thread
Next in thread → Next in month →