[jira] [Commented] (FOP-2868) Accessible PDF with repeated links has incorrect document structure

"Alexander Dyuzhev (Jira)" <[email protected]> Fri, 27 Mar 2026 20:35:00 +0000 (UTC)
Newsgroups gmane.text.xml.fop.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/FOP-2868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18069139#comment-18069139 ] 

Alexander Dyuzhev commented on FOP-2868:
----------------------------------------

I have the same issue with `<fo:basic-link internal-destination="..."`. Each 'See' link should have OBJR. Currently, 2nd 'See' has two OBJR.
 [^test_internal_destination.fo] 

I've tried add

{code:java}
        if (getStructureTreeElement() != null) {
            return getStructureTreeElement().equals(other.getStructureTreeElement());
        }
{code}

into `fop-core\src\main\java\org\apache\fop\render\intermediate\extensions\GoToXYAction.java` (method 'public boolean isSame(AbstractAction other)'), but no effect.

> Accessible PDF with repeated links has incorrect document structure
> -------------------------------------------------------------------
>
>                 Key: FOP-2868
>                 URL: https://issues.apache.org/jira/browse/FOP-2868
>             Project: FOP
>          Issue Type: Bug
>            Reporter: Simon Steiner
>            Assignee: Simon Steiner
>            Priority: Major
>         Attachments: fop.xconf, test.fo, test_internal_destination.fo
>
>
> fop test.fo -c fop.xconf out.pdf
> Open in Acrobat Pro
>  Select View > Navigation Panels > Tags and expand the tag tree to observe the tags, each www.slickdeals.net should have OBJR under it



--
This message was sent by Atlassian Jira
(v8.20.10#820010)