dita-ot / dita-ot/dita-ot

Branch filtering has no effect on content reused via conref mechanism

Open
#4,375 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
453
Forks
211
Avg merge
1d 11h
Merged PRs (30d)
3

Description

## Actual Behavior
Branch filtering has no effect on content reused via conref mechanism. See sample: ``li`` items in `reuse.dita` are not filtered.

## Expected Behavior
Branch filtering works on content reused via conref mechanism.

## Steps to Reproduce
test.ditamap
```

Test


```

concept_test.dita
```

Concept test



```

reuse.dita
```

Reuse




  • Item 1

  • Item 2

  • Item 3



```

filter.dita
```


```

## Possible Solution
To make filtering works, you can apply branch filtering directly on `reuse.dita` file
```

Test



```

## Environment
* DITA-OT version: 4.1.2
* Operating system and version: Windows 10
* How did you run DITA-OT? Oxygen transformation scenario
* Transformation type: pdf2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the supplied test.ditamap, concept_test.dita, reuse.dita, and filter.ditaval files in a pdf2 transformation, using the reported Oxygen setup if available. Trace branch filtering when the div is loaded through conref, then verify that the product001 item remains while the product002 items are excluded.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, xml
Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.