Project

General

Profile

« Previous | Next » 

Revision 296

Added by higgins over 24 years ago

no message

View differences:

src/edu/ucsb/nceas/metacat/DBQuery.java
70 70
          String document = null;
71 71
          String docid = null;
72 72
          result.append("<?xml version=\"1.0\"?>\n");
73
          result.append("<resultset>\n");
74
          result.append("  <query>" + xmlfile + "</query>\n");
73
          result.append("<resultset>\n"); 
74
  // following line removed by Dan Higgins to avoid insertion of query XML inside returned XML doc
75
  //        result.append("  <query>" + xmlfile + "</query>\n");
75 76
          Enumeration doclist = nodelist.keys(); 
76 77
          while (doclist.hasMoreElements()) {
77 78
            docid = (String)doclist.nextElement();
......
218 219

  
219 220
/**
220 221
 * '$Log$
222
 * 'Revision 1.9  2000/06/26 10:35:04  jones
223
 * 'Merged in substantial changes to DBWriter and associated classes and to
224
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
225
 * 'functions.  The command line tools and the parameters for the
226
 * 'servlet have changed substantially.
227
 * '
221 228
 * 'Revision 1.8.2.2  2000/06/25 23:38:16  jones
222 229
 * 'Added RCSfile keyword
223 230
 * '
src/edu/ucsb/nceas/metacat/MetaCatServlet.java
353 353
      //resultset.append("<!DOCTYPE resultset PUBLIC " +
354 354
      //               "\"-//NCEAS//resultset//EN\" \"resultset.dtd\">\n");
355 355
      resultset.append("<resultset>\n");
356
      resultset.append("  <query>" + query + "</query>");
356
  // following line removed by Dan Higgins to avoid insertion of query XML inside returned XML doc
357
  //    resultset.append("  <query>" + query + "</query>");   
357 358
      Enumeration doclistkeys = doclist.keys(); 
358 359
      while (doclistkeys.hasMoreElements()) {
359 360
        docid = (String)doclistkeys.nextElement();
......
631 632

  
632 633
/**
633 634
 * '$Log$
635
 * 'Revision 1.51  2000/07/01 01:09:44  jones
636
 * 'MetaCatServlet.java
637
 * '
634 638
 * 'Revision 1.50  2000/06/30 23:42:33  bojilova
635 639
 * 'finished user auth & session tracking
636 640
 * '
src/edu/ucsb/nceas/metacat/DBSimpleQuery.java
71 71
          String docid = null;
72 72
          result.append("<?xml version=\"1.0\"?>\n");
73 73
          result.append("<resultset>\n");
74
          result.append("  <query>" + query + "</query>\n");
74
  // following line removed by Dan Higgins to avoid insertion of query XML inside returned XML doc
75
  //        result.append("  <query>" + query + "</query>\n");
75 76
          Enumeration doclist = nodelist.keys(); 
76 77
          while (doclist.hasMoreElements()) {
77 78
            docid = (String)doclist.nextElement();
......
200 201

  
201 202
/**
202 203
 * '$Log$
204
 * 'Revision 1.16  2000/06/26 10:35:05  jones
205
 * 'Merged in substantial changes to DBWriter and associated classes and to
206
 * 'the MetaCatServlet in order to accomodate the new UPDATE and DELETE
207
 * 'functions.  The command line tools and the parameters for the
208
 * 'servlet have changed substantially.
209
 * '
203 210
 * 'Revision 1.15.2.2  2000/06/25 23:38:16  jones
204 211
 * 'Added RCSfile keyword
205 212
 * '

Also available in: Unified diff