• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

DITA VAL Filtering does not work on ditamaps that are referenced as topics

Explorer ,
Jan 16, 2021 Jan 16, 2021

Copy link to clipboard

Copied

I have two DITA maps.  One is the top level.

 

<map xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
<title>Main DITA Map</title>
<topicref href="conceptA.xml" type="concept" product="A">
<topicmeta><navtitle>Concept A</navtitle></topicmeta></topicref>
<topicref href="conceptB.xml" type="concept" product="B">
<topicmeta><navtitle>Concept B</navtitle></topicmeta></topicref>
<topicref href="conceptC.xml" type="concept" product="A B">
<topicmeta><navtitle>Concept C</navtitle></topicmeta></topicref>
<topicref href="sub_filter.ditamap" format="ditamap"><topicmeta>
<navtitle>MAP TITLE</navtitle></topicmeta></topicref></map>

 

The second is referenced "sub_filter.ditamap"

 

<map xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
<title>Sub-DITA MAP</title>
<topicref href="conceptD.xml" type="concept" product="D">
<topicmeta><navtitle>Concept D</navtitle></topicmeta></topicref>
<topicref href="conceptE.xml" type="concept" product="E">
<topicmeta><navtitle>Concept E</navtitle></topicmeta></topicref></map>

 

I have a ditaval file as follows:

 

<val>
<prop att="product" val="A" action="exclude" />
<prop att="product" val="B" action="include" />
<prop att="product" val="D" action="exclude" />
<prop att="product" val="E" action="include" />
</val>

 

The problem I have is that the ditaval filtering is not working on the referenced ditamap, it only works on the top level.  In the above example: conceptA.xml was filtered out, but it failed to filter conceptD.xml.  

Views

110

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 06, 2023 Jan 06, 2023

Copy link to clipboard

Copied

LATEST

If I understand correctly, this might be the same issue reported in:

https://tracker.adobe.com/#/view/FRMAKER-11816

If so, perhaps you can vote on it (and maybe point that issue back to this post?)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines