Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 OAI server needs additional namespaces #59

Open
ghukill opened this issue Sep 29, 2017 · 0 comments
Open

v2 OAI server needs additional namespaces #59

ghukill opened this issue Sep 29, 2017 · 0 comments

Comments

@ghukill
Copy link
Member

ghukill commented Sep 29, 2017

Some work on DPLA aggregator showed that the python lxml library cannot perform XSLT transformations on records coming out of the v2 OAI server.

They should look like this:

<record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://www.openarchives.org/OAI/2.0/">
    <header>
        <identifier>oai:digital.library.wayne.eduwsudor_dpla:oai:digital.library.wayne.edu:wayne:ws88.21</identifier>
        <datestamp>2017-07-07</datestamp>
        <setSpec>wsudor_dpla</setSpec>
    </header>
    <metadata>
        <mods:mods xmlns:xlink="http://www.w3.org/1999/xlink"
            xmlns:xl="http://www.w3.org/1999/xlink" xmlns:mets="http://www.loc.gov/METS/"
            xmlns:mods="http://www.loc.gov/mods/v3">

But ours look like this:

<record>
    <header>
        <identifier>oai:digital.library.wayne.edu:wayne:ws88.21</identifier>
        <datestamp>2017-05-15</datestamp>
    </header>
    <metadata>
        <mods:mods xmlns:mets="http://www.loc.gov/METS/" xmlns:xl="http://www.w3.org/1999/xlink"
            xmlns:mods="http://www.loc.gov/mods/v3" xmlns:xlink="http://www.w3.org/1999/xlink">

Most noticeably, missing the xmlns="http://www.openarchives.org/OAI/2.0/" from the <record> element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant