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

   `xslt-action` and `xml-schema-validator-action` (#3330) transform and 
validate XML. The catalog still has no filter for XML, the counterpart of 
`jsonpath`-based filtering for JSON. Add **`xpath-filter-action`**, on the 
Camel `xpath` language:
   
   - **Behaviour:** keeps the messages whose XML body matches an XPath 
expression and drops the others. Optional namespace prefixes can be declared 
for the expression.
   - **Input:** XML text or bytes. A body that is not XML fails or is dropped, 
whichever is safer; the tests show which.
   - **Security:** the expression is a Kamelet property, never message data. 
The XML parser does not read DTDs or external entities, the same as 
`xslt-action`.
   - **Citrus tests:** a matching and a non-matching message, an expression 
with a namespace, and a body with a DOCTYPE that must not be resolved.
   
   Preview.
   
   _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