You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/06/21 22:17:47 UTC

[jira] [Created] (CAMEL-4133) camel-blueprint doesn't handle elements with a namespace prefix

camel-blueprint doesn't handle elements with a namespace prefix
---------------------------------------------------------------

                 Key: CAMEL-4133
                 URL: https://issues.apache.org/jira/browse/CAMEL-4133
             Project: Camel
          Issue Type: Bug
          Components: camel-blueprint
            Reporter: Daniel Kulp
            Assignee: Daniel Kulp
             Fix For: 2.8.0
         Attachments: CAMEL-4133.patch


Camel-blueprint only works if the camelContext and related elements are not using a namespace prefix.  Like:

{code:xml}
  <camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint">
    <routeBuilder ref="reportIncidentRoutes"/>
  </camelContext>
{code}

If you try and use a prefixed form like:
{code:xml}
  <camel:camelContext id="camel" xmlns:camel="http://camel.apache.org/schema/blueprint">
    <camel:routeBuilder ref="reportIncidentRoutes"/>
  </camel:camelContext>
{code}

it won't parse.



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4133) camel-blueprint doesn't handle elements with a namespace prefix

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053010#comment-13053010 ] 

Willem Jiang commented on CAMEL-4133:
-------------------------------------

Applied patch with thanks to Dan. I also updated an OSGi integration test to verify the change.

> camel-blueprint doesn't handle elements with a namespace prefix
> ---------------------------------------------------------------
>
>                 Key: CAMEL-4133
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4133
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-blueprint
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4133.patch
>
>
> Camel-blueprint only works if the camelContext and related elements are not using a namespace prefix.  Like:
> {code:xml}
>   <camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint">
>     <routeBuilder ref="reportIncidentRoutes"/>
>   </camelContext>
> {code}
> If you try and use a prefixed form like:
> {code:xml}
>   <camel:camelContext id="camel" xmlns:camel="http://camel.apache.org/schema/blueprint">
>     <camel:routeBuilder ref="reportIncidentRoutes"/>
>   </camel:camelContext>
> {code}
> it won't parse.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4133) camel-blueprint doesn't handle elements with a namespace prefix

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CAMEL-4133:
-------------------------------

    Attachment: CAMEL-4133.patch


The issue is using el.getNodeName() instead of el.getLocalName() in the namespace handler.

> camel-blueprint doesn't handle elements with a namespace prefix
> ---------------------------------------------------------------
>
>                 Key: CAMEL-4133
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4133
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-blueprint
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4133.patch
>
>
> Camel-blueprint only works if the camelContext and related elements are not using a namespace prefix.  Like:
> {code:xml}
>   <camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint">
>     <routeBuilder ref="reportIncidentRoutes"/>
>   </camelContext>
> {code}
> If you try and use a prefixed form like:
> {code:xml}
>   <camel:camelContext id="camel" xmlns:camel="http://camel.apache.org/schema/blueprint">
>     <camel:routeBuilder ref="reportIncidentRoutes"/>
>   </camel:camelContext>
> {code}
> it won't parse.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4133) camel-blueprint doesn't handle elements with a namespace prefix

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CAMEL-4133:
-------------------------------

      Description: 
Camel-blueprint only works if the camelContext and related elements are not using a namespace prefix.  Like:

{code:xml}
  <camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint">
    <routeBuilder ref="reportIncidentRoutes"/>
  </camelContext>
{code}

If you try and use a prefixed form like:
{code:xml}
  <camel:camelContext id="camel" xmlns:camel="http://camel.apache.org/schema/blueprint">
    <camel:routeBuilder ref="reportIncidentRoutes"/>
  </camel:camelContext>
{code}

it won't parse.



  was:

Camel-blueprint only works if the camelContext and related elements are not using a namespace prefix.  Like:

{code:xml}
  <camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint">
    <routeBuilder ref="reportIncidentRoutes"/>
  </camelContext>
{code}

If you try and use a prefixed form like:
{code:xml}
  <camel:camelContext id="camel" xmlns:camel="http://camel.apache.org/schema/blueprint">
    <camel:routeBuilder ref="reportIncidentRoutes"/>
  </camel:camelContext>
{code}

it won't parse.



    Fix Version/s: 2.7.3

> camel-blueprint doesn't handle elements with a namespace prefix
> ---------------------------------------------------------------
>
>                 Key: CAMEL-4133
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4133
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-blueprint
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.7.3, 2.8.0
>
>         Attachments: CAMEL-4133.patch
>
>
> Camel-blueprint only works if the camelContext and related elements are not using a namespace prefix.  Like:
> {code:xml}
>   <camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint">
>     <routeBuilder ref="reportIncidentRoutes"/>
>   </camelContext>
> {code}
> If you try and use a prefixed form like:
> {code:xml}
>   <camel:camelContext id="camel" xmlns:camel="http://camel.apache.org/schema/blueprint">
>     <camel:routeBuilder ref="reportIncidentRoutes"/>
>   </camel:camelContext>
> {code}
> it won't parse.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4133) camel-blueprint doesn't handle elements with a namespace prefix

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-4133.
---------------------------------

    Resolution: Fixed

> camel-blueprint doesn't handle elements with a namespace prefix
> ---------------------------------------------------------------
>
>                 Key: CAMEL-4133
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4133
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-blueprint
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4133.patch
>
>
> Camel-blueprint only works if the camelContext and related elements are not using a namespace prefix.  Like:
> {code:xml}
>   <camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint">
>     <routeBuilder ref="reportIncidentRoutes"/>
>   </camelContext>
> {code}
> If you try and use a prefixed form like:
> {code:xml}
>   <camel:camelContext id="camel" xmlns:camel="http://camel.apache.org/schema/blueprint">
>     <camel:routeBuilder ref="reportIncidentRoutes"/>
>   </camel:camelContext>
> {code}
> it won't parse.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira