bolognese 0.11 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/bolognese/version.rb +1 -1
  4. data/resources/kernel-3.0/include/datacite-contributorType-v3.xsd +1 -1
  5. data/resources/kernel-3.0/include/datacite-dateType-v3.xsd +1 -1
  6. data/resources/kernel-3.0/include/datacite-descriptionType-v3.xsd +1 -1
  7. data/resources/kernel-3.0/include/datacite-relatedIdentifierType-v3.xsd +1 -1
  8. data/resources/kernel-3.0/include/datacite-relationType-v3.xsd +1 -1
  9. data/resources/kernel-3.0/include/datacite-resourceType-v3.xsd +1 -1
  10. data/resources/kernel-3.0/include/datacite-titleType-v3.xsd +1 -1
  11. data/resources/kernel-3.0/metadata.xsd +1 -1
  12. data/resources/kernel-3.1/include/datacite-contributorType-v3.1.xsd +1 -1
  13. data/resources/kernel-3.1/include/datacite-dateType-v3.xsd +1 -1
  14. data/resources/kernel-3.1/include/datacite-descriptionType-v3.xsd +1 -1
  15. data/resources/kernel-3.1/include/datacite-relatedIdentifierType-v3.1.xsd +1 -1
  16. data/resources/kernel-3.1/include/datacite-relationType-v3.1.xsd +1 -1
  17. data/resources/kernel-3.1/include/datacite-resourceType-v3.xsd +1 -1
  18. data/resources/kernel-3.1/include/datacite-titleType-v3.xsd +1 -1
  19. data/resources/kernel-3.1/metadata.xsd +1 -1
  20. data/resources/kernel-4.0/include/datacite-contributorType-v4.xsd +1 -1
  21. data/resources/kernel-4.0/include/datacite-dateType-v4.xsd +1 -1
  22. data/resources/kernel-4.0/include/datacite-descriptionType-v4.xsd +1 -1
  23. data/resources/kernel-4.0/include/datacite-funderIdentifierType-v4.xsd +1 -1
  24. data/resources/kernel-4.0/include/datacite-relatedIdentifierType-v4.xsd +1 -1
  25. data/resources/kernel-4.0/include/datacite-relationType-v4.xsd +1 -1
  26. data/resources/kernel-4.0/include/datacite-resourceType-v4.xsd +1 -1
  27. data/resources/kernel-4.0/include/datacite-titleType-v4.xsd +1 -1
  28. data/resources/kernel-4.0/metadata.xsd +1 -1
  29. data/resources/kernel-4.1/include/datacite-contributorType-v4.xsd +1 -1
  30. data/resources/kernel-4.1/include/datacite-dateType-v4.1.xsd +1 -1
  31. data/resources/kernel-4.1/include/datacite-descriptionType-v4.xsd +1 -1
  32. data/resources/kernel-4.1/include/datacite-funderIdentifierType-v4.xsd +1 -1
  33. data/resources/kernel-4.1/include/datacite-nameType-v4.1.xsd +1 -1
  34. data/resources/kernel-4.1/include/datacite-relatedIdentifierType-v4.xsd +1 -1
  35. data/resources/kernel-4.1/include/datacite-relationType-v4.1.xsd +1 -1
  36. data/resources/kernel-4.1/include/datacite-resourceType-v4.1.xsd +1 -1
  37. data/resources/kernel-4.1/include/datacite-titleType-v4.xsd +1 -1
  38. data/resources/kernel-4.1/metadata.xsd +1 -1
  39. data/spec/fixtures/datacite-example-complicated-v3.0.xml +1 -1
  40. data/spec/fixtures/datacite-example-complicated-v4.0.xml +1 -1
  41. data/spec/readers/datacite_reader_spec.rb +2 -2
  42. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48c96e58515b6e06b3c183599c06cacbdd2059b8fc00bf4558f4cd8bb3d14f9c
4
- data.tar.gz: c6dd83c6775ab19e1e0536df4856fc6ede70647412c5ebeb8aaa1588f00fa352
3
+ metadata.gz: 00a0fc080747afbb8db851ec00a48f1bcd317a0adf7c51e1b05811f14971340f
4
+ data.tar.gz: 19dd033c8334f8ab53fed1dc365c3573d462ba1a8c31f6a9a9c8449452092a8c
5
5
  SHA512:
6
- metadata.gz: dfd47054421e49cf29653d099bb9d8805b2cb5340c6194f5fa54f8043738a780be113e179f3a43fff3c1a79c84d8016a07e814de6baffb9be64b97f5d3582d1d
7
- data.tar.gz: fefb0d3227f5b50c907375343fcb19e95b6ea221639a1464d72bf945b3145a56dc3b3dccfd1fd02eadf8f272b2354820ec41c53fca2be2f3f0527275970f89d4
6
+ metadata.gz: b927056ad219069e3e9e451b3d0c1c524db2c84a02655f22934a43a1ecb0886760adcc1ce08d695ee75dc838f2df76afc102b480b2ecb0e12fa8b8d264677137
7
+ data.tar.gz: 34efa29d1fd9ce5e1c5b3e47fc6a5865734f8ebe38328eff8d07f6b9c6a3cdb988c2a7c37f986bd6b42f84eb2b04f85cb2ef8204c42128f3d6565b6a4f430fa9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bolognese (0.11)
4
+ bolognese (0.11.1)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  benchmark_methods (~> 0.7)
7
7
  bibtex-ruby (~> 4.1)
@@ -1,3 +1,3 @@
1
1
  module Bolognese
2
- VERSION = "0.11"
2
+ VERSION = "0.11.1"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element, added values "ResearchGroup" & "Other"-->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.0" targetNamespace="http://datacite.org/schema/kernel-3.0" elementFormDefault="qualified">
5
5
  <xs:simpleType name="contributorType" id="contributorType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>The type of contributor of the resource.</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element; addition of value "Collected"; deleted "StartDate" & "EndDate"-->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.0" targetNamespace="http://datacite.org/schema/kernel-3.0" elementFormDefault="qualified">
5
5
  <xs:simpleType name="dateType" id="dateType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>The type of date. Use RKMS‐ISO8601 standard for depicting date ranges.To indicate the end of an embargo period, use Available. To indicate the start of an embargo period, use Submitted or Accepted, as appropriate.</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element, addition of value "Methods"-->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.0" targetNamespace="http://datacite.org/schema/kernel-3.0" elementFormDefault="qualified">
5
5
  <xs:simpleType name="descriptionType" id="descriptionType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>The type of the description.</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element; addition of value "PMID"-->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.0" targetNamespace="http://datacite.org/schema/kernel-3.0" elementFormDefault="qualified">
5
5
  <xs:simpleType name="relatedIdentifierType" id="relatedIdentifierType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>The type of the RelatedIdentifier.</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element, addition of values "IsIdenticalTo", "HasMetadata" & "IsMetadataFor"-->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.0" targetNamespace="http://datacite.org/schema/kernel-3.0" elementFormDefault="qualified">
5
5
  <xs:simpleType name="relationType" id="relationType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>Description of the relationship of the resource being registered (A) and the related resource (B).</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element; added values "Audiovisual", "Workflow" & "Other"; deleted value "Film" -->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.0" targetNamespace="http://datacite.org/schema/kernel-3.0" elementFormDefault="qualified">
5
5
  <xs:simpleType name="resourceType" id="resourceType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>The general type of a resource.</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element-->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.0" targetNamespace="http://datacite.org/schema/kernel-3.0" elementFormDefault="qualified">
5
5
  <xs:simpleType name="titleType" id="titleType">
6
6
  <xs:restriction base="xs:string">
7
7
  <xs:enumeration value="AlternativeTitle"/>
@@ -7,7 +7,7 @@
7
7
  IsDocumentedBy/Documents and isCompiledBy/Compiles; changes type of property "Date" from xs:date to xs:string. FZ, TIB
