Changeset 16694

Show
Ignore:
Timestamp:
11.08.2008 13:44:51 (11 years ago)
Author:
kjdon
Message:

MARCXMLPlugin uses textcat_language_and_encoding method from ReadTextFile? so made it inherit from this as well.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/MARCXMLPlugin.pm

    r16693 r16694  
    8181    $self->{'indent'} = 0; 
    8282 
     83    print STDERR "metadata mapping file = $self->{'metadata_mapping_file'}\n"; 
    8384    return bless $self, $class; 
    8485} 
     86 
     87 
    8588 
    8689sub get_doctype { 
     
    122125 
    123126 
    124     ##map { print STDERR $_."=>".$metadata_mapping->{$_}."\n"; } keys %$metadata_mapping; 
     127    map { print STDERR $_."=>".$self->{'metadata_mapping'}->{$_}."\n"; } keys %{$self->{'metadata_mapping'}}; 
    125128 
    126129    $self->SUPER::init(@_);