Changeset 23862

Show
Ignore:
Timestamp:
07.04.2011 17:57:07 (8 years ago)
Author:
ak19
Message:

Minor error in specifying schemaLocation discovered when validating: need a trailing slash after OAI 2.0 part of schemaLocation URL

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/OAIXML.java

    r22085 r23862  
    504504        oai.setAttribute("xmlns", "http://www.openarchives.org/OAI/2.0/"); 
    505505        oai.setAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); 
    506         oai.setAttribute("xsi:schemaLocation", "http://www.openarchives.org/OAI/2.0 \n http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"); 
     506        oai.setAttribute("xsi:schemaLocation", "http://www.openarchives.org/OAI/2.0/ \n http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"); 
    507507      } else { 
    508508        oai.setAttribute("xmlns", "http://www.openarchives.com/OAI/1.1/OAI_" + verb);