This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 984be90 Regen 984be90 is described below commit 984be9098b5fc1895b0e79c65421c5f3a4c36e86 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Oct 13 16:50:42 2020 +0200 Regen --- .../apache/camel/parser/xml/XmlWithPrefixParseTreeTest.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/catalog/camel-route-parser/src/test/java/org/apache/camel/parser/xml/XmlWithPrefixParseTreeTest.java b/catalog/camel-route-parser/src/test/java/org/apache/camel/parser/xml/XmlWithPrefixParseTreeTest.java index 59c6610..74eea72 100644 --- a/catalog/camel-route-parser/src/test/java/org/apache/camel/parser/xml/XmlWithPrefixParseTreeTest.java +++ b/catalog/camel-route-parser/src/test/java/org/apache/camel/parser/xml/XmlWithPrefixParseTreeTest.java @@ -65,10 +65,12 @@ public class XmlWithPrefixParseTreeTest { @Test void testXmlTreeWithEmptyRoute() throws Exception { - String textTotest = "<camel:camelContext id=\"camel\" xmlns=\"http://camel.apache.org/schema/spring\" xmlns:camel=\"http://camel.apache.org/schema/spring\">\r\n" + - " <camel:route id=\"a route\">\r\n" + - " </camel:route>\r\n" + - "</camel:camelContext>\n"; + String textTotest + = "<camel:camelContext id=\"camel\" xmlns=\"http://camel.apache.org/schema/spring\" xmlns:camel=\"http://camel.apache.org/schema/spring\">\r\n" + + + " <camel:route id=\"a route\">\r\n" + + " </camel:route>\r\n" + + "</camel:camelContext>\n"; File camelFile = new File(tempDir, "testXmlTreeWithEmptyRoute-withNamespacePrefix.xml"); Files.copy(new ByteArrayInputStream(textTotest.getBytes()), camelFile.toPath()); List<CamelNodeDetails> list = XmlRouteParser.parseXmlRouteTree(new ByteArrayInputStream(textTotest.getBytes()), "",