8
8
  2011-06-27 v2.2: namespace: kernel-2.2, additions to controlled lists "resourceType", "contributorType", "relatedIdentifierType", and "descriptionType". Removal of intermediate include-files.
9
9
  2013-05 v3.0: namespace: kernel-3.0; delete LastMetadataUpdate & MetadateVersionNumber; additions to controlled lists "contributorType", "dateType", "descriptionType", "relationType", "relatedIdentifierType" & "resourceType"; deletion of "StartDate" & "EndDate" from list "dateType" and "Film" from "resourceType"; allow arbitrary order of elements; allow optional wrapper elements to be empty; include xml:lang attribute for title, subject & description; include attribute schemeURI for nameIdentifier of creator, contributor & subject; added new attributes "relatedMetadataScheme", "schemeURI" & "schemeType" to relatedIdentifier; included new property "geoLocation" -->
10
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified" xml:lang="EN">
10
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.0" targetNamespace="http://datacite.org/schema/kernel-3.0" elementFormDefault="qualified" xml:lang="EN">
11
11
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
12
12
  <xs:include schemaLocation="include/datacite-titleType-v3.xsd"/>
13
13
  <xs:include schemaLocation="include/datacite-contributorType-v3.xsd"/>
@@ -2,7 +2,7 @@
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element, added values "ResearchGroup" & "Other"
4
4
  2014-08-20 v3.1: Addition of value "DataCurator"-->
5
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
5
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.1" targetNamespace="http://datacite.org/schema/kernel-3.1" elementFormDefault="qualified">
6
6
  <xs:simpleType name="contributorType" id="contributorType">
7
7
  <xs:annotation>
8
8
  <xs:documentation>The type of contributor of the resource.</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element; addition of value "Collected"; deleted "StartDate" & "EndDate"-->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.1" targetNamespace="http://datacite.org/schema/kernel-3.1" elementFormDefault="qualified">
5
5
  <xs:simpleType name="dateType" id="dateType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>The type of date. Use RKMS‐ISO8601 standard for depicting date ranges.To indicate the end of an embargo period, use Available. To indicate the start of an embargo period, use Submitted or Accepted, as appropriate.</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element, addition of value "Methods"-->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.1" targetNamespace="http://datacite.org/schema/kernel-3.1" elementFormDefault="qualified">
5
5
  <xs:simpleType name="descriptionType" id="descriptionType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>The type of the description.</xs:documentation>
@@ -2,7 +2,7 @@
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element; addition of value "PMID"
4
4
  2014-08-20 v3.1: Addition of values "arxiv" and "bibcode"-->
5
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
5
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.1" targetNamespace="http://datacite.org/schema/kernel-3.1" elementFormDefault="qualified">
6
6
  <xs:simpleType name="relatedIdentifierType" id="relatedIdentifierType">
7
7
  <xs:annotation>
8
8
  <xs:documentation>The type of the RelatedIdentifier.</xs:documentation>
@@ -2,7 +2,7 @@
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element, addition of values "IsIdenticalTo", "HasMetadata" & "IsMetadataFor"
4
4
  2014-08-20 v3.1: Addition of values "Reviews" & "IsReviewedBy" and "IsDerivedFrom" & "IsSourceOf"-->
5
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
5
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.1" targetNamespace="http://datacite.org/schema/kernel-3.1" elementFormDefault="qualified">
6
6
  <xs:simpleType name="relationType" id="relationType">
7
7
  <xs:annotation>
8
8
  <xs:documentation>Description of the relationship of the resource being registered (A) and the related resource (B).</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element; added values "Audiovisual", "Workflow" & "Other"; deleted value "Film" -->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.1" targetNamespace="http://datacite.org/schema/kernel-3.1" elementFormDefault="qualified">
5
5
  <xs:simpleType name="resourceType" id="resourceType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>The general type of a resource.</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element-->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.1" targetNamespace="http://datacite.org/schema/kernel-3.1" elementFormDefault="qualified">
