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:
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]
Copy link to clipboard
Copied
Hi Rebecca...
Did you update the corresponding element's general rule in the DTD?
…scott
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.
Copy link to clipboard
Copied
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 ..
.. 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