[ 
https://issues.apache.org/jira/browse/FELIX-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519630
 ] 

Felix Meschberger commented on FELIX-106:
-----------------------------------------

> If this isn't the case, then we can simply switch to the jaxp parser.

I would rather not, since the KXML Parser is included in the bundle and is lean 
and clean and fast. Probably the KXML parser must be set to being namespace 
aware using the http://xmlpull.org/v1/doc/features.html#process-namespaces 
feature.

> SCR doesn't support XML documents with namespaces
> -------------------------------------------------
>
>                 Key: FELIX-106
>                 URL: https://issues.apache.org/jira/browse/FELIX-106
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services
>            Reporter: Guillaume Sauthier
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>
> For instance, the following (valid) XML will lead to an Exception :
> <component xmlns="http://www.osgi.org/xmlns/scr/v1.0.0";
>                         xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0";
>                         name="scr.MyService">
>   <scr:implementation class="MyService" />
> </component>
> Does KXML2 supports namespaces ?

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

Reply via email to