DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion RenderX XEP Omits Conditional Attributes

  • kwag_myers

    RenderX XEP Omits Conditional Attributes

    Participants 3
    Replies 4
    Last Activity 11 years, 3 months ago

    This is probably related to the issue I'm having here: [url=http://forums.xmetal.com/index.php/topic,1362.0.html]http://forums.xmetal.com/index.php/topic,1362.0.html[/url] – XMetaL Hangs When Generating Output.

    When I generate a PDF with conditional text set for Product A the output fails with the following highlighted in the log:

    [code]
    transform.fo2xmpdf.xep:

    [echo] transform.fo2xmpdf.xep start

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] ERROR: Element 'fo:table' cannot have non-empty text descendants here.

    [java] Rendering failed: Invalid XSL FO source 'file:/C:/Users/…(my edit)../2.1.1/pdf_out/topic.fo': 14 errors found during validation

    [java] Java Result: 1

    [echo] transform.fo2xmpdf.xep end
    [/code]

    If I clear all settings in the Show/Hide Conditional Text dialog box the output generates everything with a Product attribute is omitted. This includes several topics that are set in the map. Any ideas?

    Reply

    Derek Read

    Reply to: RenderX XEP Omits Conditional Attributes

    What does the DITA source look like? Assuming you have not made any changes to the DITA Open Toolkit then this is likely triggered by the XML files. Best to narrow this down to a single problem file.

    Reply

    gcrews

    Reply to: RenderX XEP Omits Conditional Attributes

    Is the table title conrefed by any chance or conditionally processed out?
    It might be related to this issue I ran into with the toolkit processing:
    http://tech.groups.yahoo.com/group/dita-users/message/23156

    Reply

    kwag_myers

    Reply to: RenderX XEP Omits Conditional Attributes

    What does the DITA source look like? Assuming you have not made any changes to the DITA Open Toolkit then this is likely triggered by the XML files. Best to narrow this down to a single problem file.

    I was using a custom OT. I removed the output parameter for the custom OT with no change in the results.

    Is the table title conrefed by any chance or conditionally processed out?
    It might be related to this issue I ran into with the toolkit processing:
    http://tech.groups.yahoo.com/group/dita-users/message/23156

    I really have a mixed bag in one section. Data is subjected to several tests at various intervals. To complicate matters, Product A and Product B each have exclusive tests. To make it easier on the user to reference, I put together an index of tests with each test title being linked to the corresponding section (I think that's what you mean by “conrefed”). Some topics may have a table “conditionalized” for Product A with tests 1-3 and another table for Product B with tests 2-4. In the index, the links for tests 1 and 4 are conditionalized accordingly.

    I'm wondering if I should make a separate index for each product? But that doesn't explain the topics that are conditionalized in the map missing from the output. Unless I've muddied the waters so much that the whole conditional text thing is just ignored completely.

    edit: I tried noting the section out and the output log shows only one issue (compared to 14). I'm going to play around with the map a little more, but I think G is on to something.

    Reply

    mzwecker

    Reply to: RenderX XEP Omits Conditional Attributes

    I've also run into this problem. Similarly, my pdf generates when I clear all values from the ditaval (that is, I don't use any conditions).  As soon as I use any conditions, I get the error mentioned above.  I'm having trouble tracking down the source of the problem.

    NEWS FLASH
    Problem solved. I had a condition set on a choicetable element.
    I guess that's a no-no.

    Reply

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

Lost Your Password?

Products
Downloads
Support