Re: Keyrefs no longer resolved within conrefs #conref #keys


Nicholas Mucks
 

Hi Christina,
Is your conref topic references as resource-only in your map? Map-first preprocessing will only process keys in topics referenced in the ditamap, so if you used a conref from a topic not in your ditamap then the conref will resolve but none of the keys in that conref will exist in your keyspace.

Take care,
- Nick

Sent from mobile

On Mar 10, 2021, at 3:06 AM, Radu Coravu <radu_coravu@...> wrote:



Hi Christina,

I'm not sure why this takes so long. Can you reproduce the large delay on your side?

If your DITA topics and maps are RNG based, there is a DITA OT issue for adding extra caching for RNG-based projects:

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

In Oxygen 23.1 which we released about a week ago the bundled DITA OT has this caching enabled and the publishing times for RNG-based projects should take about 2 times less. Our Oxygen 23.1 publishing engine based on the DITA OT (DITA-OT + our custom plugins and patches) should also have this caching enabled:

https://www.oxygenxml.com/publishing_engine.html

Regards,

Radu

Radu Coravu
Oxygen XML Editor
On 3/10/21 12:59, stinakab via groups.io wrote:

Following up on this topic.

Since this issue seems to be related to some of the issues on Github: https://github.com/dita-ot/dita-ot/issues?q=is%3Aissue+is%3Aopen+preprocess2,
I have decided to continue using preprocess instead of preprocess2 and add all the conrefed topics to our projects and use them as resource-only.
However, now all our projects happen to run so much slower on our build server. For some large projects, this can take up to 50 minutes longer, which is a bit unexpected.
Could it be that I have forgotten to add a setting somewhere that leads to a slowed down process?
The only things that I've noticed when comparing the old and the new logs is the following:

preprocess.init:
     [echo] *****************************************************************
     [echo] * input = d:\P1\re\274401104\b\projects\en\_my_project.ditamap
     [echo] * resources = ${args.resources}
     [echo] *****************************************************************

I don't know about this new args.resources parameter. What does it do? The DITA OT documentation tells me the following: "Specifies resource files." It would be great to know how to work with this parameter. Could somebody explain this to me, please?
Then I'm missing the following:
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\canditopics.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\conref.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\conreftargets.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\copytosource.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\fullditamap.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\fullditamapandtopic.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\fullditatopic.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\hrefditatopic.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\hreftargets.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\html.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\image.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\outditafiles.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\resourceonly.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\resourceonly.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\subjectscheme.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\subtargets.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\user.input.file.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl

Has this been moved to the JAVA code? Or do I just have to re-add this to the respective targets in the build-preprocess.xml?

And respectively, also the following is missing:
conrefpush:
[job-helper] Processing d:\P1\re\274400090\b\pdfBuilds\en\temp\.job.xml to d:\P1\re\274400090\b\pdfBuilds\en\temp\conref.list
[job-helper] Loading stylesheet d:\P1\re\274400090\b\xml_framework\framework\DITA-OT\plugins\org.dita.base\xsl\job-helper.xsl

I would be happy if somebody could help me out with this.

Thanks,
Christina








Join main@dita-users.groups.io to automatically receive all group messages.