Pluto
  1. Pluto
  2. PLUTO-580

Allow portlet descriptor with empty namesapce during deployment.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        Woonsan Ko added a comment -

        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.

        Show
        Woonsan Ko added a comment - 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.

          People

          • Assignee:
            Woonsan Ko
            Reporter:
            Woonsan Ko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development