Page 1 of 1

Type attribute/topicref mismatch

Posted: Wed Jul 29, 2020 3:10 pm
by Stacey
Hello:

I get the error message ‘W [DITA-OT] [DOTX019W]: The thpe attribute on a topicref was set to ‘concept’ but the topicref references a ‘task’ topic. This may cause your links to sort incorrectly in the output. Note that the type attribute cascades in maps, so the value ‘concept’ may cone from an ancestor topicref.’

Is there an easy way to figure out which topic is causing the issue? If I click on the reference, it just says it can’t find the file (output file). I have hundreds of topics in the document.

Re: Type attribute/topicref mismatch

Posted: Thu Jul 30, 2020 7:07 am
by Radu
Hi,

Have you tried to use the "Validate and check for completeness" toolbar action from the "DITA Maps Manager" view on the opened main DITA Map? It should report such problems.

Regards,
Radu

Re: Type attribute/topicref mismatch

Posted: Thu Jul 30, 2020 4:35 pm
by Stacey
That was easier than expected! Yup - worked great, thanks!