Changeset 20962

Show
Ignore:
Timestamp:
19.11.2009 11:25:23 (10 years ago)
Author:
mdewsnip
Message:

Added "1" as a third parameter to the output_xml_header() calls in MARCXMLPlugout.pm, to prevent the "<!DOCTYPE Archive SYSTEM " http://greenstone.org/dtd/Archive/1.0/Archive.dtd">" line from being included in the output piped into ApplyXSLT. Partly this is because it isn't relevant or required, and partly it is to prevent problems on some machines trying to access greenstone.org.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugouts/MARCXMLPlugout.pm

    r20651 r20962  
    114114    my $outhandler = $self->{'xslt_writer'};  
    115115 
    116     $self->output_xml_header($outhandler,"MARCXML"); 
     116    $self->output_xml_header($outhandler, "MARCXML", 1); 
    117117    print $outhandler $self->get_top_metadata_list($doc_obj); 
    118118    $self->output_xml_footer($outhandler,"MARCXML");   
     
    162162    my $outhandler = $self->{'xslt_writer'};  
    163163 
    164     $self->output_xml_header($outhandler,"MARCXML"); 
     164    $self->output_xml_header($outhandler, "MARCXML", 1); 
    165165    print $outhandler $self->{buffered_output}; 
    166166    $self->output_xml_footer($outhandler,"MARCXML");