This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit c04ba8da3a179d85228b233ab1ac2ae77bf6e5ea Author: Claus Ibsen <[email protected]> AuthorDate: Thu Jun 25 08:07:19 2026 +0200 chore: fix broken cross-page xref links in docs Fix two broken fragment links found by the link checker: - simple-functions.adoc: add simple-advanced.adoc page to xref target - rest-dsl-binding.adoc: change same-page anchor to cross-page xref pointing to rest-dsl-validation.adoc Co-Authored-By: Claude <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- .../src/main/docs/modules/languages/pages/simple-functions.adoc | 2 +- docs/user-manual/modules/ROOT/pages/rest-dsl-binding.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-functions.adoc b/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-functions.adoc index ae8ba44207ce..f55ba4f45312 100644 --- a/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-functions.adoc +++ b/core/camel-core-languages/src/main/docs/modules/languages/pages/simple-functions.adoc @@ -571,7 +571,7 @@ If the message body contains `foo` then `${pad($\{body},5)}` returns `"foo "` a The `replace` function is used for finding a given text in a string and replacing it with another. For example the message body contains `Hello a how are you`, then `${replace(a,b)}` returns `Hello b how bre you`. -The replace function has special support for xref:_replacing_double_and_single_quotes[replacing double and single quotes]. +The replace function has special support for xref:simple-advanced.adoc#_replacing_double_and_single_quotes[replacing double and single quotes]. The `substring`, `substringBefore`, and `substringAfter` functions are all similar functions to return a substring of a given value. diff --git a/docs/user-manual/modules/ROOT/pages/rest-dsl-binding.adoc b/docs/user-manual/modules/ROOT/pages/rest-dsl-binding.adoc index 68e336f8f619..207b25dac28f 100644 --- a/docs/user-manual/modules/ROOT/pages/rest-dsl-binding.adoc +++ b/docs/user-manual/modules/ROOT/pages/rest-dsl-binding.adoc @@ -31,7 +31,7 @@ format on the classpath. By default, Camel will use `jackson` as the data format |`json_xml` |Binding to/from JSON and XML is enabled and requires both data formats to be on the classpath. |=== -IMPORTANT: In `auto` binding mode, the `consumes` option is used as a *fallback* for format detection when the incoming request has no `Content-Type` header (or the header does not indicate JSON or XML). It does *not* reject requests whose `Content-Type` does not match `consumes`. For example, an endpoint configured with `.consumes("application/json").bindingMode(auto)` will still accept and deserialize an XML request if the client sends `Content-Type: application/xml` and an XML-capable [...] +IMPORTANT: In `auto` binding mode, the `consumes` option is used as a *fallback* for format detection when the incoming request has no `Content-Type` header (or the header does not indicate JSON or XML). It does *not* reject requests whose `Content-Type` does not match `consumes`. For example, an endpoint configured with `.consumes("application/json").bindingMode(auto)` will still accept and deserialize an XML request if the client sends `Content-Type: application/xml` and an XML-capable [...] When using `camel-jaxb` for XML bindings, then you can use the option `mustBeJAXBElement` to relax the output message
