Publishing template logo problems
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 38
- Joined: Thu May 25, 2023 4:08 pm
Publishing template logo problems
Hello there!
I'm configuring my custom publishing template, and I'm a bit stuck with the <logo> element in the template's .opt file.
Here's the current code for <resources> of the webhelp configuration:
The file does not validate correctly because of the <logo> element and Oxygen displays the following error:
I'm using oXygen XML Editor 25.0, the project is based on the startup project template.
Kind regards,
Konrad
I'm configuring my custom publishing template, and I'm a bit stuck with the <logo> element in the template's .opt file.
Here's the current code for <resources> of the webhelp configuration:
Code: Select all
<resources>
<!-- Main CSS file -->
<css file="styles.css"/>
<!-- CSS for notes -->
<css file="notes.css"/>
<!-- Favicon -->
<favicon file="resources/images/favicon.png"/>
<!--Logo-->
<logo
file="resources/images/logo.png"
alt="Back to home page"/>
<!-- Images -->
<fileset>
<include name="resources/**/*"/>
<exclude name="resources/**/*.svn"/>
<exclude name="resources/**/*.git"/>
</fileset>
</resources>
I've tried adding the expected elements (using quick fixes and manual fixes as well), but the validation error won't go away.Invalid content was found starting with element 'logo'. One of '{js-amd-module, fileset}' is expected.
I'm using oXygen XML Editor 25.0, the project is based on the startup project template.
Kind regards,
Konrad
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Publishing template logo problems
Hi Konrad,
The validation error occurs as the order of the <logo/> and <favicon/> elements is incorrect.
More specific, the <logo/> element should come first, followed by <favicon/>. If you switch the two elements, the error should not occur anymore.
Regards,
Costin
The validation error occurs as the order of the <logo/> and <favicon/> elements is incorrect.
More specific, the <logo/> element should come first, followed by <favicon/>. If you switch the two elements, the error should not occur anymore.
Regards,
Costin
Costin Sandoi
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)
- ↳ 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