Changeset 5437 for TI01-discovery


Ignore:
Timestamp:
30/06/09 17:06:22 (10 years ago)
Author:
sdonegan
Message:

Updated returnClosingElement to include new dif ns0 namespace produced by elementtree identty transform used to generate ndg redirect urls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/branches/ws-Discovery2-MSI/discoveryUpgrade/src/ndg/common/discovery/Utilities.java

    r5031 r5437  
    2323        private static Logger logger = Logger.getLogger(Utilities.class.getName()); 
    2424         
    25         private static final String DB = "logging",TABLE_NAME = "simpleLogging",HOST = "jdbc:postgresql://localhost:5432/",ACCOUNT = "postgres", PASSWORD = "steve",DRIVER = "org.postgresql.Driver"; 
     25        //private static final String DB = "logging",TABLE_NAME = "simpleLogging",HOST = "jdbc:postgresql://localhost:5432/",ACCOUNT = "postgres", PASSWORD = "steve",DRIVER = "org.postgresql.Driver"; 
    2626            
    2727         
     
    158158                 
    159159                if (requestedFormat.equals("DIF")){ 
    160                         closingElement ="</Entry_ID>"; 
     160                        closingElement ="</ns0:Entry_ID>"; //NOte this is a fudge to handle ndg redirected dif's.. 
    161161                } else if (requestedFormat.equals("ISO")){                       
    162162                        closingElement ="</gco:CharacterString>";                        
Note: See TracChangeset for help on using the changeset viewer.