Page 1 of 1

Transformation failing in version 25

Posted: Tue Dec 20, 2022 6:51 pm
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

Re: Transformation failing in version 25

Posted: Tue Dec 20, 2022 7:09 pm
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

Re: Transformation failing in version 25

Posted: Tue Dec 20, 2022 9:31 pm
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!

Re: Transformation failing in version 25

Posted: Wed Dec 21, 2022 9:02 am
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

Re: Transformation failing in version 25

Posted: Wed Dec 21, 2022 9:09 am
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

Re: Transformation failing in version 25

Posted: Tue Oct 17, 2023 3:18 pm
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