This is an automated email from the ASF dual-hosted git repository.
jamesnetherton 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 3642e39b047 camel-jaxb: Fix docs and escape curly braces in QName
reference
3642e39b047 is described below
commit 3642e39b047a916230c133cfdae15507be54ba6c
Author: James Netherton <[email protected]>
AuthorDate: Wed Jul 6 08:19:57 2022 +0100
camel-jaxb: Fix docs and escape curly braces in QName reference
---
components/camel-jaxb/src/main/docs/jaxb-dataformat.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-jaxb/src/main/docs/jaxb-dataformat.adoc
b/components/camel-jaxb/src/main/docs/jaxb-dataformat.adoc
index a8b6d6b3166..178a1eef47c 100644
--- a/components/camel-jaxb/src/main/docs/jaxb-dataformat.adoc
+++ b/components/camel-jaxb/src/main/docs/jaxb-dataformat.adoc
@@ -89,7 +89,7 @@ You can specify multiple context paths using `:` as a
separator, for example
JAXB 2 supports marshalling and unmarshalling XML tree fragments. By
default JAXB looks for the `@XmlRootElement` annotation on a given class to
-operate on whole XML tree. This is useful, but not always. Sometimes
+operate on whole XML tree. This is useful, but not always. Sometimes the
generated code does not have the `@XmlRootElement` annotation and sometimes you
need to unmarshall only part of the tree.
@@ -107,7 +107,7 @@ one of the exchange headers, its value is used to override
the `partNamespace` p
on the `JaxbDataFormat`.
While setting `partNamespace` through `JaxbConstants.JAXB_PART_NAMESPACE`,
please
-note that you need to specify its value in the format
`{namespaceUri}localPart`, as per the example below.
+note that you need to specify its value in the format
`\{namespaceUri\}localPart`, as per the example below.
[source,java]
--------------------------------------------------------------------------------------