You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/12/10 17:22:57 UTC

[camel] branch main updated: Invalid XML

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 9c5815d  Invalid XML
9c5815d is described below

commit 9c5815de06c28ba2025d3a1440c7faca64ad31e6
Author: iWantToKeepAnon <iW...@yahoo.com>
AuthorDate: Fri Dec 10 11:18:02 2021 -0600

    Invalid XML
    
    setHeader element was incorrectly closed by a transform tag.
    
    trivial PR.
---
 components/camel-jsonpath/src/main/docs/jsonpath-language.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-jsonpath/src/main/docs/jsonpath-language.adoc b/components/camel-jsonpath/src/main/docs/jsonpath-language.adoc
index 405f146..705647c 100644
--- a/components/camel-jsonpath/src/main/docs/jsonpath-language.adoc
+++ b/components/camel-jsonpath/src/main/docs/jsonpath-language.adoc
@@ -300,7 +300,7 @@ The same example in XML DSL would be:
   <from uri="direct:start"/>
   <setHeader name="numberOfBooks">
     <jsonpath headerName="books" resultType="int">$..store.book.length()</jsonpath>
-  </transform>
+  </setHeader>
   <to uri="mock:result"/>
 </route>
 ----