[ https://issues.apache.org/jira/browse/CAMEL-20427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Federico Mariani closed CAMEL-20427. ------------------------------------ Resolution: Not A Problem > XML-IO-DSL IDE shows invalid content, but the xml is runnable > ------------------------------------------------------------- > > Key: CAMEL-20427 > URL: https://issues.apache.org/jira/browse/CAMEL-20427 > Project: Camel > Issue Type: Bug > Affects Versions: 4.3.0 > Reporter: Federico Mariani > Priority: Minor > > Given the following _working_ xml camel route: > {code:java} > <?xml version="1.0" encoding="UTF-8"?> > <camel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns="http://camel.apache.org/schema/spring" > xsi:schemaLocation=" > http://camel.apache.org/schema/spring > https://camel.apache.org/schema/spring/camel-spring.xsd"> > <route id="reproducer"> > <from id="_to1" uri="direct:start"/> > ... > </route> > <rest id="rest-e61e"> > <get id="get-2e2c" path="start"> > <to uri="direct:start"/> > </get> > </rest> > </camel>{code} > The IDE shows the following errors > {code:java} > Invalid content was found starting with element > '{"http://camel.apache.org/schema/spring":rest}'. One of > '{"http://camel.apache.org/schema/spring":route}' is expected. > Invalid content was found starting with element > '{"http://camel.apache.org/schema/spring":rest}'. One of > '{"http://camel.apache.org/schema/spring":route}' is expected.{code} > I do not think they are real errors, I wonder if the issue is in the xsd > itself. > The tested version of > [https://camel.apache.org/schema/spring/camel-spring.xsd] is 4.3.0. > -- This message was sent by Atlassian Jira (v8.20.10#820010)