In editor, notify writer of empty cross-book (peer map) link elements
Are you missing a feature? Request its implementation here.
-
- Posts: 907
- Joined: Thu May 02, 2019 2:32 pm
In editor, notify writer of empty cross-book (peer map) link elements
Post by chrispitude »
In a map with the following peer map reference:
let's say I have a topic with a variable reference and topic reference into the peer map:
The Oxygen v25 editor shows the following:
and the content publishes (to any format) as follows:
The editor warned us that the peer map variable would not resolve, but it did not warn us that the peer map cross-reference target text would not resolve.
It would be useful if the Oxygen editor can have some kind of indication for the writer that explicit target text is needed inside an empty <xref> or <link> into a peer map. If the element contains target text, then the indication is not needed.
Testcase:
Please let us know the issue ID for this enhancement request so we can track it on our side. Thanks!
Code: Select all
<mapref href="peer_map.ditamap" keyscope="peer_map" processing-role="resource-only" scope="peer"/>
Code: Select all
<p>Reference to peer map variable: <ph keyref="peer_map.peer_variable"/></p>
<p>Reference to peer map topic: <xref keyref="peer_map.peer_map_topic"/></p>
- image.png (13.34 KiB) Viewed 545 times
and the content publishes (to any format) as follows:
- image.png (6.05 KiB) Viewed 545 times
The editor warned us that the peer map variable would not resolve, but it did not warn us that the peer map cross-reference target text would not resolve.
It would be useful if the Oxygen editor can have some kind of indication for the writer that explicit target text is needed inside an empty <xref> or <link> into a peer map. If the element contains target text, then the indication is not needed.
Testcase:
- oxygen_peer_map_xrefs.zip
- (2.54 KiB) Downloaded 78 times
Please let us know the issue ID for this enhancement request so we can track it on our side. Thanks!
Last edited by chrispitude on Fri Nov 11, 2022 2:14 pm, edited 2 times in total.
-
- Posts: 73
- Joined: Wed Jun 22, 2016 2:48 pm
Re: In editor, notify writer of empty cross-book (peer map) link elements
Post by adrian_sorop »
Hi,
The internal issue id is: EXM-51845
Thanks,
Adrian S.
The internal issue id is: EXM-51845
Thanks,
Adrian S.
Adrian Sorop
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 907
- Joined: Thu May 02, 2019 2:32 pm
Re: In editor, notify writer of empty cross-book (peer map) link elements
Post by chrispitude »
Thanks Adrian!
The peer map variable check is implemented in both the editor and in Validate and Check for Completeness:
So it would be good if this new cross-reference check could behave consistently.
The peer map variable check is implemented in both the editor and in Validate and Check for Completeness:
- image.png (12.93 KiB) Viewed 525 times
So it would be good if this new cross-reference check could behave consistently.
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