We use the v9 snippet insertion feature to add PDF files and encountered some odd behaviour:
[1.]
H&M adds a blank page (with header/footer) after every PDF snippet insertion, EXCEPT insertions of PDFs with 2 or more pages. Those work fine.
Inserting page breaks of any kind around the snippet insertions have not changed the behaviour.
I suspect the skin trying to enforce header/footer to the page, failing to fit it, then appending a blank one to house it.
[2.]
H&M throws error 103 when publishing a document ending with inserted pdf snippets. As soon as another normal page is appended (single character added), it publishes fine.
Here the XML code:
Text followed by a small table followed by the 3 PDF snippet insertions.
Code: Select all
<topic template="Default" modified="(...)" lasteditedby="(...)" version="2">
<title>Some Text</title>
<body>
<header>
<para styleclass="Heading1">Some Text</para>
</header>
<para styleclass="Normal" style="page-break-before:always;">Some Text</para>
<para styleclass="Normal"><table styleclass="Default" rowcount="4" colcount="2" style="cell-padding:3px; page-break-inside:avoid; border-width:0px; border-spacing:0px; border-collapse:collapse; cell-border-width:1px; border-color:#000000; border-style:solid;">
(...)
</table></para>
<para styleclass="Normal"><snippet src="OnePagePdf.pdf" inline="false"/></para>
<para styleclass="Normal"><snippet src="AnotherOnePagePdf.pdf" inline="false"/></para>
<para styleclass="Normal"><snippet src="TwoPagePdf.pdf" inline="false"/></para>
<para styleclass="Normal">Without this paragraph, Error 103 !!!</para>
</body>
</topic>