lcnetdev / marc2bibframe2

Convert MARC records to BIBFRAME2 RDF
http://www.loc.gov/bibframe/
Creative Commons Zero v1.0 Universal
88 stars 35 forks source link

Add bf:generationProcess property to bf:AdminMetadata #51

Closed wafschneider closed 7 years ago

wafschneider commented 7 years ago

@ntra00 requests:

Wayne do we have you put the marc2bibframe in a metadata element? I think it would be useful

Bf1 had:

bf:generationProcess "DLC transform-tool:2015-10-28-T11:01:00" ] ;

wafschneider commented 7 years ago

This is very easy to do using the exslt dates and times function library, and it works with libxslt and Metaproxy, but...it breaks when using SaxonHE (open source), so it would break the XSpec testing harness unless you're using a licensed SaxonPE or SaxonEE, or you build SaxonHE manually with the extensions from the saxon-resources package. That's probably too high a barrier for casual use.

wafschneider commented 7 years ago

I decided to use function-available() to test for the date-time() function, so the solution works for SaxonHE, as well. The update has been pulled to mprxyvls02 for testing, here is a sample URL: http://mprxyvls02.loc.gov:210/LCDB?version=1.1&operation=searchRetrieve&query=rec.id%3D13600108&recordSchema=bibframe2-dev&startRecord=1&maximumRecords=1