Unexpected element
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 4
- Joined: Tue Oct 11, 2022 3:39 pm
Unexpected element
I get this https://github.com/AFumo/FileUpload/blo ... pected.PNG error when I use Image Map Editor to draw a box around an image. How do I get around it?
-
- Posts: 9437
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Unexpected element
Hi,
The DITA 1.3 specification allows adding an <image> inside a <cmd> but not an <imagemap>:
https://www.oxygenxml.com/dita/1.3/spec ... cmltc__cmd
So this is why Oxygen's validation reports that problem, you cannot have an imagemap inside cmd.
Maybe you could add the imagemap after the <cmd> in an <info> element?
Regards,
Radu
The DITA 1.3 specification allows adding an <image> inside a <cmd> but not an <imagemap>:
https://www.oxygenxml.com/dita/1.3/spec ... cmltc__cmd
So this is why Oxygen's validation reports that problem, you cannot have an imagemap inside cmd.
Maybe you could add the imagemap after the <cmd> in an <info> element?
Code: Select all
<step>
<cmd></cmd>
<info>
<imagemap id="imagemap_any_tvt_dvb">
<image id="image_bny_tvt_dvb"/>
<area>
<shape/>
<coords/>
<xref/>
</area>
</imagemap>
</info>
</step>
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 667
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Unexpected element
Post by julien_lacour »
Hello,
If you are using the DITA Map PDF - based on HTML5 & CSS transformation scenario, you need to set the "show.image.map.area.shapes" parameter (in the Parameters tab of the scenario) value to 'yes'.
Regards,
Julien
If you are using the DITA Map PDF - based on HTML5 & CSS transformation scenario, you need to set the "show.image.map.area.shapes" parameter (in the Parameters tab of the scenario) value to 'yes'.
Regards,
Julien
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