Closed mbjones closed 5 months ago
Original Redmine Comment Author Name: Matt Jones (Matt Jones) Original Date: 2014-08-12T18:10:57Z
After looking more closely, it appears the references do match up. But there seems to be another validity issue. The EML Parser reports the following validation error:
cvc-complex-type.2.4.b: The content of element 'personnel' is not complete. It must match '(((((((((("":individualName)|("":organizationName))|("":positionName)){1-UNBOUNDED},("":address){0-UNBOUNDED}),("":phone){0-UNBOUNDED}),("":electronicMailAddress){0-UNBOUNDED}),("":onlineUrl){0-UNBOUNDED}),("":userId){0-UNBOUNDED})|("":references)),("":role){1-UNBOUNDED})'.
Original Redmine Comment Author Name: Jing Tao (Jing Tao) Original Date: 2014-08-12T18:31:00Z
The problem is in this section:
It misses the required element "role". If I add it, it works:
I am going to take a look why morpho doesn't enforce user to fill the element.
Original Redmine Comment Author Name: Jing Tao (Jing Tao) Original Date: 2014-08-14T16:45:03Z
I asked Zach how the entry was created and Zach couldn't remember.
I can't reproduce bug (I tried all of roles) . I also looked at the code and i didn't see the obvious bug.
I helped Zach to fix the issue.
Author Name: Matt Jones (Matt Jones) Original Redmine Issue: 6584, https://projects.ecoinformatics.org/ecoinfo/issues/6584 Original Date: 2014-08-12 Original Assignee: Jing Tao
I got a report from Zach Hoyt about having trouble uploading a document from Morpho to the KNB. In looking at the document, it appears to have
references
keys in the personnel section that are not present asid
fields in any creator or contacts in the document. So, it appears Morpho is creating invalid documents somehow. He says he is using Morpho 1.10.2. Excerpts from the conversation are below, and the file produced by Morpho is be attached.Jing has already been interacting with this group on related issues in Morpho.