DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › RenderX XEP Omits Conditional Attributes
-
kwag_myers August 17, 2011 at 12:07 pm
RenderX XEP Omits Conditional Attributes
August 17, 2011 at 12:07 pmParticipants 3Replies 4Last Activity 11 years, 7 months agoThis 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 [/code]
[echo] transform.fo2xmpdf.xep endIf 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?
Derek Read August 17, 2011 at 6:52 pm
Reply to: RenderX XEP Omits Conditional Attributes
August 17, 2011 at 6:52 pmWhat 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.
gcrews August 17, 2011 at 7:37 pm
Reply to: RenderX XEP Omits Conditional Attributes
August 17, 2011 at 7:37 pmIs 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/23156kwag_myers August 18, 2011 at 4:23 pm
Reply to: RenderX XEP Omits Conditional Attributes
August 18, 2011 at 4:23 pmWhat 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/23156I 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.
mzwecker September 15, 2011 at 12:05 pm
Reply to: RenderX XEP Omits Conditional Attributes
September 15, 2011 at 12:05 pmI'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. -
AuthorPosts
- You must be logged in to reply to this topic.