File: listmetadataformats.t

package info (click to toggle)
libhttp-oai-perl 4.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 436 kB
  • sloc: perl: 2,599; xml: 224; makefile: 15
file content (14 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
print "1..1\n";

use strict;
use HTTP::OAI;

my $r = new HTTP::OAI::ListMetadataFormats();
my $mf = new HTTP::OAI::MetadataFormat(
	metadataPrefix=>'oai_dc',
	schema=>'http://www.openarchives.org/OAI/2.0/oai_dc.xsd',
	metadataNamespace=>'http://www.openarchives.org/OAI/2.0/oai_dc/',
);
$r->metadataFormat($mf);

print "ok 1\n";