Page 1 of 1

concept seen as a ditamap...

Posted: Tue Mar 26, 2024 2:20 pm
by LASSE_MLE
Hello,
Small issue probably in my ecosystem since a few weeks butonly seen now...
My project is based on a template where a 'mother' ditamap embeds a lot of other sub-ditamaps.
Every Ditamap has a first concept topic to be able to introduce the document and create an entry in the SearchEngine that has the UID of the corresponding ditamap.
And in one of these sub-ditamap, this first concept topic is viewed as a ditamap:

Code: Select all

[DOTJ061E] Topic reference target is a DITA map but format attribute has not been set. Set format attribute value to "ditamap".
But everything seems normal:
- In the mother ditamap:

Code: Select all

<topichead navtitle="Hardware/Software List (20623)">
   <mapref href="Procedures/20623_sld.ditamap" format="ditamap"/>
</topichead>
- 20623_sld.ditamap:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA 1.3 Map//EN" "technicalContent/dtd/map.dtd"[]>
<map xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" title="Hardware/Software List (20623)" id="map_kfl_vn1_b5b">
  <title>
    <ph id="title">Hardware/Software List (20623)</ph>
  </title>
  <topicref href="DocDITA/DITA-XML/20k/206h/20623/20623_sld.dita" type="concept" keys="SOP-20623"/>
  <topicref href="DocDITA/DITA-XML/20k/206h/20625/20625_sld.dita" type="concept"/>
- 20623_sld.dita:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="concept_20623">
    <title>Hardware/Software List (20623)</title>
    <shortdesc>This topic introduces the Hardware/Software List document.</shortdesc>
    <conbody>
        <p>Lorem Ipsum.</p>
    </conbody>
</concept>
And as a consequences, the 20623_sld.aspx is not generated...
I've recreated many times both ditamap and dita files without success.
Is there something in the project or a configuration file where I may have changed a parameter that cause this issue ?
Thanks in advanced for your help.
BR,
Mathieu

Re: concept seen as a ditamap...

Posted: Tue Mar 26, 2024 2:21 pm
by LASSE_MLE
Not written previously but it works like a charm for the dozens of other sub-ditamaps...

Re: concept seen as a ditamap...

Posted: Tue Mar 26, 2024 2:27 pm
by Radu
Hi,

I assume that if you open the main DITA Map in the Oxygen DITA Maps Manager view and use the "Validate and check for completeness" action you do not get any errors reported.
If you can create a small sample DITA project exhibiting the problem, zip it and send it to us maybe we can look into it and see what the problem could be:
https://www.oxygenxml.com/techSupport.html

Regards,
Radu

Re: concept seen as a ditamap...

Posted: Tue Mar 26, 2024 2:38 pm
by LASSE_MLE
Thanks Radu for such a fast answer!
I will create a small project to highlight my issue (hoping it will be still present after reorganisation)..
I'll send you asap!
Mathieu

Re: concept seen as a ditamap...

Posted: Tue Mar 26, 2024 3:44 pm
by LASSE_MLE
As I expected, creating a small extract of the project makes the problem disappear :(
I will try to understand why it correct with this version..

Re: concept seen as a ditamap...

Posted: Tue Mar 26, 2024 3:51 pm
by Radu
Yes, this is the magic of creating a small project. Sometimes along the way though while trimming down the content you might also understand the problem better. :D

Re: concept seen as a ditamap...

Posted: Tue Mar 26, 2024 5:34 pm
by LASSE_MLE
Well, after a big cleaning of the internal references and other stuff, it seems fixed... Don"t really know why but.... We'll see.
Thansk again for your help!
Mathieu

Re: concept seen as a ditamap...

Posted: Tue Mar 26, 2024 6:45 pm
by Radu
Hi Mathieu,
With pleasure, the work was all yours! :D
Regards,
Radu