Changeset 11669


Ignore:
Timestamp:
2006-04-21T11:26:39+12:00 (18 years ago)
Author:
kjdon
Message:

need to pass a parameter to print_xml_header so it knows which DTD to output, and super class output is now outside of Arguments

Location:
trunk/gsdl/perllib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify/BasClas.pm

    r11541 r11669  
    115115    &gsprintf::output_strings_in_UTF8;
    116116
    117     &PrintUsage::print_xml_header();
     117    &PrintUsage::print_xml_header("classify");
    118118    $self->print_xml();
    119119}
     
    141141    &PrintUsage::print_options_xml($classifieroptions->{'args'});
    142142    }
     143    &gsprintf(STDERR, "  </Arguments>\n");
    143144
    144145    # Recurse up the classifier hierarchy
    145146    $self->print_xml();
    146147
    147     &gsprintf(STDERR, "  </Arguments>\n");
    148148    &gsprintf(STDERR, "</ClassInfo>\n");
    149149}
  • trunk/gsdl/perllib/plugins/BasPlug.pm

    r11389 r11669  
    241241    gsprintf::output_strings_in_UTF8;
    242242
    243     PrintUsage::print_xml_header();
     243    PrintUsage::print_xml_header("plugin");
    244244    $self->print_xml();
    245245}
     
    269269    &PrintUsage::print_options_xml($pluginoptions->{'args'});
    270270    }
    271 
     271    gsprintf(STDERR, "  </Arguments>\n");
    272272    # Recurse up the plugin hierarchy
    273273    $self->print_xml();
    274 
    275     gsprintf(STDERR, "  </Arguments>\n");
    276274    gsprintf(STDERR, "</PlugInfo>\n");
    277275}
Note: See TracChangeset for help on using the changeset viewer.