You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/08/23 16:58:31 UTC

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

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: Declarative Services
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger


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.


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

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ 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.


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

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

Carsten Ziegeler reassigned FELIX-347:
--------------------------------------

    Assignee: Carsten Ziegeler  (was: Felix Meschberger)

> 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
>
> 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.


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

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

Carsten Ziegeler updated FELIX-347:
-----------------------------------

    Fix Version/s:     (was: felix-1.0.0)
                   maven-scr-plugin-1.0.1

> 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: maven-scr-plugin-1.0.1
>
>
> 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.


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

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

Felix Meschberger closed FELIX-347.
-----------------------------------


Thanks for fixing. Seems to work.

> 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.


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

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

Carsten Ziegeler updated FELIX-347:
-----------------------------------

    Component/s:     (was: Declarative Services)
                 Maven SCR Plugin

> 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: Felix Meschberger
>
> 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.


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

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

Work on FELIX-347 started by Carsten Ziegeler.

> 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
>
> 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.


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

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

Work on FELIX-347 stopped by Carsten Ziegeler.

> 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
>
> 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.