Page 1 of 1

oXygen webhelp breaks all links when one href is empty

Posted: Fri Jan 26, 2018 8:28 pm
by qualler
We are converting some content from another XML into DITA. Occasionally we run into problems where an href attribute is set like this href="" or href="../local path" - we are working in the Astoria CCMS, so local paths like this are no good. If this href issue is present just once in the content, the DOTK publishing job using the oXygen 18 webhelp plug-in produces a separate folder in the output that contains all the html files, any referenced documents (like word docs or pdfs), but NO images!

It doesn't matter if I publish locally in oXygen using the webhelp plug-in or through Astoria using the webhelp plug in. An additional folder is created in the output if the content contains an @href="" or @href="../blah":

NewSSTestContent\out\webhelp\NewSSTestContent" - this is the incorrect folder oXygen creates and dumps all source files except images
NewSSTestContent\out\webhelp\oxygen-webhelp" - this is the usual correct folder that we all know and love

The best case would be some line of code we can fix and correct this publishing issue. Other helpful responses would give me find/replace searches I could use to look for and remove the bad hrefs of the type I mentioned above.

Really appreciate your time and response.

Thanks!

Justin

Re: oXygen webhelp breaks all links when one href is empty

Posted: Tue Jan 30, 2018 3:08 pm
by ionela
Hi Justin,

As you've converted your content from another XML to DITA, before publishing it is recommended to perform the 'Validate and Check for completeness' action on your DITA Map. This way you can check if the structure of the DITA content is valid:
https://www.oxygenxml.com/doc/versions/ ... idate.html

Regards,
Ionela