Validation error 'Invalid content reference, id part missing'

Having trouble installing Oxygen? Got a bug to report? Post it all here.
grethelgomez
Posts: 19
Joined: Fri Feb 10, 2017 6:10 pm

Validation error 'Invalid content reference, id part missing'

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

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9451
Joined: Fri Jul 09, 2004 5:18 pm

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

Post by Radu »

Hi,

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply