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-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new 6979a4f33 chore: the xslt-action description has no &name; reference,
which failed the website HTML check (#3348)
6979a4f33 is described below
commit 6979a4f331bc577660fb52badda028d75a60ebc8
Author: Federico Mariani <[email protected]>
AuthorDate: Sun Nov 22 14:10:28 2026 +0100
chore: the xslt-action description has no &name; reference, which failed
the website HTML check (#3348)
The description is rendered as AsciiDoc on the website. Backticks do not
escape a character reference, so `&name;` reached the page as a raw
reference and html-validate failed the Camel.website main build with
unrecognized-char-ref on camel-kamelets/next/xslt-action.html. The
sentence now says what happens without the literal reference, so it also
reads the same in kamelets-index.json.
---
kamelets/xslt-action.kamelet.yaml | 2 +-
library/camel-kamelets/src/main/resources/META-INF/kamelets-index.json | 2 +-
.../camel-kamelets/src/main/resources/kamelets/xslt-action.kamelet.yaml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kamelets/xslt-action.kamelet.yaml
b/kamelets/xslt-action.kamelet.yaml
index c3fa0d7e3..6beeec8f9 100644
--- a/kamelets/xslt-action.kamelet.yaml
+++ b/kamelets/xslt-action.kamelet.yaml
@@ -40,7 +40,7 @@ spec:
Output: the body is the result as text (a String): XML, or plain text
when the `xsl:output` of the stylesheet says `method="text"`. The
`Content-Type` header is not set. The other headers are kept.
- Good to know: a body that is not XML fails the message. The DOCTYPE of
the message is not used: its entities are not expanded and an entity that
points to a file or URL is not read, so `&name;` gives nothing. A message can
set every parameter of the stylesheet with a header, so do not let a parameter
choose which resource the stylesheet reads. The stylesheet is code you write
and trust: XSLT functions such as `document()` can read other resources, such
as XML from the classpath. Th [...]
+ Good to know: a body that is not XML fails the message. The DOCTYPE of
the message is not used: its entities are not expanded and an entity that
points to a file or URL is not read, so an entity reference in the body gives
nothing. A message can set every parameter of the stylesheet with a header, so
do not let a parameter choose which resource the stylesheet reads. The
stylesheet is code you write and trust: XSLT functions such as `document()` can
read other resources, such as XML [...]
required:
- template
type: object
diff --git
a/library/camel-kamelets/src/main/resources/META-INF/kamelets-index.json
b/library/camel-kamelets/src/main/resources/META-INF/kamelets-index.json
index 46ed121ba..51cec959a 100644
--- a/library/camel-kamelets/src/main/resources/META-INF/kamelets-index.json
+++ b/library/camel-kamelets/src/main/resources/META-INF/kamelets-index.json
@@ -2325,7 +2325,7 @@
"supportLevel" : "Stable",
"title" : "XSLT Action",
"summary" : "Transforms each XML message with an XSLT stylesheet, for
example to map the XML of one system to the XML or text that another system
expects.",
- "description" : "Transforms each XML message with an XSLT stylesheet, for
example to map the XML of one system to the XML or text that another system
expects.\n\nUse it to rename, pick, reorder or compute the elements of XML
documents, such as the totals of an order, with a stylesheet you write. The
stylesheet can use XSLT 3.0, which Saxon runs. To convert between XML and JSON,
use `xj-identity-action` or `xj-template-action`; to check XML against an XML
Schema, use `xml-schema-valid [...]
+ "description" : "Transforms each XML message with an XSLT stylesheet, for
example to map the XML of one system to the XML or text that another system
expects.\n\nUse it to rename, pick, reorder or compute the elements of XML
documents, such as the totals of an order, with a stylesheet you write. The
stylesheet can use XSLT 3.0, which Saxon runs. To convert between XML and JSON,
use `xj-identity-action` or `xj-template-action`; to check XML against an XML
Schema, use `xml-schema-valid [...]
"group" : "Actions",
"namespace" : "Transformation",
"provider" : "Apache Software Foundation"
diff --git
a/library/camel-kamelets/src/main/resources/kamelets/xslt-action.kamelet.yaml
b/library/camel-kamelets/src/main/resources/kamelets/xslt-action.kamelet.yaml
index c3fa0d7e3..6beeec8f9 100644
---
a/library/camel-kamelets/src/main/resources/kamelets/xslt-action.kamelet.yaml
+++
b/library/camel-kamelets/src/main/resources/kamelets/xslt-action.kamelet.yaml
@@ -40,7 +40,7 @@ spec:
Output: the body is the result as text (a String): XML, or plain text
when the `xsl:output` of the stylesheet says `method="text"`. The
`Content-Type` header is not set. The other headers are kept.
- Good to know: a body that is not XML fails the message. The DOCTYPE of
the message is not used: its entities are not expanded and an entity that
points to a file or URL is not read, so `&name;` gives nothing. A message can
set every parameter of the stylesheet with a header, so do not let a parameter
choose which resource the stylesheet reads. The stylesheet is code you write
and trust: XSLT functions such as `document()` can read other resources, such
as XML from the classpath. Th [...]
+ Good to know: a body that is not XML fails the message. The DOCTYPE of
the message is not used: its entities are not expanded and an entity that
points to a file or URL is not read, so an entity reference in the body gives
nothing. A message can set every parameter of the stylesheet with a header, so
do not let a parameter choose which resource the stylesheet reads. The
stylesheet is code you write and trust: XSLT functions such as `document()` can
read other resources, such as XML [...]
required:
- template
type: object