oXygen webhelp breaks all links when one href is empty
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 15
- Joined: Fri Jan 26, 2018 8:05 pm
oXygen webhelp breaks all links when one href is empty
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
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
-
- Posts: 408
- Joined: Mon Dec 05, 2011 6:08 pm
Re: oXygen webhelp breaks all links when one href is empty
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
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
oXygen XML Editor and Author Support
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service