Page 1 of 1

BUG? - Webhelp responsive fails if keys added to mapref in bookmap

Posted: Tue May 08, 2018 7:59 pm
by asher
The webhelp responsive build (in Oxygen XML Author 20 - latest version) fails when I add this mapref to a bookmap:

<frontmatter>
<mapref keys="TEST" href="TEST.ditamap" format="ditamap"/>
</frontmatter>

It also fails if the mapref is changed to a keydef.

If @keys is removed, the build succeeds.

The build also fails when @processing-role is added.

Am I doing something wrong? Or is this a bug?

Re: BUG? - Webhelp responsive fails if keys added to mapref in bookmap

Posted: Wed May 09, 2018 12:32 pm
by ionela
Hello,

We have tested the scenario you have indicated but, unfortunately, we could not reproduce this issue.
To reproduce the problem on our side, could you please create a minimal valid sample project and send it to us by email at: support [AT] oxygenxml [DOT] com.
Please make sure that the sample project is minimal and it is valid. You can run the "Validate and Check for Completeness" action on the sample ditamap to make sure it is valid.

Regards,
Ionela

Re: BUG? - Webhelp responsive fails if keys added to mapref in bookmap

Posted: Wed May 09, 2018 7:04 pm
by asher
I isolated the problem a little more. The issue happens on my system only when the referenced map contains chunked (to-content) topics.

The specific error is a Java null pointer exception. I am running Oxygen on a Mac with the latest OS and Java versions.

Given this, I consider the matter closed. I'll try to avoid this particular use case. We use chunking extensively, but I've found in the past that it can lead to other problems. Even Jelovirt admits the code in the DITA-OT is quite buggy.

Thanks for the quick response!