Skip to main content
Participating Frequently
May 13, 2009
Question

Ditamap - FM9 - Validation problem generating PDF

  • May 13, 2009
  • 2 replies
  • 2086 views

Hi,

In FM9, when I try to generate pdf from a ditamap, it fails after the first topic.

I get errors saying the other topics failed validation against the DTD. They all validate individually in FM. So it seems like the process is using another default DTD, but only after the first topic???
I even put the same topic in the map twice - first time OK second time fails to validate.
Any ideas?
Cheers,
Mark
This topic has been closed for replies.

2 replies

ScottPrentice
Inspiring
May 14, 2009

Hi Mark...

Are you able to open these topics using your structure app, but you just can't generate a PDF, or do you also have trouble opening the DITA topics? Based on your error message, it sounds like the structure app isn't set up properly. If you're getting a message about being unable to find the DTD (at some location on an H: drive), it must be using the SYSTEM DOCTYPE location as specified in the XML file (open it in a text editor, and that's probably what you'll see in the header). If the structapp is set up properly, it should be bypassing this SYSTEM location and using the DTD specified in the app definition.

When you added the app definition to the structapps.fm file did you add to the structapps.fm file in the "App Data" path or the one in the FM/Structure folder? In FM9 the structapps.fm you should edit is in C:\Documents and Settings\<USERNAME>\Application Data\Adobe\FrameMaker\9.

Cheers,

...scott

Participating Frequently
May 14, 2009

Hi Mark,

Are you using the DITA applications shipped with FM9 or some of your custom DITA application?

Would it be possible for you to share the file set ?

Also, you can view my following blog post about generating output from DITA Maps:

     http://blogs.adobe.com/techcomm/2009/04/all_about_output_from_dita_maps.html

Regards,

Tarun Garg

Adobe Certified Expert, FrameMaker

http://blogs.adobe.com/techcomm/framemaker/

RouretainAuthor
Participating Frequently
May 14, 2009

Hi Tarun,

I didn't mention that I am using a trial version of FM9 that is valid for 30 days. I assumed I would have full functionality for that period. Is that the case?

See the file set attached:
I am using my own DITA application called STL (Short Term Loan), based on the supplied EDD for Dita-Topic-FM.
I have included the DTD and template - they were in the appropriate app folder under Program Files.
The DTD was generated from the EDD file also supplied.
structapps.fm was in C:\Documents and Settings\Mark.Webster\Application Data\Adobe\FrameMaker\9
I imported the EDD element definitions into all the files and they all validate in FM correctly.

When I generate the PDF (from the file menu), it always fails on the second topic. The error I get is:
"Cannot Read H:\WSS\DITA SAMPLE\reference\STL_App_231.fm
FM document generated from DITA Map, but with errors. Please refer to console for errors.The "Times" Font is not available.  "Times New Roman" will be used in this session."
If I change the order of the topics, it still fails on the second. If I insert the same topic twice, it still fails in the same way.
Cheers,
Mark
I am having trouble uploading the file set.
I can only upload three files and zip files are not accetped.
Participating Frequently
May 14, 2009

Hi Mark,

I am unable to find the file set attached by you.

Please check.

Regards,

Tarun Garg

Adobe Certified Expert, FrameMaker

http://blogs.adobe.com/techcomm/framemaker/