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

DITA specialization - domain specialization

New Here ,
Sep 18, 2014 Sep 18, 2014

Copy link to clipboard

Copied

Hi,

I'm trying to create some special elements with DITA domain specialization in Adobe FrameMaker 10. I tried first with "codetable". It's derived from "simpletable", and can be inserted directly after "cmd" in task topics. I followed instructions in http://help.adobe.com/en_US/FrameMaker/10.0/DITA/framemaker_10_dita_integration.pdf. Everything goes well with the specialization. After the EDD, r/w rule, and template files are created, I modified elements "step" and "substep" in EDD to the following and import the EDD to the template:

General rule:(note | hazardstatement)*, cmd, (codetable | choices | choicetable | info | itemgroup | stepxmp | substeps | tutorialinfo)*, (stepresult)?

Then I create a new task (with structured app properly set), insert step, cmd, codetable. Everything is fine until I save the file. It prompts:

Image 4.png

It seems that my changes are not adopted by the content model. Anything I was missing during the process. Could anyone please help? Thanks!

Regards,

Rebecca Lai

[Moved to FM Structured forum by moderator]

TOPICS
Structured

Views

413
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 ,
Sep 19, 2014 Sep 19, 2014

Copy link to clipboard

Copied

Hi Rebecca...

Did you update the corresponding element's general rule in the DTD?

…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
New Here ,
Sep 22, 2014 Sep 22, 2014

Copy link to clipboard

Copied

Yes. I created a .mod file with declaration of the domain elements, and a .ent file with declaration of the domain entities. Both files are referenced in the task.dtd file.

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 ,
Sep 23, 2014 Sep 23, 2014

Copy link to clipboard

Copied

LATEST

Well .. based on the error message it seems that the DTD used by the structure app does not allow codetable in the location you've used it. This could be because ..

  • the wrong structure app is being used (check with Structure Tools > Set Structure Application),
  • or because the DTD was updated incorrectly,
  • or because you updated the wrong DTD

.. probably other things as well, but those are the issues that come to mind.

Did you make your own structure app (or clone the defaults) or did you just modify the existing apps? If you cloned or created, it's possible that you didn't update the EDD in your template with the new structure app name. This would cause the old app to be used for saving even though you opened the file with the new app.

…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