Commit 880dd446 authored by Kristin Berry's avatar Kristin Berry
Browse files

Added xml schema for img xmlns.

parent 49ee253b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -410,6 +410,14 @@ namespace Isis {
                "http://pds.nasa.gov/pds4/sp/v1"); 
    }

    if (imageObject.compare("Array_2D_Image") == 0) {
      // Add header info
      addSchema("PDS4_IMG_1900.sch", 
                "PDS4_IMG_1900.xsd",
                "xmlns:img", 
                "http://pds.nasa.gov/pds4/img/v1"); 
    }
    
    QString translationFile = "$base/translations/pds4ExportBandBin";
    translationFile += imageObject.remove(0,9); // remove first 9 characters: Array_2D_ or Array_3D_
    translationFile += ".trn";
+2 −0
Original line number Diff line number Diff line
@@ -73,6 +73,8 @@ namespace Isis {
   *                           output name. 
   *   @history 2018-05-16 Christopher Combs - Fixed typo in xml namespaces and changed History 
   *                           attributes to elements. Matches pds validate tool specifations.
   *   @history 2018-06-12 Kristin Berry - Added schema associated with the img class when it is
   *                           used.
   */

  class ProcessExportPds4: public Isis::ProcessExport {