`processing-role="resource-only"` does not cascade downward in map
See original GitHub issueExpected Behavior
In a map, I have two versions of the same topic file (topic2.dita):
- The unpublished version is resource-only without a key definition.
- The published version is local with a key definition.
When I have an <xref>
to that key, the reference should resolve to the published version.
Actual Behavior
The transformation creates a duplicate HTML5 file for the unpublished version, and the key-derived reference incorrectly points to that instead:
Possible Solution
A workaround (but not a fix) is to add @processing-role="resource-only"
to the unpublished <topicref>
directly:
In this case, the HTML5 output is as expected:
Steps to Reproduce
Testcase: ditaot_wrong_ref.zip
To run: dita -i map -f html5 -Dforce-unique=true
Environment
- DITA-OT version: 3.7.2
- Operating system and version: Linux
- How did you run DITA-OT?
dita
command - Transformation type:
html5
Issue Analytics
- State:
- Created a year ago
- Comments:13 (11 by maintainers)
Top Results From Across the Web
Cascading of attributes and metadata in a DITA map
After the attributes are resolved within the map, they cascade to referenced maps. Note: The processing-supplied default values do not cascade ...
Read more >Esri Story Map Cascade - Create a Beautiful Scrolling Interactive
The Story Map Cascade℠ app template lets you combine narrative text with maps, images, and multimedia content in an engaging, full-screen scrolling ...
Read more >Zoom, move, rotate, or tilt a map in Maps on Mac - Apple Support
On a trackpad, you can also drag using two fingers. Rotate a map: Click and hold the pointer on the compass while you...
Read more >FAQ: Should I cascade or embed one service within another?
Generally, cascading map services is not recommended and could introduce unforeseen problems into both ArcGIS Server and ArcIMS environments.
Read more >Cascade Strategy Map Software- break down silos & work as ...
Cascade Strategy Map Software allows anyone from your organization can understand ... The world's no.1 strategy execution platform for thousands of brands.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looking in the class https://github.com/dita-ot/dita-ot/blame/develop/src/main/java/org/dita/dost/writer/ForceUniqueFilter.java
there is a TODO there " // FIXME: handle cascading" so indeed the processing-role cascading does not seem to be taken into account.
@chrispy-snps I opened the pull request with the proposed changes.