Project

General

Profile

Actions

Bug #2070

open

Problem with 'individualName' and 'distribution' fields in tree editor

Added by Veronique Connolly almost 19 years ago. Updated over 18 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
04/20/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2070

Description

I created a dp, entering only the required info in the wizard. Then I went to
the tree editor and entered info in the 'methods' module in these fields:
methodStep/description, methodStep/software/title, methodStep/software/creator,
methodStep/software/implementation, and methodStep/software/version. In
methodStep/software/creator, I only input info in the "individualname" field. I
clicked OK in the tree editor and got the message "The saved document is not
valid EML2....". I saved the dp and parsed it on
http://knb.ecoinformatics.org/emlparser/parse and got this message:

XML-Schema Errors Found
The following errors were found:
cvc-complex-type.2.3: Element 'individualName' must have no character
[children], because the types content type is element-only.

When I looked at the dp, I noticed that there was no info under "Individual:"
(under Methods Info/Software/Author(s)) and "Distribution" (under Methods
Info/Software/Implementation Info) even though I had input some info in these
fields in the tree editor.

When I deleted the "individualName" field in the tree editor and provided info
for the "organizationName" field, and clicked on OK, I got the invalid EML2
message again. When I parsed the dp, the error message was related to the
distribution field this time:

XML-Schema Errors Found
The following errors were found:
cvc-complex-type.2.3: Element 'distribution' must have no character [children],
because the types content type is element-only.

I also got the problem mentioned above about the 'individualName' field when
using the 'relatedProject' field (in the 'project' module).

Actions #1

Updated by Saurabh Garg almost 19 years ago

The cause of this bug is teh limitation in tree editor to show tags only upto a
certain level. Hence in the tree editor, under methodStep/software/creator
only "individualName" field is shown. What should be shown is
individualName/surName

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 2070

Actions

Also available in: Atom PDF