New ditamaps are referenced as "topicref" instead of "mapref"
Having trouble installing Oxygen? Got a bug to report? Post it all here.
New ditamaps are referenced as "topicref" instead of "mapref"
Post by Anonymous1 »
Hello,
when I am creating a new ditamap via right-clicking in the DITA Maps Manager > Append child/Insert After > New > Map template, the ditamap is inserted as "topicref". I would expect it to be a "mapref".
Is this a bug or are some settings wrong in my Map template?
If I use the Map Reference option to reference an existing ditamap, "mapref" is used.
when I am creating a new ditamap via right-clicking in the DITA Maps Manager > Append child/Insert After > New > Map template, the ditamap is inserted as "topicref". I would expect it to be a "mapref".
Is this a bug or are some settings wrong in my Map template?
If I use the Map Reference option to reference an existing ditamap, "mapref" is used.
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: New ditamaps are referenced as "topicref" instead of "mapref"
Hi Ben,
A <mapref> is a specialization of <topicref> which has by default format="ditamap" specified as a default value.
So these two forms:
and:
are perfectly equivalent.
Indeed when you choose to create and insert a DITA Map, Oxygen chooses to use the first approach. It's not wrong, indeed maybe it would be better if we used the second approach, at least the reference form is more compact as the @format attribute no longer needs to be clearly specified. I will add an issue for this.
Regards,
Radu
A <mapref> is a specialization of <topicref> which has by default format="ditamap" specified as a default value.
So these two forms:
Code: Select all
<topicref href="test.ditamap" format="ditamap"/>
Code: Select all
<mapref href="test.ditamap"/>
Indeed when you choose to create and insert a DITA Map, Oxygen chooses to use the first approach. It's not wrong, indeed maybe it would be better if we used the second approach, at least the reference form is more compact as the @format attribute no longer needs to be clearly specified. I will add an issue for this.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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