DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Cannot Generate PDF in XMetaL8 that I Could Generate in XMetaL6

  • edwardwoodward

    Cannot Generate PDF in XMetaL8 that I Could Generate in XMetaL6

    Participants 4
    Replies 5
    Last Activity 8 years, 10 months ago

    Hello,
    Using XMetaL Author Enterprise 8, having just upgraded from V6 (both Japanese).
    I tried generating PDF for 3 projects that I compiled successfully in V6. One compiles, but two end with the following error:

    [java] ERROR: Element 'fo:page-sequence' cannot be a child of 'fo:block'. Only block-level or inline-level elements are permitted in this context.

    [java] Rendering failed: Invalid XSL FO source 'file:/F:/DITA/guidelines/user/XMetaL/pdf_out/topic.fo': 1 error found during validation

    Can anyone tell me why this is happening? The source files haven't been touched in the period between the last succcessful PDF generation and the upgrade to V8.

    Cheers.

    Reply

    barbwire

    Reply to: Cannot Generate PDF in XMetaL8 that I Could Generate in XMetaL6

    Obviously you have (or somebody have) modified XSL which makes the fo-file. You can not put fo:page-sequence inside fo:block. You have to put fo:block inside fo:page-sequence

    Reply

    edwardwoodward

    Reply to: Cannot Generate PDF in XMetaL8 that I Could Generate in XMetaL6

    Thanks for the reply. I asked around and found out that 2 xsl files were changed when using V6 (to force dlentry to be displayed on a separate line).

    The files compile using the original and changed xsl files in V6. The files don't compile using the original or changed xsl files in V8. I compared the error logs for both attempts in V8 – they are identical. This suggests to me that something else has changed in V8 – tolerance of format errors perhaps.

    The 2 changed xsl files are as follows:
    ~Application DataSoftQuadXMetaL SharedDITA_OTpluginsxmfoCustomizationfoattrsxm-cfgtables-attr.xsl

    Changed:
    3pt 3pt 3pt 3pt
    To:
    3pt 3pt 3pt 10pt

    and:
    ~Application DataSoftQuadXMetaL SharedDITA_OTpluginsxmfoxslfotables.xsl

    Changed:

    To:

    and deleted the following 2 lines:

    Reply

    edwardwoodward

    Reply to: Cannot Generate PDF in XMetaL8 that I Could Generate in XMetaL6

    Just to make something clear.
    I don't think this is connected to the changed xsl files. I have just reinstalled V8 (deleting DITA OT, shared folders, etc). The files do not compile. A colleague is using V6: the files compile with and without the changed xsl files.
    I now have 2 manuals of about 100 topics each that I can't compile. “Something” in them was allowed in V6 and is not allowed in V8. Can anybody help?

    Reply

    barbwire

    Reply to: Cannot Generate PDF in XMetaL8 that I Could Generate in XMetaL6

    Just to make something clear.
    I don't think this is connected to the changed xsl files. I have just reinstalled V8 (deleting DITA OT, shared folders, etc). The files do not compile. A colleague is using V6: the files compile with and without the changed xsl files.
    I now have 2 manuals of about 100 topics each that I can't compile. “Something” in them was allowed in V6 and is not allowed in V8. Can anybody help?

    Well, I will make something clear too. That error message, what you posted on the first message clearly states, that the error comes from the xsl-file, which makes fo.

    Reply

    edwardwoodward

    Reply to: Cannot Generate PDF in XMetaL8 that I Could Generate in XMetaL6

    Well, I will make something clear too. That error message, what you posted on the first message clearly states, that the error comes from the xsl-file, which makes fo.

    Thank you. So the question now is, what has changed between V6 and V8? One or more of the xsl files? Or the way XMetal (or just the PDF engine) handles the fo?

    I went through the ditamap, deleting chunks and attempting to recompile. Eventually I found that a single topic was causing the problem. This is a glossary topic (with 2 glossentry elements) in the backmatter. When this is removed, the rest compiles. The topic itself is valid in V8. Does anyone have any idea why this would happen?

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support