Uploaded image for project: 'Portlet Bridge'
  1. Portlet Bridge
  2. PBR-196

Incorrect schema location definition in portlet..xml in archetypes

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.1.0.CR1
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Maven archetypes generated standard way: by maven archetype:generate from nexus repository

      Show
      Maven archetypes generated standard way: by maven archetype:generate from nexus repository

      Description

      In portlet.xml's from archetypes is probably wrong schema location definition used - xsd file name is missing. This should cause issues e.g. with PRP definition - which are ignored without correct definition.

      Current definition:
      <portlet-app version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/portlet"
      xmlns="http://java.sun.com/xml/ns/portlet">

      and should be:
      <portlet-app version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
      xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd">

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                prabhat.jha Prabhat Jha
                Reporter:
                jjamrich Ján Jamrich
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: