[
https://issues.apache.org/jira/browse/NIFI-11576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059446#comment-18059446
]
ASF subversion and git services commented on NIFI-11576:
--------------------------------------------------------
Commit 84200f7d1f40b373939f79dd1eff0c60d1614c26 in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=84200f7d1f4 ]
NIFI-11576 Fixed XMLReader to now allow for handling name spaced attributes
when the schema is inferred.
This closes #10914.
Signed-off-by: Pierre Villard <[email protected]>
> 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: 1h 20m
> 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)