Pluto
  1. Pluto
  2. PLUTO-473

XML Schema Location for pluto-portal-driver-config.xsd points to obsolete schema definition

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.4, 1.1.5, 2.0.0
    • Fix Version/s: 1.1.5, 2.0.0
    • Component/s: portal driver
    • Labels:
      None

      Description

      In http://svn.apache.org/repos/asf/portals/pluto/trunk/pluto-portal/src/main/resources/pluto-portal-driver-config.xml, the schema location is:

      xsi:schemaLocation="http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd
      http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd"

      The file at that URL is not correct schema definition. The correct schema definition for this version of the config exists in SVN at:

      http://svn.apache.org/repos/asf/portals/pluto/tags/pluto-1.1.4/pluto-portal-driver/src/main/resources/pluto-portal-driver-config.xsd, or
      http://svn.apache.org/repos/asf/portals/pluto/branches/pluto-1.1.x/pluto-portal-driver/src/main/resources/pluto-portal-driver-config.xsd
      (The one in trunk is not correct)

      I'm not sure what the fix is... I guess the newer definition should be given a unique URI and the configuration files in 1.1.x and trunk should be updated in order to maintain backwards compatibility?

      Hopefully we can get this fixed in time for 1.1.5

        Activity

        Hide
        Elliot Metsger added a comment - - edited

        1) Current XSD from http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd was copied to pluto-site/src/site/resources/xsd so it is now part of the website generated by 'mvn site'.
        2) The correct XSD should now be published under http://portals.apache.org/pluto/pluto-portal/1.1/pluto-portal-driver-config.xsd
        3) The pluto-portal-driver-config.xml schema location was updated to use the correct XSD url

        In addition, for Pluto 2.0 (/trunk)
        4) The correct XSD is also published under http://portals.apache.org/pluto/pluto-portal/2.0/pluto-portal-driver-config.xsd

        Show
        Elliot Metsger added a comment - - edited 1) Current XSD from http://portals.apache.org/pluto/xsd/pluto-portal-driver-config.xsd was copied to pluto-site/src/site/resources/xsd so it is now part of the website generated by 'mvn site'. 2) The correct XSD should now be published under http://portals.apache.org/pluto/pluto-portal/1.1/pluto-portal-driver-config.xsd 3) The pluto-portal-driver-config.xml schema location was updated to use the correct XSD url In addition, for Pluto 2.0 (/trunk) 4) The correct XSD is also published under http://portals.apache.org/pluto/pluto-portal/2.0/pluto-portal-driver-config.xsd
        Hide
        Elliot Metsger added a comment -

        Thanks Ben- good catch, and good suggestion on the solution.

        Show
        Elliot Metsger added a comment - Thanks Ben- good catch, and good suggestion on the solution.
        Hide
        Neil Griffin added a comment -

        The following link is broken again:
        http://portals.apache.org/pluto/pluto-portal/2.0/pluto-portal-driver-config.xsd

        Would it be possible to re-open this issue in order to get it re-published?

        Thanks.

        Show
        Neil Griffin added a comment - The following link is broken again: http://portals.apache.org/pluto/pluto-portal/2.0/pluto-portal-driver-config.xsd Would it be possible to re-open this issue in order to get it re-published? Thanks.

          People

          • Assignee:
            Elliot Metsger
            Reporter:
            Benjamin Gould
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development