Home › Forums › DITA and XMetaL Discussion › Unable to create PDF file due to foreign element › Reply To: Unable to create PDF file due to foreign element
Reply to: Unable to create PDF file due to foreign element
March 16, 2017 at 1:30 amOne more point of clarification, you say “They need this to be included in the htm files that are generated when building their software”.
It sounds like this element ends up in the final output, meaning that it does not necessarily need to be in the DITA content itself. I suspect what might have occurred with the older version of the DITA Open Toolkit is that it did not recognize the element as being DITA, and it had some form of bug that caused it to pass this element through to the HTML output unmodified. Either newer versions of the DITA OT have corrected this bug or they are simply validating the document properly (stopping all output).
If that is the case then replacing it with a valid DITA element and then altering the DITA Open Toolkit (its XSLT) so that it inserts
I'm not even clear on that point though, because