You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Jonathan Anstey (JIRA)" <ji...@apache.org> on 2009/05/25 20:42:50 UTC

[jira] Updated: (CAMEL-1648) Bespin editor mangles route XML

     [ https://issues.apache.org/activemq/browse/CAMEL-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey updated CAMEL-1648:
-----------------------------------

    Description: 
The Bespin editor in the web console takes nice route XML like 

{code}
<route id="route1" xmlns:ns2="http://camel.apache.org/schema/web" xmlns="http://camel.apache.org/schema/spring">
    <description>This is an example route which you can start, stop and modify</description>
    <from uri="seda:foo"/>
    <to uri="mock:results" id="to1"/>
</route>
{code}

and spits out

{code}
<route id="route1" xmlns:ns2="http://camel.apache.org/schema/web" xmlns="http://camel.apache.org/schema/spring">
    <description>This is an example route which you can start, stop and modify</description>
    <from uri="seda:foo">
    <to uri="mock:results" id="to1">
</to>

</from></route>
{code}

which will blow up Camel when we try and save it.

> Bespin editor mangles route XML
> -------------------------------
>
>                 Key: CAMEL-1648
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1648
>             Project: Apache Camel
>          Issue Type: Sub-task
>            Reporter: Jonathan Anstey
>
> The Bespin editor in the web console takes nice route XML like 
> {code}
> <route id="route1" xmlns:ns2="http://camel.apache.org/schema/web" xmlns="http://camel.apache.org/schema/spring">
>     <description>This is an example route which you can start, stop and modify</description>
>     <from uri="seda:foo"/>
>     <to uri="mock:results" id="to1"/>
> </route>
> {code}
> and spits out
> {code}
> <route id="route1" xmlns:ns2="http://camel.apache.org/schema/web" xmlns="http://camel.apache.org/schema/spring">
>     <description>This is an example route which you can start, stop and modify</description>
>     <from uri="seda:foo">
>     <to uri="mock:results" id="to1">
> </to>
> </from></route>
> {code}
> which will blow up Camel when we try and save it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.