You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "crissaegrim (Jira)" <ji...@apache.org> on 2023/05/20 06:41:00 UTC

[jira] [Created] (NIFI-11576) XMLReader not handling namespaced attributes correctly

crissaegrim created NIFI-11576:
----------------------------------

             Summary: XMLReader not handling namespaced attributes correctly
                 Key: NIFI-11576
                 URL: https://issues.apache.org/jira/browse/NIFI-11576
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: crissaegrim


Supposing we have
{code:java}
<wd:report_data xmlns:wd="">
    <wd:record>
        <wd:foo wd:bar="bar content">foo content</wd:foo>
    </wd:record>
</wd:report_data> {code}
`XMLReader` recognizes `foo content` and extracts it correctly but is failing to pick up `bar content`.

Workaround is to remove the NS for attr's:  `<wd:foo bar="bar content">foo content</wd:foo>`

More details on how to repro in comments.



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