This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-3.7.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.7.x by this push:
new d05afeb Invalid XML
d05afeb is described below
commit d05afeb42e09eeea2a74846c810f3bbded857a8f
Author: iWantToKeepAnon <[email protected]>
AuthorDate: Thu Dec 9 16:16:18 2021 -0600
Invalid XML
setHeader element was incorrectly closed by a transform tag.
---
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 fff1d00..175a3a8 100644
--- a/components/camel-jsonpath/src/main/docs/jsonpath-language.adoc
+++ b/components/camel-jsonpath/src/main/docs/jsonpath-language.adoc
@@ -324,7 +324,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>
----