sul-dlss / dlme-transform

Transforms raw DLME metadata to DLME intermediate representation
Apache License 2.0
0 stars 2 forks source link

Rename BnF Macro or move name spaces #93

Closed jacobthill closed 5 years ago

jacobthill commented 5 years ago

The namespaces in the BNF macro are not unique to BnF data. I use these namespaces in sakip-sabanci-config.rb, for example. I'm not sure what the name should be.

jcoyne commented 5 years ago

Would SRW be a good choice?

jacobthill commented 5 years ago

I don't think so. I'm actually not clear on what the name is supposed to reflect. I can share some details that might help you decide. SRW is a standard maintained by LOC roughly equivalent to OAI-PMH (which is maintained by OAI) but both use dc: and oai_dc. So dc and oai_dc will be common to most configs. In addition most will need one or the other of srw or oai-pmh. So, I'm confused about what to call it.

jcoyne commented 5 years ago

Since it's using the srw:record, at the top of the xpath query, that makes the most sense to me, unless you have another alternative.

jcoyne commented 5 years ago

@jacobthill I suspect you are trying to do too much with one constant. I made the SRW macro and here's an OAI macro you can use for SSM: https://github.com/sul-dlss/dlme-transform/pull/96

jacobthill commented 5 years ago

Ok that works