Project

General

Profile

« Previous | Next » 

Revision 5714

use EML 2.1.1 and UTF-8

View differences:

register-dataset.cgi
1639 1639

  
1640 1640
sub EMLStart() {
1641 1641
	my $gmt = gmtime($now);
1642
	my $doc = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
1642
	my $doc = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
1643 1643

  
1644 1644
	$doc .= qq|<eml:eml
1645 1645
      packageId="docid" system="knb"
1646
      xmlns:eml="eml://ecoinformatics.org/eml-2.1.0"
1646
      xmlns:eml="eml://ecoinformatics.org/eml-2.1.1"
1647 1647
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1648
      xmlns:ds="eml://ecoinformatics.org/dataset-2.1.0"
1648
      xmlns:ds="eml://ecoinformatics.org/dataset-2.1.1"
1649 1649
      xmlns:stmml="http://www.xml-cml.org/schema/stmml-1.1"
1650
      xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.0 eml.xsd">
1650
      xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 eml.xsd">
1651 1651
|;
1652 1652

  
1653 1653
	$doc .= "<!-- Person who filled in the catalog entry form: ";

Also available in: Unified diff