From: SourceForge.net <no...@so...> - 2005-10-07 10:15:23
|
Bugs item #1315700, was opened at 2005-10-07 18:44 Message generated for change (Comment added) made by xmldoc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1315700&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: DocBook XSL Group: Print/FO/PDF Status: Open Resolution: None Priority: 5 Submitted By: Michael Smith (xmldoc) Assigned to: Nobody/Anonymous (nobody) Summary: FO: testdocs/part.001.xml breaks XEP output Initial Comment: Appears like we have an ambiguous template match somewhere that seems to be causing the stylesheets to generate invalid FO output. /sandbox/cvstools/saxon tests/part.001.xml ../xsl/fo/docbook.xsl part.001.xep.fo use.extensions="1" xep.extensions="1" Making portrait pages on USletter paper (8.5inx11in) Recoverable error Ambiguous rule match for /part[1]/glossary[1] Matches both "glossary[@role='auto']" on line 243 of file:/sandbox/xsl/fo/glossary.xsl and "book/glossary|part/glossary|/glossary" on line 111 of file:/sandbox/xsl/fo/glossary.xsl Warning: processing automatic glossary without a glossary.collection file. Warning: processing automatic glossary without a glossary.collection file. xep -quiet part.001.xep.fo part.001.xep.pdf [error] Element 'fo:block' cannot be a child of 'fo:root'. ... Parse error: Invalid XSL FO source 'file:/sandbox/testdocs/part.001.xep.fo': 46 errors found during validation ---------------------------------------------------------------------- >Comment By: Michael Smith (xmldoc) Date: 2005-10-07 19:15 Message: Logged In: YES user_id=118135 Seems the ambigous template match is not the problem. Maybe it is the glossary role="auto"? But I specificy glossary.collection="glossary.002.data.xml" for HTML and get expected output. But even if I specify it for FO output, XEP still fails. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1315700&group_id=21935 |