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

error in *.tmp file how to find the real source

Advisor ,
Mar 09, 2009 Mar 09, 2009

Copy link to clipboard

Copied

-- FM 8, structured --

So ... cautiously (but enthusiastically) exploring the delights of DITA, I've taken an existing unstructured book and exploded the content into DITA topics in an XLM editor; even, made a ditamap to hold all the topics together in the right order and at the right level.

No protest from the editor, which validates on the fly; but when I run the FrameMaker utility to generate a .book from the .ditamap, I get the fairly readable messages that follow:

XML Parser Messages (Document instance)

Error at file c:\docume~1\grundt~1.bru\locals~1\Temp\FMT3C9.tmp, line 2312, char 191, Message: The value for attribute 'id' must be names or name tokens.
Error at line 2312, char 191, Message: The value for attribute 'id' must be names or name tokens.

My question: looks as though there's an id somewhere in my 112 dita files that FM isn't happy with. Is there an easy way to find out which file is causing the problem?

Thanks in advance if you can save me from scrutinising (at most) 112 files and looking et every id =8-}

N
TOPICS
Structured

Views

723
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 ,
Mar 10, 2009 Mar 10, 2009

Copy link to clipboard

Copied

LATEST
ymmd, but with a modicum of ingenuity I got there!

1. start utility to generate .book from .ditamap
2. observe error in XML Parser log and leave log open
3. track down and open the .tmp file
4. read guilty line in .tmp file

And voilà - I hadn't paid enough attention to the editor's discreet warning, and there was a section without an id. I corrected the dita file, ran the utility again and generated a .book without any errors.

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