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

license_ref_input should be multiple #26

Open
drtjmb opened this issue May 20, 2015 · 2 comments
Open

license_ref_input should be multiple #26

drtjmb opened this issue May 20, 2015 · 2 comments

Comments

@drtjmb
Copy link
Member

drtjmb commented May 20, 2015

"Multiple ali:license_ref elements may be included."

http://rioxx.net/v2-0-final/

@tr325
Copy link

tr325 commented May 27, 2015

Hi, I'm trying to interface with EPrints using xml over http, and have been trying to get multiple license_ref fields to be included in the deposit. I see that is now possible (thanks!), but can't manage to get my xml into a format EPrints is happy with.

I had assumed it used the child tag, as for other files (such as below), but it's not going through - can you tell me what I'm doing wrong? The relevant part of my xml currently looks like this:

<creators>
    <item>
        <name>
            <family>Name</family>
            <given>T</given>
        </name>
        <id>T.Name@example.org</id>
    </item>
</creators>
<date>2015-05-21</date>
<date_type>accepted</date_type>
<rioxx2_license_ref_input>
    <item>
        <start_date>2015-05-21</start_date>
        <license_ref>http://rioxx.net/licenses/all-rights-reserved/</license_ref>
    </item>
    <item>
        <start_date>2099-06-18</start_date>
        <license_ref>http://test.example.com</license_ref>
    </item>
</rioxx2_license_ref_input>

@drtjmb
Copy link
Member Author

drtjmb commented May 27, 2015

Hi Tom,

Can you try editing a record, manually inputting multiple license refs, then exporting the record as XML?

This will at least give you some XML for comparison; let me know what you find.

Thanks,

Tim

On 27 May 2015 11:11 am, Tom Renner notifications@github.com wrote:

Hi, I'm trying to interface with EPrints using xml over http, and have been trying to get multiple license_ref fields to be included in the deposit. I see that is now possible (thanks!), but can't manage to get my xml into a format EPrints is happy with.

I had assumed it used the child tag, as for other files (such as below), but it's not going through - can you tell me what I'm doing wrong? The relevant part of my xml currently looks like this:

Name T T.Name@example.org 2015-05-21 accepted 2015-05-21 http://rioxx.net/licenses/all-rights-reserved/ 2099-06-18 http://test.example.com


Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-105853026.

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

2 participants