Page 1 of 1

Validation error 'Invalid content reference, id part missing'

Posted: Tue Feb 18, 2020 11:43 pm
by grethelgomez
Hi,

When inserting a conref of a glossary in a glossgroup topic and using the Reuse Content dialog box, the conref value doesn't include the id part. However, when doing a Completeness Check, we get the error 'Invalid content reference, id part missing'.

Example:
Conref inserted using the Reuse Content dialog box and selecting the glossentry element with id='glossTopicTest'.

Code: Select all

<glossentry id="id_q3t_qsm_tkb" conref="../MyGlossFolder/glossTopicTest.dita">
    <glossterm/>
</glossentry>
Shouldn't the conref value be ../MyGlossFolder/glossTopicTest.dita#glossTopicTest?
Or, is there a way to have the Completeness Check ignore the conrefs without the id part because they are valid?

Thanks!
Grethel.

Re: Validation error 'Invalid content reference, id part missing'

Posted: Wed Feb 19, 2020 1:22 pm
by Radu
Hi Grethel,

The conref attribute value is correct and the publishing works for it.
The specification says:

https://www.oxygenxml.com/dita/1.3/spec ... ibute.html
As with other DITA references, a @conref attribute that references a resource without an ID is treated as a reference to the first topic or map in the document.
So I added an internal issue to avoid showing this validation error when the Validate and Check for Completeness is done.
We'll update this thread when the problem is fixed.

Regards,
Radu

Re: Validation error 'Invalid content reference, id part missing'

Posted: Wed May 20, 2020 2:19 pm
by Radu
Hi,

We recently released Oxygen 22.1 which should no longer report this validation error.

Regards,
Radu