Page 1 of 1

Transformation error with cross-refs in Chunked topics

Posted: Wed Dec 09, 2015 9:58 pm
by cjbcjb
I just installed 17.1. I now get a "... not available to resolve link information" transformation error message for any cross-ref that is in a topic that has the Chunk attribute set to "to-content" or in a topic that is a subtopic of such a topic. For example: "[DOTX031E]: The file .../temp/oxygen_dita_temp/t_print_tab.dita is not available to resolve link information." The cross-ref to t_print_tab.dita is in a topic whose parent topic has the Chunk attribute set to "to-content". If I remove the Chunk attribute, the error goes away for all cross-refs in the topic and its subtopics.

I validated the map with no errors. Also, the transformation finishes and there are no problems with the cross-refs in the finished help system. Nevertheless, I'd like to eliminate these errors. Anyone else come across this and found a solution?

Chuck

Re: Transformation error with cross-refs in Chunked topics

Posted: Thu Dec 10, 2015 9:44 am
by Radu
Dear Chuck,

When the DITA Open Toolkit publishing engine is running, it reports a lot of information in the DITA OT console view. Oxygen tries to gather from the console reports which refer to various problems encountered by the publishing engine and display these messages separately in a "Problems" list.
In Oxygen 17.1 we updated the engine which detects errors in the DITA OT console and it can pick up more errors reported by the DITA OT.
So it is possible that that particular error has always been reported by the DITA OT publishing engine, it's just that older versions of Oxygen did not detect and report it to you.
Are you using DITA OT 1.8.5 (used by default with Oxygen 17.1) or DITA OT 2.1? Or are you using an external DITA OT installation?

There have always been small problems with DITA chunking, for example the one reported here which is similar to yours:

https://github.com/dita-ot/dita-ot/issues/2040

The error you encounter might have occurred at a certain stage in the DITA OT publishing which may not affect the published output so in some cases you could ignore certain errors.
If you have the time to prepare a small DITA Map project which exhibits the problem, you can send it to us support@oxygenxml.com and we'll look into it.

Regards,
Radu

Re: Transformation error with cross-refs in Chunked topics

Posted: Thu Dec 10, 2015 4:19 pm
by cjbcjb
Radu,

Thanks for the response. I am running built-in OT 2.1. I tried built-in OT 1.8.5, and it did NOT get these errors, so that may be a clue. I will try and send you a simple example project later today.

Chuck

Re: Transformation error with cross-refs in Chunked topics

Posted: Thu Dec 10, 2015 6:51 pm
by cjbcjb
Radu,

In creating the example project, I think I've isolated more closely what the issue is. When I first created the project, I did not get these error messages. Only after moving the topics to a subfolder "topics" of the project directory did I get these messages. Apparently, the transformation is looking in temp/webhelp for the referenced topic when it should be looking in temp/webhelp/topics for it. Hope this helps in finding the issue.

Thanks
Chuck

Re: Transformation error with cross-refs in Chunked topics

Posted: Fri Dec 11, 2015 4:49 pm
by Radu
Hi Chuck,

Thanks for the samples, I added on the already opened issue a link to them and my personal analysis about how it could be fixed:

https://github.com/dita-ot/dita-ot/issu ... -163939609

Regards,
Radu