[jira] [Commented] (NIFI-1023) Need ability to supply namespace mapping for XPath/XQuery processors

2022-08-31 Thread David Handermann (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17598633#comment-17598633
 ] 

David Handermann commented on NIFI-1023:


Thanks for the comment [~genekhart]! If you have an implementation with test 
cases that maintains compatibility with the current implementation, feel free 
to submit a pull request for review.

> Need ability to supply namespace mapping for XPath/XQuery processors
> 
>
> Key: NIFI-1023
> URL: https://issues.apache.org/jira/browse/NIFI-1023
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Extensions
>Reporter: Matt Gilman
>Priority: Minor
>
> Possibly consider creating a controller service that provides access to a 
> NamespaceContext which can be used with EvaluteXPath and EvaluateXQuery.



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


[jira] [Commented] (NIFI-1023) Need ability to supply namespace mapping for XPath/XQuery processors

2022-08-31 Thread Eugene Hart (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17598625#comment-17598625
 ] 

Eugene Hart commented on NIFI-1023:
---

I've created a fork of EvaluateXPath along with a namespacecontext controller 
service. I'd submit a patch for it if there's a chance it would be merged.

> Need ability to supply namespace mapping for XPath/XQuery processors
> 
>
> Key: NIFI-1023
> URL: https://issues.apache.org/jira/browse/NIFI-1023
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Extensions
>Reporter: Matt Gilman
>Priority: Minor
>
> Possibly consider creating a controller service that provides access to a 
> NamespaceContext which can be used with EvaluteXPath and EvaluateXQuery.



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


[jira] [Commented] (NIFI-1023) Need ability to supply namespace mapping for XPath/XQuery processors

2019-07-23 Thread Nico Verwer (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16891031#comment-16891031
 ] 

Nico Verwer commented on NIFI-1023:
---

When using EvaluateXQuery, it is possible to declare namespaces, like this:
{code:java}
declare namespace rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#;;
declare namespace dcterms="http://purl.org/dc/terms/;;
return //rdf:Description/dcterms:identifier/text(){code}
There is no possibility to declare namespaces in EvaluateXPath.

A controller service would be very helpful, and even essential in serious XML 
applications. This is even true for EvaluateXQuery, where it would save a lot 
of duplicated namespace declarations.

> Need ability to supply namespace mapping for XPath/XQuery processors
> 
>
> Key: NIFI-1023
> URL: https://issues.apache.org/jira/browse/NIFI-1023
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Matt Gilman
>Priority: Minor
>
> Possibly consider creating a controller service that provides access to a 
> NamespaceContext which can be used with EvaluteXPath and EvaluateXQuery.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (NIFI-1023) Need ability to supply namespace mapping for XPath/XQuery processors

2018-02-13 Thread Seth Kingsley (JIRA)

[ 
https://issues.apache.org/jira/browse/NIFI-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16363426#comment-16363426
 ] 

Seth Kingsley commented on NIFI-1023:
-

I decided to try a quick-and-dirty version of this, using attributes to define 
namespace fixes. For instance, if you set xmlns.ns1 to [http://namespace/1,] 
that makes it available in XPath expressions.

How strong is the requirement to have a controller service keeping track of the 
namespaces instead?

> Need ability to supply namespace mapping for XPath/XQuery processors
> 
>
> Key: NIFI-1023
> URL: https://issues.apache.org/jira/browse/NIFI-1023
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Matt Gilman
>Priority: Minor
>
> Possibly consider creating a controller service that provides access to a 
> NamespaceContext which can be used with EvaluteXPath and EvaluateXQuery.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)