[jira] Created: (PLUTO-580) Allow portlet descriptor with empty namesapce during deployment.

View: New views
2 Messages — Rating Filter:   Alert me  

[jira] Created: (PLUTO-580) Allow portlet descriptor with empty namesapce during deployment.

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Allow portlet descriptor with empty namesapce during deployment.
----------------------------------------------------------------

                 Key: PLUTO-580
                 URL: https://issues.apache.org/jira/browse/PLUTO-580
             Project: Pluto
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Woonsan Ko
            Assignee: Woonsan Ko
             Fix For: 2.0.1


Currently, PortletAppDescriptorServiceImpl is using explicit schema based JAXB unmarshalling. (.../portlet-app_1_0.xsd or .../portlet-app_2_0.xsd).
However, if we allow empty namespaced descriptor as well, then I think it would be very convenient.
Because "version" attribute of portlet-app element is required one, we can infer its implicit namespaces.

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


[jira] Resolved: (PLUTO-580) Allow portlet descriptor with empty namesapce during deployment.

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Woonsan Ko resolved PLUTO-580.
------------------------------

    Resolution: Fixed

Fixed by adjusting namespace uris in a custom XmlStreamReader based on the version attribute of the root element.
I will appreciate for any reviews and comments. Thanks.

> Allow portlet descriptor with empty namesapce during deployment.
> ----------------------------------------------------------------
>
>                 Key: PLUTO-580
>                 URL: https://issues.apache.org/jira/browse/PLUTO-580
>             Project: Pluto
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>             Fix For: 2.0.1
>
>
> Currently, PortletAppDescriptorServiceImpl is using explicit schema based JAXB unmarshalling. (.../portlet-app_1_0.xsd or .../portlet-app_2_0.xsd).
> However, if we allow empty namespaced descriptor as well, then I think it would be very convenient.
> Because "version" attribute of portlet-app element is required one, we can infer its implicit namespaces.

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