This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new c5f74c0 [#3093] wrong XSD url generated with XML initialiser
c5f74c0 is described below
commit c5f74c01bbd940f1466f47c8eed9eb9c2d445055
Author: Radovan Netuka <[email protected]>
AuthorDate: Thu Mar 10 14:30:43 2022 +0100
[#3093] wrong XSD url generated with XML initialiser
---
e2e/common/languages/files/xml.xml | 2 +-
examples/polyglot/routes.xml | 2 +-
pkg/util/modeline/parser_test.go | 2 +-
resources/templates/xml.tmpl | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/e2e/common/languages/files/xml.xml
b/e2e/common/languages/files/xml.xml
index e0d52ed..77b67cc 100644
--- a/e2e/common/languages/files/xml.xml
+++ b/e2e/common/languages/files/xml.xml
@@ -17,7 +17,7 @@
xmlns="http://camel.apache.org/schema/spring"
xsi:schemaLocation="
http://camel.apache.org/schema/spring
- http://camel.apache.org/schema/spring/camel-spring.xsd">
+ https://camel.apache.org/schema/spring/camel-spring.xsd">
<route id="hello">
<from uri="timer:hello?period=3000"/>
diff --git a/examples/polyglot/routes.xml b/examples/polyglot/routes.xml
index 0491325..6e170ac 100644
--- a/examples/polyglot/routes.xml
+++ b/examples/polyglot/routes.xml
@@ -17,7 +17,7 @@
xmlns="http://camel.apache.org/schema/spring"
xsi:schemaLocation="
http://camel.apache.org/schema/spring
- http://camel.apache.org/schema/spring/camel-spring.xsd">
+ https://camel.apache.org/schema/spring/camel-spring.xsd">
<route id="polyglot">
<from uri="timer:hello?period=3000"/>
diff --git a/pkg/util/modeline/parser_test.go b/pkg/util/modeline/parser_test.go
index ce47578..b03e711 100644
--- a/pkg/util/modeline/parser_test.go
+++ b/pkg/util/modeline/parser_test.go
@@ -144,7 +144,7 @@ func TestParseXMLFile(t *testing.T) {
xmlns="http://camel.apache.org/schema/spring"
xsi:schemaLocation="
http://camel.apache.org/schema/spring
-
http://camel.apache.org/schema/spring/camel-spring.xsd">
+
https://camel.apache.org/schema/spring/camel-spring.xsd">
<!-- Write your routes here, for example: -->
<route id="xml">
diff --git a/resources/templates/xml.tmpl b/resources/templates/xml.tmpl
index 7ea9635..5725c13 100644
--- a/resources/templates/xml.tmpl
+++ b/resources/templates/xml.tmpl
@@ -5,7 +5,7 @@
xmlns="http://camel.apache.org/schema/spring"
xsi:schemaLocation="
http://camel.apache.org/schema/spring
- http://camel.apache.org/schema/spring/camel-spring.xsd">
+ https://camel.apache.org/schema/spring/camel-spring.xsd">
<!-- Write your routes here, for example: -->
<route id="xml">