Jetspeed 2
  1. Jetspeed 2
  2. JS2-1095

simplest portal documentation broken

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1
    • Component/s: Site Documentation
    • Labels:
      None

      Description

      http://portals.apache.org/jetspeed-2/devguide/guide-simple-portlet.html

      Following the deployment for the simplest portal doesn't work. It gives the error:

      DefaultValidationEventHandler: [FATAL_ERROR]: unexpected element (uri:"", local:"portlet-app"). Expected elements are <

      {http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}

      portlet-app>,<

      {http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}

      portlet-app>
      Location: line 2

      changing line 2 of portlet.xml to:
      <portlet-app id="simplest" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
      http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">

      works, although I'm not sure about the versions "1_0" or "2_0". Seems like either would work from the error message.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development