concept seen as a ditamap...

Post here questions and problems related to editing and publishing DITA content.
LASSE_MLE
Posts: 30
Joined: Mon Dec 05, 2022 3:24 pm

concept seen as a ditamap...

Post 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
LASSE_MLE
Posts: 30
Joined: Mon Dec 05, 2022 3:24 pm

Re: concept seen as a ditamap...

Post by LASSE_MLE »

Not written previously but it works like a charm for the dozens of other sub-ditamaps...
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: concept seen as a ditamap...

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
LASSE_MLE
Posts: 30
Joined: Mon Dec 05, 2022 3:24 pm

Re: concept seen as a ditamap...

Post 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
LASSE_MLE
Posts: 30
Joined: Mon Dec 05, 2022 3:24 pm

Re: concept seen as a ditamap...

Post 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..
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: concept seen as a ditamap...

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
LASSE_MLE
Posts: 30
Joined: Mon Dec 05, 2022 3:24 pm

Re: concept seen as a ditamap...

Post 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
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: concept seen as a ditamap...

Post by Radu »

Hi Mathieu,
With pleasure, the work was all yours! :D
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply