You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2007/08/24 09:30:30 UTC

[jira] Resolved: (FELIX-347) New Maven SCR Plugin does not emit namespace declaration on JDK 1.4

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

Carsten Ziegeler resolved FELIX-347.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

I added a detection mechanism for faulty namespace implementations. Your suggested workaround is installed in this case. While this solution is heavy weight compared to the actual problem, it works in all circumstances and is transparent to the developer sending events (avoiding problems in the future with namespaces)
Please check if it works for you as well

> New Maven SCR Plugin does not emit namespace declaration on JDK 1.4
> -------------------------------------------------------------------
>
>                 Key: FELIX-347
>                 URL: https://issues.apache.org/jira/browse/FELIX-347
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>             Fix For: 1.0.0
>
>
> The Java 1.4 Transformer used by the Maven SCR Plugin seems to no emit the namespace declaration needed to parse the scr descriptors containing namespaces. Java 5 and newer transformers work alright.
> The workaround is to manually create the namespace declaration as an attribute to the root element. This workaround has been tested on JDK 1.4, 5 and 6.

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