[ https://issues.apache.org/jira/browse/CAMEL-15611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17205726#comment-17205726 ]
Chandrakant Hardahe commented on CAMEL-15611: --------------------------------------------- Thanks [~apupier] for reporting it, I'll work into this > Support prefix for camel namespace in XmlRouteParser > ---------------------------------------------------- > > Key: CAMEL-15611 > URL: https://issues.apache.org/jira/browse/CAMEL-15611 > Project: Camel > Issue Type: Improvement > Components: tooling > Affects Versions: 3.5.0 > Reporter: Aurélien Pupier > Priority: Major > > with this kind of xml route: > {noformat} > <camel:camelContext id="camel" > xmlns:camel="http://camel.apache.org/schema/spring"> > <camel:route id="a route"> > <camel:from uri="direct:cafe"/> > <camel:to uri="direct:drink"/> > </camel:route> > </camel:camelContext> > {noformat} > the _XmlRouteParser.parseXmlRouteTree_ is throwing an NPE due to the > combination of [CAMEL-15610] and that there is no support of prefix > namespaces. > With [CAMEL-15509] fixed, it will return an empty list. > It is expected to have 2 elements in the list, one for the _from_ and one for > _from_ -- This message was sent by Atlassian Jira (v8.3.4#803005)