Transformation failing in version 25

Having trouble installing Oxygen XML WebHelp? Got a bug to report? Post it all here.
c_parrott
Posts: 7
Joined: Fri Jun 17, 2022 5:01 pm

Transformation failing in version 25

Post by c_parrott »

Hello,

A ditamap that I was using successfully in version 24 is failing in version 25. I've attached screenshots of the error and the details, and here is all the info I have:
Transform: DITA Map WebHelp Responsive
Error: "Transformation Failed"
Error details:
copy-html:
Error: java.lang.IllegalArgumentException: URI scheme is not "file"
error-description.PNG
ditamap-error.PNG
Do you have any idea of what could be causing this?

Thank you!
Claire
You do not have the required permissions to view the files attached to this post.
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Transformation failing in version 25

Post by Radu »

Hi Claire,

If you open the DITA Map in the Oxygen DITA Maps Manager view and use the "Validate and check for completeness" action does it report any problem which could be fixed?
You have some kind of reference to a remote resource (possibly HTML) which probably does not have the "scope='external'" attribute properly set on it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
c_parrott
Posts: 7
Joined: Fri Jun 17, 2022 5:01 pm

Re: Transformation failing in version 25

Post by c_parrott »

It was indeed an issue with a missing "scope=external" attribute. The issue didn't show up in the validation check, but I rebuilt the DITA map topic by topic and was able to find the individual element causing the issue that was. Really appreciate your help, Radu!
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Transformation failing in version 25

Post by Radu »

Hello Claire,
I'm glad you found the problem. Could you tell me exactly how the DITA XML content for that link looked like? If we manage to reproduce the problem on our side we could incorporate a fix in the publishing engine so that it no longer completely breaks in such cases.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Transformation failing in version 25

Post by Radu »

Hi,
Never mind, I reproduced the problem with a link like this:

Code: Select all

<xref href="http://abc/test.html" format="html"/>
DITA OT version 4.0.1 no longer seems to have this issue but Oxygen still uses DITA OT 3.7.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: Transformation failing in version 25

Post by Radu »

Hi,
As an update, the DITA OT 4.1 bundled with Oxygen 26.0 (which we released about 1-2 weeks ago) should no longer have this problem.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply