You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2022/04/12 09:31:26 UTC

[camel-k] branch release-1.8.x updated: [#3093] wrong XSD url generated with XML initialiser

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch release-1.8.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/release-1.8.x by this push:
     new 984c46d83 [#3093] wrong XSD url generated with XML initialiser
984c46d83 is described below

commit 984c46d83112c1f59308807712396ca4d73c958e
Author: Radovan Netuka <rn...@localhost.localdomain>
AuthorDate: Thu Mar 10 14:26:25 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 e0d52ede1..77b67ccdc 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 049132574..6e170acd8 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 ce47578b8..b03e711c5 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 7ea963537..5725c13c0 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">