oXygen webhelp breaks all links when one href is empty

Post here questions and problems related to editing and publishing DITA content.
qualler
Posts: 15
Joined: Fri Jan 26, 2018 8:05 pm

oXygen webhelp breaks all links when one href is empty

Post 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
ionela
Posts: 408
Joined: Mon Dec 05, 2011 6:08 pm

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

Post 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
Ionela Istodor
oXygen XML Editor and Author Support
Post Reply