Changeset 16462
- Timestamp:
- 2008-07-18T15:26:04+12:00 (15 years ago)
- Location:
- gsdl/trunk/perllib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/g2futil.pm
r16407 r16462 183 183 my $type = undef; 184 184 185 if ($ENV{'FEDORA 2_HOME'}) {186 $type = "metslikefedora1";185 if ($ENV{'FEDORA_VERSION'} =~ m/^2/) { # checking if major version is 2 186 $type = "metslikefedora1"; 187 187 } 188 188 else { -
gsdl/trunk/perllib/plugouts/FedoraMETSPlugout.pm
r16426 r16462 90 90 my $extra_schema = undef; 91 91 92 if ($ENV{'FEDORA 2_HOME'}) {93 $extra_schema = "http://www.fedora.info/definitions/1/0/mets-fedora-ext.xsd";92 if ($ENV{'FEDORA_VERSION'} =~ m/^2/) { # checking if major version is 2 93 $extra_schema = "http://www.fedora.info/definitions/1/0/mets-fedora-ext.xsd"; 94 94 } 95 95 else { -
gsdl/trunk/perllib/plugouts/METSPlugout.pm
r15013 r16462 198 198 print $handle ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' . "\n"; 199 199 print $handle ' xmlns:gsdl3="http://www.greenstone.org/namespace/gsdlmetadata/1.0/"' . "\n"; 200 if ($ENV{'FEDORA 2_HOME'}) {201 print $handle ' xmlns:xlink="http://www.w3.org/TR/xlink"' ."\n";200 if ($ENV{'FEDORA_VERSION'} =~ m/^2/) { # checking if major version is 2 201 print $handle ' xmlns:xlink="http://www.w3.org/TR/xlink"' ."\n"; 202 202 } 203 203 else {
Note:
See TracChangeset
for help on using the changeset viewer.