Changeset 18865


Ignore:
Timestamp:
04/01/09 15:49:25 (12 years ago)
Author:
kjdon
Message:

added / to the end of the namespace path so its consistent with the xsd file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/oaiservr/qualified_dublincore.cpp

    r18858 r18865  
    2222  if (this->oaiConfigure->getOAIVersion() <= 110){
    2323    // output dublin core wrapper for OAI v1.1
    24     output << "      <gsdl_qdc xmlns=\"http://greenstone.org/namespace/gsdl_qdc/1.0\"\n"
     24    output << "      <gsdl_qdc xmlns=\"http://greenstone.org/namespace/gsdl_qdc/1.0/\"\n"
    2525       << "          xmlns:xsi=\"http://www.w3c.org/2001/XMLSchema-instance\"\n"
    26        << "          xsi:schemaLocation=\"http://greenstone.org/namespace/gsdl_qdc/1.0 \n"
     26       << "          xsi:schemaLocation=\"http://greenstone.org/namespace/gsdl_qdc/1.0/ \n"
    2727       << "                              http://greenstone.org/namespace/gsdl_qdc/1.0/gsdl_qdc.xsd\">\n";
    2828  }
    2929  else {
    3030    output << "      <gsdl_qdc:gsdl_qdc\n"
    31        << "          xmlns:gsdl_qdc=\"http://greenstone.org/namespace/gsdl_qdc/1.0\"\n"
     31       << "          xmlns:gsdl_qdc=\"http://greenstone.org/namespace/gsdl_qdc/1.0/\"\n"
    3232       << "          xmlns:dc=\"http://purl.org/dc/terms/\"\n"
    3333       << "          xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
    34        << "          xsi:schemaLocation=\"http://greenstone.org/namespace/gsdl_qdc/1.0 \n"
     34       << "          xsi:schemaLocation=\"http://greenstone.org/namespace/gsdl_qdc/1.0/ \n"
    3535       << "                              http://greenstone.org/namespace/gsdl_qdc/1.0/gsdl_qdc.xsd\">\n";
    3636  }
     
    5454  output << "    <metadataPrefix>gsdl_qdc</metadataPrefix>" << endl;
    5555  output << "    <schema>http://greenstone.org/namespace/gsdl_qdc/1.0/gsdl_qdc.xsd</schema>" << endl;
    56   output << "    <metadataNamespace>http://greenstone.org/namespace/gsdl_qdc/1.0</metadataNamespace>"<<endl;
     56  output << "    <metadataNamespace>http://greenstone.org/namespace/gsdl_qdc/1.0/</metadataNamespace>"<<endl;
    5757  return true;
    5858}
Note: See TracChangeset for help on using the changeset viewer.