Copy link to clipboard
Copied
When I create and save a new DITA Task in FM11 (using DITA 1.1), FM writes 'Concept' as doctype even though referencing the correct task dtd. FM also auto-inserts a concept element as root element. The XML looks like this:

The structapps file looks fine to me and also contains the correct doctype statement. Do you have any idea where else I could look to find the error?

Robert
OK, I found it now. Independent from what is configured elsewhere, FM simply inserts the FIRST element from the EDDmarked as 'valid as root element'.
I used a flat EDD with all elements in one file.
So I have to work with separate EDDs for the different topic types to have only a single valid root per file.
Copy link to clipboard
Copied
Maybe this Link http://forums.adobe.com/message/5339908#5339908 help you.
Copy link to clipboard
Copied
Gorly, thats an interesting topic but it seems that my problem is slightly different. The mapping of the apps is OK and I see no problem in the structapps. My main issue is where does the doctype statement in the saved XML file come from?
As a test, I changed the doctype statement in the structapps (e.g. to "abc") but the doctype in the saved file is unaffected..
Robert

Copy link to clipboard
Copied
OK, I found it now. Independent from what is configured elsewhere, FM simply inserts the FIRST element from the EDDmarked as 'valid as root element'.
I used a flat EDD with all elements in one file.
So I have to work with separate EDDs for the different topic types to have only a single valid root per file.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more