result_pids #14

Closed
michele.artini wants to merge 0 commits from result_pids into master
Member
No description provided.
claudio.atzori requested changes 2020-05-26 16:22:11 +02:00
claudio.atzori left a comment
Owner

Michele please remember to compile the code before you a commit & push, in this way you're going to reformat the code according to the common style.

I suspect some of the diffs come from changes that you didn't sync on and would be avoided in the PR if you compiled the code first :)

Most importantly however, I noticed the mapping of the PIDs from the Odf format doesn't filter the types indicated in the dedicated vocabulary (see comment below).

Michele please remember to compile the code before you a commit & push, in this way you're going to reformat the code according to the common style. I suspect some of the diffs come from changes that you didn't sync on and would be avoided in the PR if you compiled the code first :) Most importantly however, I noticed the mapping of the PIDs from the Odf format doesn't filter the types indicated in the dedicated vocabulary (see comment below).
@ -371,1 +371,4 @@
}
@Override
protected List<StructuredProperty> prepareResultPids(final Document doc, final DataInfo info) {

The mapping for PIDs should only allow passing PID types declared in the dnet:pid_types vocabulary, while all the others should be discarded. However, I don't see in this method (or in the methods used by it) any filtering applied according to any vocabulary.

The mapping for PIDs should only allow passing PID types declared in the *dnet:pid_types* vocabulary, while all the others should be discarded. However, I don't see in this method (or in the methods used by it) any filtering applied according to any vocabulary.
michele.artini closed this pull request 2020-05-27 11:35:22 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: D-Net/dnet-hadoop#14
No description provided.