Project

General

Profile

« Previous | Next » 

Revision 2399

Added by sgarg over 19 years ago

Added a check for eml2.0.1 documents in ContentTypeProvider.java

View differences:

src/edu/ucsb/nceas/metacat/ContentTypeProvider.java
398 398
               (MetaCatUtil.getOption("eml2_0_0namespace"))).contains(packType))
399 399
      {
400 400
        // this eml 2 document
401
        MetaCatUtil.debugMessage("This is EML2 package", 30);
401
        MetaCatUtil.debugMessage("This is EML2.0.0 package", 30);
402 402
        packageType = EML2;
403 403
      }
404
      else if ((MetaCatUtil.getOptionList
405
               (MetaCatUtil.getOption("eml2_0_1namespace"))).contains(packType))
406
      {
407
        // this eml 2 document
408
        MetaCatUtil.debugMessage("This is EML2.0.1 package", 30);
409
        packageType = EML2;
410
      }
404 411

  
405 412

  
413

  
406 414
    }//try
407 415
    catch(SQLException e)
408 416
    {

Also available in: Unified diff