David Crossley wrote: > Ferdinand Soethe wrote: > > >X [0] samples-b/sample.pdf BROKEN: > > >Error(Unknown location): fo:table-header is missing child elements. > > >Required Content Model: marker* (table-row+|table-cell+) > > I tested it on our site-author docs which have many more docs > with tables. It does not report errors for all docs that contain > tables, e.g. content/xdocs/docs_0_90/linking.xml is okay. > I supsect perhaps "table captions". Need more investigation.
No, the captions are okay. I found the problem by comparing documents that failed with all docs in site-author that contain tables. We have some sources that have tables with no <tr><th>...</tr> header row. I added a hack with r632692 to handle that. Can someone do better xsl? The other failure case is because we have some tables with a <th> on every row, e.g. docs_0_90/sitemap-ref.xml See line 453 in resources/stylesheets/helper-commonElements.xsl r632692 which does not handle it. Can someone help with that? -David