davsclaus opened a new issue, #3390:
URL: https://github.com/apache/camel-kamelets/issues/3390

   `xpath-filter-action` (new in 4.24, #3375) takes one namespace through 
`namespacePrefix` and `namespaceUri`. For XML with more than one namespace, its 
description tells you to write `local-name()` and `namespace-uri()` into the 
expression, which is long and easy to get wrong.
   
   Camel now has a `namespaceMappings` option on `xpath` (CAMEL-27486, 
apache/camel#30693). It takes several namespaces in one string, `prefix=uri` 
separated by commas or new lines, and property placeholders work in it.
   
   Proposal:
   - Add a `namespaces` option, for example 
`o=urn:example:orders,c=urn:example:customers`.
   - Keep `namespacePrefix` and `namespaceUri` as they are. When both give the 
same prefix, `namespacePrefix` wins.
   - Update the description and extend the Citrus test with a message in two 
namespaces.
   
   _Claude Code on behalf of Claus Ibsen_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to