Changeset 15192


Ignore:
Timestamp:
2008-04-17T11:51:52+12:00 (14 years ago)
Author:
mdewsnip
Message:

Replaced all instances of "openarchives.com" with "openarchives.com", so the schema validation works. By DL Consulting Ltd.

Location:
gsdl/trunk/src/oaiservr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/oaiservr/oaiaction.cpp

    r14282 r15192  
    305305    // output OAI v1.1 action header tag
    306306    output << "<" << this->name;
    307     output << "\n       xmlns=\"http://www.openarchives.com/OAI/1.1/OAI_" << this->name << "\" ";
     307    output << "\n       xmlns=\"http://www.openarchives.org/OAI/1.1/OAI_" << this->name << "\" ";
    308308    output << "\n       xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";
    309309    output << "\n       xsi:schemaLocation=\"http://www.openarchives.org/OAI/1.1/OAI_" << this->name;
     
    312312  else {
    313313    // output OAI v2.0 action header tag
    314     output << "<OAI-PMH xmlns=\"http://www.openarchives.com/OAI/2.0\"\n"
     314    output << "<OAI-PMH xmlns=\"http://www.openarchives.org/OAI/2.0/\"\n"
    315315       << "         xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
    316316       << "         xsi:schemaLocation=\"http://www.openarchives.org/OAI/2.0/\n"
  • gsdl/trunk/src/oaiservr/oaidispatcher.cpp

    r9608 r15192  
    5454      /*
    5555    output << "<" << action->name;
    56     output << "\n       xmlns=\"http://www.openarchives.com/OAI/1.1/OAI_" << action->name << "\" ";
     56    output << "\n       xmlns=\"http://www.openarchives.org/OAI/1.1/OAI_" << action->name << "\" ";
    5757    output << "\n       xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";
    5858    output << "\n       xsi:schemaLocation=\"http://www.openarchives.org/OAI/1.1/OAI_" << action->name;
     
    6262    else {
    6363      // output OAI v2.0 action header tag
    64       output << "<OAI-PMH xmlns=\"http://www.openarchives.com/OAI/2.0\"\n"
     64      output << "<OAI-PMH xmlns=\"http://www.openarchives.org/OAI/2.0/\"\n"
    6565         << "         xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
    6666         << "         xsi:schemaLocation=\"http://www.openarchives.org/OAI/2.0/\n"
Note: See TracChangeset for help on using the changeset viewer.