5
5
  <xs:simpleType name="titleType" id="titleType">
6
6
  <xs:restriction base="xs:string">
7
7
  <xs:enumeration value="AlternativeTitle"/>
@@ -8,7 +8,7 @@
8
8
  2011-06-27 v2.2: namespace: kernel-2.2, additions to controlled lists "resourceType", "contributorType", "relatedIdentifierType", and "descriptionType". Removal of intermediate include-files.
9
9
  2013-05 v3.0: namespace: kernel-3.0; delete LastMetadataUpdate & MetadateVersionNumber; additions to controlled lists "contributorType", "dateType", "descriptionType", "relationType", "relatedIdentifierType" & "resourceType"; deletion of "StartDate" & "EndDate" from list "dateType" and "Film" from "resourceType"; allow arbitrary order of elements; allow optional wrapper elements to be empty; include xml:lang attribute for title, subject & description; include attribute schemeURI for nameIdentifier of creator, contributor & subject; added new attributes "relatedMetadataScheme", "schemeURI" & "schemeType" to relatedIdentifier; included new property "geoLocation"
10
10
  2014-08-20 v3.1: additions to controlled lists "relationType", contributorType" and "relatedIdentifierType"; introduction of new child element "affiliation" to "creator" and "contributor"-->
11
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3" targetNamespace="http://datacite.org/schema/kernel-3" elementFormDefault="qualified" xml:lang="EN">
11
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-3.1" targetNamespace="http://datacite.org/schema/kernel-3.1" elementFormDefault="qualified" xml:lang="EN">
12
12
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
13
13
  <xs:include schemaLocation="include/datacite-titleType-v3.xsd"/>
14
14
  <xs:include schemaLocation="include/datacite-contributorType-v3.1.xsd"/>
@@ -3,7 +3,7 @@
3
3
  2013-05 v3.0: Addition of ID to simpleType element, added values "ResearchGroup" & "Other"
4
4
  2014-08-20 v3.1: Addition of value "DataCurator"
5
5
  2015-05-14 v4.0 dropped value "Funder", use new "funderReference" -->
6
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
6
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.0" targetNamespace="http://datacite.org/schema/kernel-4.0" elementFormDefault="qualified">
7
7
  <xs:simpleType name="contributorType" id="contributorType">
8
8
  <xs:annotation>
9
9
  <xs:documentation>The type of contributor of the resource.</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element; addition of value "Collected"; deleted "StartDate" & "EndDate"-->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.0" targetNamespace="http://datacite.org/schema/kernel-4.0" elementFormDefault="qualified">
5
5
  <xs:simpleType name="dateType" id="dateType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>The type of date. Use RKMS‐ISO8601 standard for depicting date ranges.To indicate the end of an embargo period, use Available. To indicate the start of an embargo period, use Submitted or Accepted, as appropriate.</xs:documentation>
@@ -2,7 +2,7 @@
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element, addition of value "Methods"
4
4
  2015-02-12 v4.0: Addition of value "TechnicalInfo"-->
5
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
5
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.0" targetNamespace="http://datacite.org/schema/kernel-4.0" elementFormDefault="qualified">
6
6
  <xs:simpleType name="descriptionType" id="descriptionType">
7
7
  <xs:annotation>
8
8
  <xs:documentation>The type of the description.</xs:documentation>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2016-05-14 -->
3
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
3
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.0" targetNamespace="http://datacite.org/schema/kernel-4.0" elementFormDefault="qualified">
4
4
  <xs:simpleType name="funderIdentifierType" id="funderIdentifierType">
5
5
  <xs:annotation>
6
6
  <xs:documentation>The type of the funderIdentifier.</xs:documentation>
@@ -3,7 +3,7 @@
3
3
  2013-05 v3.0: Addition of ID to simpleType element; addition of value "PMID"
4
4
  2014-08-20 v3.1: Addition of values "arxiv" and "bibcode"
5
5
  2015-02-12 v4.0 Addition of value "IGSN" -->
6
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
6
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.0" targetNamespace="http://datacite.org/schema/kernel-4.0" elementFormDefault="qualified">
7
7
  <xs:simpleType name="relatedIdentifierType" id="relatedIdentifierType">
8
8
  <xs:annotation>
9
9
  <xs:documentation>The type of the RelatedIdentifier.</xs:documentation>
@@ -3,7 +3,7 @@
3
3
  2011-01-13 v1.0 - FZ, TIB, Germany
4
4
  2013-05 v3.0: Addition of ID to simpleType element, addition of values "IsIdenticalTo", "HasMetadata" & "IsMetadataFor"
5
5
  2014-08-20 v3.1: Addition of values "Reviews" & "IsReviewedBy" and "IsDerivedFrom" & "IsSourceOf"-->
6
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
6
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.0" targetNamespace="http://datacite.org/schema/kernel-4.0" elementFormDefault="qualified">
7
7
  <xs:simpleType name="relationType" id="relationType">
8
8
  <xs:annotation>
9
9
  <xs:documentation>Description of the relationship of the resource being registered (A) and the related resource (B).</xs:documentation>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element; added values "Audiovisual", "Workflow" & "Other"; deleted value "Film" -->
4
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.0" targetNamespace="http://datacite.org/schema/kernel-4.0" elementFormDefault="qualified">
5
5
  <xs:simpleType name="resourceType" id="resourceType">
6
6
  <xs:annotation>
7
7
  <xs:documentation>The general type of a resource.</xs:documentation>
@@ -2,7 +2,7 @@
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element
4
4
  2015-02-12 v4.0 Added value "Other" -->
5
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
5
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.0" targetNamespace="http://datacite.org/schema/kernel-4.0" elementFormDefault="qualified">
6
6
  <xs:simpleType name="titleType" id="titleType">
7
7
  <xs:restriction base="xs:string">
8
8
  <xs:enumeration value="AlternativeTitle"/>
@@ -8,7 +8,7 @@
8
8
  2013-07-24 v3.0: namespace: kernel-3.0; delete LastMetadataUpdate & MetadateVersionNumber; additions to controlled lists "contributorType", "dateType", "descriptionType", "relationType", "relatedIdentifierType" & "resourceType"; deletion of "StartDate" & "EndDate" from list "dateType" and "Film" from "resourceType"; allow arbitrary order of elements; allow optional wrapper elements to be empty; include xml:lang attribute for title, subject & description; include attribute schemeURI for nameIdentifier of creator, contributor & subject; added new attributes "relatedMetadataScheme", "schemeURI" & "schemeType" to relatedIdentifier; included new property "geoLocation"
9
9
  2014-08-20 v3.1: additions to controlled lists "relationType", contributorType" and "relatedIdentifierType"; introduction of new child element "affiliation" to "creator" and "contributor"
10
10
  2016-09-19 v4.0: namespace: kernel-4.0; makes "resourceType" required field, added optional "givenName" and "familyName" to creator and contributor, added "funderReference", added "valueURI" for subject, added "geoLocationPolygon" -->
11
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified" xml:lang="EN">
11
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.0" targetNamespace="http://datacite.org/schema/kernel-4.0" elementFormDefault="qualified" xml:lang="EN">
12
12
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
13
13
  <xs:include schemaLocation="include/datacite-titleType-v4.xsd"/>
14
14
  <xs:include schemaLocation="include/datacite-contributorType-v4.xsd"/>
@@ -3,7 +3,7 @@
3
3
  2013-05 v3.0: Addition of ID to simpleType element, added values "ResearchGroup" & "Other"
4
4
  2014-08-20 v3.1: Addition of value "DataCurator"
5
5
  2015-05-14 v4.0 dropped value "Funder", use new "funderReference" -->
6
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
6
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.1" targetNamespace="http://datacite.org/schema/kernel-4.1" elementFormDefault="qualified">
7
7
  <xs:simpleType name="contributorType" id="contributorType">
8
8
  <xs:annotation>
9
9
  <xs:documentation>The type of contributor of the resource.</xs:documentation>
@@ -2,7 +2,7 @@
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element; addition of value "Collected"; deleted "StartDate" & "EndDate"
4
4
  2017-10-23 v4.1: Addition of value "Other"-->
5
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
5
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.1" targetNamespace="http://datacite.org/schema/kernel-4.1" elementFormDefault="qualified">
6
6
  <xs:simpleType name="dateType" id="dateType">
7
7
  <xs:annotation>
8
8
  <xs:documentation>The type of date. Use RKMS‐ISO8601 standard for depicting date ranges.To indicate the end of an embargo period, use Available. To indicate the start of an embargo period, use Submitted or Accepted, as appropriate.</xs:documentation>
@@ -2,7 +2,7 @@
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element, addition of value "Methods"
4
4
  2015-02-12 v4.0: Addition of value "TechnicalInfo"-->
5
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
5
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.1" targetNamespace="http://datacite.org/schema/kernel-4.1" elementFormDefault="qualified">
6
6
  <xs:simpleType name="descriptionType" id="descriptionType">
7
7
  <xs:annotation>
8
8
  <xs:documentation>The type of the description.</xs:documentation>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 1.0 - Created 2016-05-14 -->
3
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
3
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.1" targetNamespace="http://datacite.org/schema/kernel-4.1" elementFormDefault="qualified">
4
4
  <xs:simpleType name="funderIdentifierType" id="funderIdentifierType">
5
5
  <xs:annotation>
6
6
  <xs:documentation>The type of the funderIdentifier.</xs:documentation>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- Version 4.1 - Created 2017-10-23 -->
3
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
3
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.1" targetNamespace="http://datacite.org/schema/kernel-4.1" elementFormDefault="qualified">
4
4
  <xs:simpleType name="nameType" id="nameType">
5
5
  <xs:restriction base="xs:string">
6
6
  <xs:enumeration value="Organizational"/>
@@ -3,7 +3,7 @@
3
3
  2013-05 v3.0: Addition of ID to simpleType element; addition of value "PMID"
4
4
  2014-08-20 v3.1: Addition of values "arxiv" and "bibcode"
5
5
  2015-02-12 v4.0 Addition of value "IGSN" -->
6
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
6
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.1" targetNamespace="http://datacite.org/schema/kernel-4.1" elementFormDefault="qualified">
7
7
  <xs:simpleType name="relatedIdentifierType" id="relatedIdentifierType">
8
8
  <xs:annotation>
9
9
  <xs:documentation>The type of the RelatedIdentifier.</xs:documentation>
@@ -4,7 +4,7 @@
4
4
  2013-05 v3.0: Addition of ID to simpleType element, addition of values "IsIdenticalTo", "HasMetadata" & "IsMetadataFor"
5
5
  2014-08-20 v3.1: Addition of values "Reviews" & "IsReviewedBy" and "IsDerivedFrom" & "IsSourceOf"
6
6
  2017-10-23 v.4.1: Addition of values "Describes", "IsDescribedBy", "HasVersion", "IsVersionOf", "Requires", "IsRequiredBy" -->
7
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
7
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.1" targetNamespace="http://datacite.org/schema/kernel-4.1" elementFormDefault="qualified">
8
8
  <xs:simpleType name="relationType" id="relationType">
9
9
  <xs:annotation>
10
10
  <xs:documentation>Description of the relationship of the resource being registered (A) and the related resource (B).</xs:documentation>
@@ -2,7 +2,7 @@
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element; added values "Audiovisual", "Workflow" & "Other"; deleted value "Film"
4
4
  2017-10-23 v4.1: Addition of value "DataPaper" -->
5
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
5
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.1" targetNamespace="http://datacite.org/schema/kernel-4.1" elementFormDefault="qualified">
6
6
  <xs:simpleType name="resourceType" id="resourceType">
7
7
  <xs:annotation>
8
8
  <xs:documentation>The general type of a resource.</xs:documentation>
@@ -2,7 +2,7 @@
2
2
  <!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany
3
3
  2013-05 v3.0: Addition of ID to simpleType element
4
4
  2015-02-12 v4.0 Added value "Other" -->
5
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified">
5
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.1" targetNamespace="http://datacite.org/schema/kernel-4.1" elementFormDefault="qualified">
6
6
  <xs:simpleType name="titleType" id="titleType">
7
7
  <xs:restriction base="xs:string">
8
8
  <xs:enumeration value="AlternativeTitle"/>
@@ -9,7 +9,7 @@
9
9
  2014-08-20 v3.1: additions to controlled lists "relationType", contributorType" and "relatedIdentifierType"; introduction of new child element "affiliation" to "creator" and "contributor"
10
10
  2016-09-19 v4.0: namespace: kernel-4.0; makes "resourceType" required field, added optional "givenName" and "familyName" to creator and contributor, added "funderReference", added "valueURI" for subject, added "geoLocationPolygon"
11
11
  2017-10-23 v4.1: Addition of dateType value "Other", relationType values "Describes", "IsDescribedBy", "HasVersion", "IsVersionOf", "Requires", "IsRequiredBy", resourceType value "DataPaper", new subproperties "dateInformation", "inPolygonPoint", new attribute "nameType", optional attribute "resourceTypeGeneral" for relatedIdentifier -->
12
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4" targetNamespace="http://datacite.org/schema/kernel-4" elementFormDefault="qualified" xml:lang="EN">
12
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-4.1" targetNamespace="http://datacite.org/schema/kernel-4.1" elementFormDefault="qualified" xml:lang="EN">
13
13
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
14
14
  <xs:include schemaLocation="include/datacite-titleType-v4.xsd"/>
15
15
  <xs:include schemaLocation="include/datacite-contributorType-v4.xsd"/>
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <resource xsi:schemaLocation="http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd" xmlns="http://datacite.org/schema/kernel-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <resource xsi:schemaLocation="http://datacite.org/schema/kernel-3.0 http://schema.datacite.org/meta/kernel-3.0/metadata.xsd" xmlns="http://datacite.org/schema/kernel-3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
3
  <identifier identifierType="DOI">10.5072/testpub</identifier>
4
4
  <creators>
5
5
  <creator>
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd">
2
+ <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4.0" xsi:schemaLocation="http://datacite.org/schema/kernel-4.0 http://schema.datacite.org/meta/kernel-4.0/metadata.xsd">
3
3
  <identifier identifierType="DOI">10.5072/testpub</identifier>
4
4
  <creators>
5
5
  <creator>
@@ -289,7 +289,7 @@ describe Bolognese::Metadata, vcr: true do
289
289
  expect(subject.license).to eq("id"=>"http://creativecommons.org/licenses/by-nd/2.0", "name"=>"Creative Commons Attribution-NoDerivs 2.0 Generic")
290
290
  expect(subject.publisher).to eq("Springer")
291
291
  expect(subject.service_provider).to eq("DataCite")
292
- expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4")
292
+ expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4.0")
293
293
  end
294
294
 
295
295
  it "Schema 3.0 from string" do
@@ -311,7 +311,7 @@ describe Bolognese::Metadata, vcr: true do
311
311
  expect(subject.license).to eq("id"=>"http://creativecommons.org/licenses/by-nd/2.0", "name"=>"Creative Commons Attribution-NoDerivs 2.0 Generic")
312
312
  expect(subject.publisher).to eq("Springer")
313
313
  expect(subject.service_provider).to eq("DataCite")
314
- expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-3")
314
+ expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-3.0")
315
315
  end
316
316
 
317
317
  it "Schema 2.2 from string" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolognese
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.11'
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner