[ 
https://issues.apache.org/jira/browse/NIFI-11576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Stieglitz updated NIFI-11576:
------------------------------------
    Status: Patch Available  (was: In Progress)

> XMLReader not handling namespaced attributes correctly (xmlns:foo="")
> ---------------------------------------------------------------------
>
>                 Key: NIFI-11576
>                 URL: https://issues.apache.org/jira/browse/NIFI-11576
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: crissaegrim
>            Assignee: Daniel Stieglitz
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to