You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Sauthier (JIRA)" <ji...@apache.org> on 2013/02/14 10:20:12 UTC

[jira] [Updated] (FELIX-3900) @HandlerDeclaration do not convert DOM Attributes to iPOJO Attributes correctly

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

Guillaume Sauthier updated FELIX-3900:
--------------------------------------

    Description: 
The following xml declaration is incorrectly transformed:
@HandlerDeclaration("<sh:command xmlns:sh='org.ow2.shelbie' sh:type='stateful'/>")

Transformed metadata:
org.ow2.shelbie:command { $http://www.w3.org/2000/xmlns/:xmlns:sh="org.ow2.shelbie" $org.ow2.shelbie:sh:type="stateful"}

Notice the double ':', the prefix is printed

  was:
The following xml declaration is incorrectly transformed:
{code}
@HandlerDeclaration("<sh:command xmlns:sh='org.ow2.shelbie' sh:type='stateful'/>")
{code}

Transformed metadata:
{noformat}
org.ow2.shelbie:command { $http://www.w3.org/2000/xmlns/:xmlns:sh="org.ow2.shelbie" }
{noformat}

Notice the double ':'

    
> @HandlerDeclaration do not convert DOM Attributes to iPOJO Attributes correctly
> -------------------------------------------------------------------------------
>
>                 Key: FELIX-3900
>                 URL: https://issues.apache.org/jira/browse/FELIX-3900
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: ipojo-manipulator-1.8.6
>            Reporter: Guillaume Sauthier
>            Assignee: Guillaume Sauthier
>             Fix For: ipojo-manipulator-1.8.8
>
>
> The following xml declaration is incorrectly transformed:
> @HandlerDeclaration("<sh:command xmlns:sh='org.ow2.shelbie' sh:type='stateful'/>")
> Transformed metadata:
> org.ow2.shelbie:command { $http://www.w3.org/2000/xmlns/:xmlns:sh="org.ow2.shelbie" $org.ow2.shelbie:sh:type="stateful"}
> Notice the double ':', the prefix is printed

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira