-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite resource map updating routines to fix various issues
This commit addresses the cause of #51 The previous version of `parse_resource_map` used a SPARQL query to pull the triples out of the resource map being updated but didn't actually parse the result in an RDF-aware manner. This lead to " characters ending up in various places in the RDF/XML which causes tons of issues. The new routine simply uses datapack::parseRDF instead and just filters out cito:documents, cito:isDocumentedBy, dcterms:identifier, and the DataONE R Client statement.
- Loading branch information
Showing
2 changed files
with
34 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters