3 Replies Latest reply: Sep 23, 2014 11:58 AM by saprentice RSS

    DITA specialization - domain specialization

    Rebecca Lai Community Member

      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]

        • 1. Re: DITA specialization - domain specialization
          saprentice Community Member

          Hi Rebecca...

           

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

           

          …scott

          • 2. Re: DITA specialization - domain specialization
            Rebecca Lai Community Member

            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.

            • 3. Re: DITA specialization - domain specialization
              saprentice Community Member

              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