This is an automated email from the ASF dual-hosted git repository.
apupier 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 bbb0a3fbbc7 CAMEL-21092 - respect xsd in xml file created by Camel
JBang
bbb0a3fbbc7 is described below
commit bbb0a3fbbc7311b5b73e5e80c5b8ea846d2a26a5
Author: Aurélien Pupier <[email protected]>
AuthorDate: Fri Aug 16 15:21:57 2024 +0200
CAMEL-21092 - respect xsd in xml file created by Camel JBang
Signed-off-by: Aurélien Pupier <[email protected]>
---
.../camel-jbang-core/src/main/resources/templates/xml.tmpl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/xml.tmpl
b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/xml.tmpl
index 40df03e66ce..7c59aa7a5c4 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/xml.tmpl
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/resources/templates/xml.tmpl
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<camel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://camel.apache.org/schema/spring"
xsi:schemaLocation="
http://camel.apache.org/schema/spring
@@ -13,4 +13,4 @@
<log message="${body}"/>
</route>
-</camel>
+</routes>