Subject: | HTTP::OAI::Record and Namespaces and the /header|metadata|about/ regex |
HTTP::OAI::Record record will switch out the sax handler prematurely if the payload of the Record contains elements with header, metadata or about in it, even if they are in a none OAI-PMH namespace. The fix is to replace $elem =~ /header|metadata|about/ with $elem =~ /^(header|metadata|about)$/ where it occurs and replace `my $elem = lc($hash->{LocalName});` with `my $elem = lc($hash->{Name});` . Once this is done it all works well.
Thanks
Nathan McFarland