Hi all,
I'm following up on an old thread that doesn't seem to have reached a conclusion, or at least not a conclusion that I can understand. In short, I am trying to preserve the metadata of submaps in a bookmap. I'm using OT 3.5.4, PDF. I have tried adding preprocess.clean-map-check.skip=true to my build.properties file and to configuration.properties. I have also added it to my plugin's plugin.xml file. None of these seems to have any effect: the submaps' metadata does not appear in the merged file. Was that even the intent?
The thread I am referring to (https://github.com/dita-ot/dita-ot/pull/2739 and https://dita-ot.slack.com/archives/C02DW51E3/p1620311367058800) is about 4 years old, and a lot has changed since then.
I do see mode="preserve-submap-title-and-topicmeta" in maprefImpl.xsl and it appears to be default behavior but that is not what I am seeing. The metadata I am trying to preserve is straightforward topicmeta metadata like so:
<topicmeta>
<critdates>
<created date="1999-08-11"/>
<revised modified="2019-10-25"/>
</critdates>
<permissions view="internal"/>
<metadata>
<audience type="user"/>
<prodinfo>
<prodname>Widget</prodname>
<brand>Pro3</brand>
</prodinfo>
</metadata>
<category>XYZ</category>
<othermeta name="product-code" content="wid-1234"/>
<othermeta name="docnumber" content="WIDP34567"/>
<othermeta name="doctype" content="User Guide"/>
...
So...is there a straightforward (or even a non straightforward) way to preserve this metadata in the merged file?
Thanks,
Leigh