Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Ditamap - FM9 - Validation problem generating PDF

New Here ,
May 13, 2009 May 13, 2009

Copy link to clipboard

Copied

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
TOPICS
Structured

Views

1.8K
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 13, 2009 May 13, 2009

Copy link to clipboard

Copied

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/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 14, 2009 May 14, 2009

Copy link to clipboard

Copied

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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 14, 2009 May 14, 2009

Copy link to clipboard

Copied

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/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 14, 2009 May 14, 2009

Copy link to clipboard

Copied

How do I do that?

There is a limit of three files and zip files are not accepted.

Cheers,

Mark

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 14, 2009 May 14, 2009

Copy link to clipboard

Copied

Try changing the extension of the zip file. It works at some places.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 14, 2009 May 14, 2009

Copy link to clipboard

Copied

Changed it to a .jpg

Here goes.

Mark

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 14, 2009 May 14, 2009

Copy link to clipboard

Copied

Hi Mark,

The attachment isn't downloadable.

Anyways...

While generating PDF, first a temporary composite document is generated. For this the application selected in the "DITA Topic Application" field of the "DITA->DITA Options" dialog is used. Hence, this shall be properly set.

Also, the error you mentioned says - Cannot Read H:\WSS\DITA SAMPLE\reference\STL_App_231.fm - what is this file. This does not seem to be the composite document generated. Are you keeping DITA files in .fm format instead of .xml format.

Regards,

Tarun Garg

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 15, 2009 May 15, 2009

Copy link to clipboard

Copied

Tarun,

Yes, all my topic files are fms. Should they all be xmls?

Mark

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 15, 2009 May 15, 2009

Copy link to clipboard

Copied

Tarun,

Just saved a few of my topics as xml and created a new ditamap.

When I tried to generate pdf, I got the same result - could not read second topic.

"Cannot Read H:\WSS\DITA SAMPLE\concepts\STL_Concept_01.xml"

If all the files are xml, how is the style formating in the fm template applied to the output?

Mark

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 15, 2009 May 15, 2009

Copy link to clipboard

Copied

LATEST

Mark,

This is happening because the template that you have mentioned in the STL Applicaiton is unstructured. Please use a proper structured template and there shall be no such issue.

Regards,

Tarun Garg

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
May 14, 2009 May 14, 2009

Copy link to clipboard

Copied

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines