Closed gothub closed 7 years ago
The resource maps generated by createFromTriples and serializeToRDF don't contain a 'creator' and 'modified' entries. These entries should look like this (in RDF/XML):
createFromTriples
serializeToRDF
<rdf:Description rdf:nodeID="_dd79f741-97bf-42d8-9cd8-cefcf5af24d4"> <foaf:name rdf:datatype="http://www.w3.org/2001/XMLSchema#string">DataONE R Client</foaf:name> </rdf:Description> <rdf:Description rdf:nodeID="_dd79f741-97bf-42d8-9cd8-cefcf5af24d4"> <rdf:type rdf:resource="http://purl.org/dc/terms/Agent"/> </rdf:Description> <rdf:Description rdf:about="https://cn-dev-2.test.dataone.org/cn/v2/resolve/urn:uuid:c74ee9e9-f14e-4b56-8976-fd2d19b46bae"> <dc:creator rdf:nodeID="_dd79f741-97bf-42d8-9cd8-cefcf5af24d4"/> </rdf:Description>
These are required by the ORE Specification: http://www.openarchives.org/ore/1.0/datamodel#Constraints so should be included.
Fixed in commit a57cde3001b0604cdbbab86fcdb9ca86f18103d4
The resource maps generated by
createFromTriples
andserializeToRDF
don't contain a 'creator' and 'modified' entries. These entries should look like this (in RDF/XML):These are required by the ORE Specification: http://www.openarchives.org/ore/1.0/datamodel#Constraints so should be included.