You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2026/03/06 17:22:00 UTC
[jira] [Reopened] (NIFI-9737) Unreachable namespaces seem to break EvaluateXPath/Query
[ https://issues.apache.org/jira/browse/NIFI-9737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Stieglitz reopened NIFI-9737:
------------------------------------
> Unreachable namespaces seem to break EvaluateXPath/Query
> --------------------------------------------------------
>
> Key: NIFI-9737
> URL: https://issues.apache.org/jira/browse/NIFI-9737
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Cemre Mengu
> Priority: Major
>
> I have an XML file that has xmlns="http://latest/nmc-omc/cmNrm.doc#measCollec" attribute in root tag. As long this attribute is present, all expressions evaluate to empty strings. If I remove this, everything works as expected.
> I am assuming that it tries and fails to resolve this namespace. However, I actually don't need this namespace at all. Is there any way to ignore this behavior if it is intentional?
> It can be reproduced with the following simple content where any simple xpath expression like /bookstore/book[1] will fail
> {code:java}
> <bookstore xmlns="http://latest/nmc-omc/cmNrm.doc#measCollec" >
> <book category="cooking">
> <title lang="en">Everyday Italian</title>
> <author>Giada De Laurentiis</author>
> <year>2005</year>
> <price>30.00</price>
> </book>
> </bookstore>{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)