Changeset 16693

Show
Ignore:
Timestamp:
11.08.2008 11:01:37 (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

    r16692 r16693  
    3131 
    3232use ReadXMLFile; 
     33use ReadTextFile; 
    3334use marcmapping; 
    3435 
     
    3738 
    3839sub BEGIN { 
    39     @MARCXMLPlugin::ISA = ('ReadXMLFile'); 
     40    @MARCXMLPlugin::ISA = ('ReadXMLFile', 'ReadTextFile'); 
    4041} 
    4142 
     
    6162    push(@{$hashArgOptLists->{"OptList"}},$options); 
    6263     
     64    # we want to be able to use the textcat methods from ReadTextFile 
     65    # to get the language and encoding 
     66    new ReadTextFile($pluginlist, $inputargs, $hashArgOptLists, 1); 
     67 
    6368    my $self = new ReadXMLFile($pluginlist, $inputargs, $hashArgOptLists); 
    6469