-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Given the following DITA Prolog Updater options:
- Enable automatic prolog update on save = true
- Set original author = false
- Set created date = true
- Update additional authors = false
- Update revised dates = true
Any ditamap that has existing topicmeta child elements except for <critdates> becomes broken when the DITA Prolog Updater adds the <critdates> element. This is because the DITA schema for ditamaps is restrictive about the order of topicmeta child elements, and the add-on places the <critdates> element after the existing topicmeta child elements.
For example, a ditamap with the following structure:
<map>
<title>Getting Started</title>
<topicmeta>
<othermeta name="classification" value="getting-started"/>
</topicmeta>
...
</map>
Would become broken when the DITA Prolog Updater automatically adds the critdates element to the topicmeta:
<map>
<title>Getting Started</title>
<topicmeta>
<othermeta name="classification" value="getting-started"/>
<critdates>
<revised modified="2023-04-04"/>
</critdates>
</topicmeta>
...
</map>
Metadata
Metadata
Assignees
Labels
No labels