PDF customization unable to find temp topics during generation after upgrading to 3.1.1

39 views
Skip to first unread message

Jason Davis

unread,
Aug 6, 2018, 1:18:12 PM8/6/18
to DITA-OT Users
Hi,

I have a PDF customization that works fine in DITA OT 2.5.1. However, that same customization is partially broken after installing the plugin into DITA OT 3.1.1. It produces a PDF and custom properties from the plugin are being used. I'm guessing the problem is during the map2pdf stage, the DITA OT is unable to find any of the topics that are defined in the processed map. For example, I have a map with two topics in it I'm using as a test. The log produces the following:

map2pdf2:
[topic-merge] Processing /var/folders/vw/9h1gn4g91fjffmn0mct1_r_m0000gn/T/temp20180806095639319/7b67fa20ef08d08e0fb8b5b8c5860f181cd85415.ditamap
[topic-merge] [DOTX008E][ERROR] File 'file:/var/folders/vw/9h1gn4g91fjffmn0mct1_r_m0000gn/T/temp20180806095639319/6fd155285f8e702351b2bb921c24acf8ae7a9ed8.xml' does not exist or cannot be loaded.
[topic-merge] [DOTX008E][ERROR] File 'file:/var/folders/vw/9h1gn4g91fjffmn0mct1_r_m0000gn/T/temp20180806095639319/5348fc78f0f2c15093fd26e64aeb16c2d2e70b58.xml' does not exist or cannot be loaded.
[topic-merge] Processing /var/folders/vw/9h1gn4g91fjffmn0mct1_r_m0000gn/T/temp20180806095639319/96d9df064bee5da5a8f5c4bdc847893bdea80873.xml
[topic-merge] Processing /var/folders/vw/9h1gn4g91fjffmn0mct1_r_m0000gn/T/temp20180806095639319/792d9a51802ea2231e3002de9b1a6769f729ddd4.xml

The result is a PDF with the correct formatting properties but no content. As a test, I generated a pdf plugin from Jarno's plugin generator and got the same result. Any ideas?

Thanks,
Jason

Radu Coravu

unread,
Aug 7, 2018, 1:20:13 AM8/7/18
to Jason Davis, DITA-OT Users
Hi Jason,

Maybe those XML files are not found because their parsing breaks in a previous stage (if you have a DITA OT specialization plugin did you integrate it?). So maybe you could try to attach the entire console output.

Regards,
Radu

--
You received this message because you are subscribed to the Google Groups "DITA-OT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dita-ot-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jason Davis

unread,
Aug 7, 2018, 10:35:10 AM8/7/18
to DITA-OT Users
Hi Radu,

Fair enough. As reference, I've attached the logs from both the 2.5.1 and 3.1.1 output using the same content in both cases. One thing I notice is the 3.1.1 version does not run gen-list but I don't know if that is due to refactoring between the revs.

Thanks,
Jason
To unsubscribe from this group and stop receiving emails from it, send an email to dita-ot-user...@googlegroups.com.
test-plugin-2.5.1.log
test-plugin-3.1.1.log

Radu Coravu

unread,
Aug 8, 2018, 12:41:14 AM8/8/18
to Jason Davis, DITA-OT Users
Hi Jason,

I don't see enough things in the console output to help me with determining what the problem is.
If you can reproduce the same " does not exist or cannot be loaded " console warnings without your PDF customization plugin installed, then the problem might be a DITA OT 3.x bug. So if you consider your DITA content as valid maybe you can add an issue on the DITA OT issues list (or send me a small sample DITA project and I can try to look into it).
If the problem can only be reproduced with the PDF customization, you will probably need to cut it down to a minimum and see what XSLT template overrides cause it.

Regards,
Radu

To unsubscribe from this group and stop receiving emails from it, send an email to dita-ot-users+unsubscribe@googlegroups.com.

Jason Davis

unread,
Aug 8, 2018, 1:45:36 AM8/8/18
to DITA-OT Users
Hi Radu,

I think I have narrowed down the bug to processing of the copy-to attribute. I've put together a sample project and have attached it here along with the log from a failed build. The customization works fine until I added the copy-to attributes. We use the copy-to attributes regularly in our production environment.

Thanks,
Jason
test-sample.zip

Radu Coravu

unread,
Aug 8, 2018, 2:05:23 AM8/8/18
to Jason Davis, DITA-OT Users
Hi Jason,

I added an issue for this:


Regards,
Radu

To unsubscribe from this group and stop receiving emails from it, send an email to dita-ot-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages