[
https://issues.apache.org/jira/browse/XERCESJ-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arthur De Magalhaes updated XERCESJ-1334:
-----------------------------------------
Attachment: DOM_LSFilter_Patch.txt
The original code kept a reference to the root's QName, and that is why we
failed to report acceptNode for elements that had the same name was the root.
This patch changes this behaviour, so that we hold a reference to the root Node
itself.
> Missing calls to LSParserFilter.acceptNode() for elements with same name as
> root
> --------------------------------------------------------------------------------
>
> Key: XERCESJ-1334
> URL: https://issues.apache.org/jira/browse/XERCESJ-1334
> Project: Xerces2-J
> Issue Type: Bug
> Components: DOM (Level 3 Core)
> Affects Versions: 2.9.1
> Environment: This bug is independent from OS / hardware / platform.
> Reporter: Arthur De Magalhaes
> Assignee: Michael Glavassevich
> Priority: Minor
> Attachments: DOM_LSFilter_Patch.txt
>
>
> This bug was originally reported by Armageddon Brown, from IBM.
> The problem occurs when we use a LSParser (with a LSParserFilter) to go over
> an instance that contains element names that match the root element name.
> For these elements, a call to acceptNode() will NOT be made (which is
> incorrect).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]