Changeset 2257 for TI01-discovery


Ignore:
Timestamp:
12/03/07 15:36:03 (13 years ago)
Author:
mpritcha
Message:

Fixed namespace problem presenting original format MDIP records.

Location:
TI01-discovery/trunk/ws-Discovery2/src/ndg/services/discovery
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/ws-Discovery2/src/ndg/services/discovery/SearchAgent.java

    r2197 r2257  
    426426                        xqueryStr = xqueryStr.replaceAll("__subst_orderByField__", orderByFieldReplace); //NB replaceAll cos more than 1!  
    427427 
    428                         System.out.println("Xquery was \n" + xqueryStr); 
     428                        //System.out.println("Xquery was \n" + xqueryStr); 
    429429 
    430430                        queryParams.addElement( xqueryStr.getBytes("UTF-8") );  
  • TI01-discovery/trunk/ws-Discovery2/src/ndg/services/discovery/ServiceProperties.java

    r2115 r2257  
    2121                properties.setProperty("namespace.DIF", "http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/"); 
    2222                properties.setProperty("namespace.DC","http://www.openarchives.org/OAI/2.0/oai_dc/"); 
    23                 properties.setProperty("namespace.MDIP", "http://www.dassh.ac.uk"); 
     23                properties.setProperty("namespace.MDIP", "http://www.oceannet.org/mdip/xml"); 
    2424                properties.setProperty("namespace.moles", "http://ndg.nerc.ac.uk/moles"); 
    2525                 
     
    3131                properties.setProperty("namespacePrefix.DIF", ""); 
    3232                properties.setProperty("namespacePrefix.DC","oai_dc"); 
    33                 properties.setProperty("namespacePrefix.MDIP", "mdip"); 
     33                properties.setProperty("namespacePrefix.MDIP", ""); 
    3434                properties.setProperty("namespacePrefix.moles", "moles"); 
    3535 
Note: See TracChangeset for help on using the changeset viewer.