Draft-Comments showing up in published PDFs

Having trouble installing Oxygen? Got a bug to report? Post it all here.
bdew
Posts: 11
Joined: Mon Mar 03, 2014 5:11 pm
Location: Shawnee, KS

Draft-Comments showing up in published PDFs

Post by bdew »

We currently use Oxygen 14.2 and we are using the DITA Map PDF transform to publish our DITA files to PDF documents. We have the "args.draft" parameter set to "no", but still see Draft-Comments in the PDF document that is published.

This is an example of a draft-comment that is showing up after published to PDF:

Code: Select all

<draft-comment author="Author_M" translate="no" class="- topic/draft-comment ">Is it? My quicksaves aren't doing this right now...</draft-comment>
Is there another way to suppress the draft-comments from showing up besides the args.draft parameter?

Thank you,
Bryan
Radu
Posts: 9469
Joined: Fri Jul 09, 2004 5:18 pm

Re: Draft-Comments showing up in published PDFs

Post by Radu »

Hi Bryan,

I tested publishing to PDF a small DITA Map using Oxygen 14.2 and the DITA Open Toolkit bundled with it. By default the draft comments do not appear at all. If you set "args.draft" to "yes" then they show up. So this works as it is supposed to.

Do you use the DITA Open Toolkit bundled with Oxygen or do you publish by other means? Did you make any customizations to the PDF generation stylesheets?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
bdew
Posts: 11
Joined: Mon Mar 03, 2014 5:11 pm
Location: Shawnee, KS

Re: Draft-Comments showing up in published PDFs

Post by bdew »

Radu,

Thank you for your response.

Yes, we utilize the DITA OT 1.6.1 which is included in Oxygen 14.2. I have noticed that some of the Draft-Comments are not published, as by design. However, others are still being published.

Looking at the location of these published Draft-Comments, it appears that they are within elements, such as

Code: Select all

<step><choices><choice><draft-comment></draft-comment></choice></choices></step>
So.. Are there restrictions on where the draft-comment tags can be used?
Bryan
Radu
Posts: 9469
Joined: Fri Jul 09, 2004 5:18 pm

Re: Draft-Comments showing up in published PDFs

Post by Radu »

Hi Bryan,

That was probably a bug.
I reproduced the issue running DITA OT 1.6 (which comes with Oxygen 14.2). But I can no longer reproduce the same issue with DITA OT 1.8 which comes with Oxygen 16.0.
So it seems to have been fixed at some point, unfortunately I cannot find the exact issue on the DITA OT issues list on which this particular problem was fixed.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
bdew
Posts: 11
Joined: Mon Mar 03, 2014 5:11 pm
Location: Shawnee, KS

Re: Draft-Comments showing up in published PDFs

Post by bdew »

OK, thank you for confirming that. We'll be switching to Oxygen 16.0 soon.

Thanks,
Bryan
Post Reply