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

Added new corner case on MD 2.0 C.18 #505

Merged
merged 1 commit into from
Sep 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion metadata/2.0/common/ets-md-common-bsxets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ let $messages :=
else if(count($md_legalConstraints_Conditions) = 0) then
local:addMessage('TR.noResourceConditions', map { 'filename': local:filename($record), 'id': $rid })
else if (count($md_legalConstraints_Conditions) != 1) then
if (not(count($md_legalConstraints_Limitations) = 0 and count($md_legalConstraints_Conditions) = 2)) then
if (not(count($md_legalConstraints_Limitations) = 0 or count($md_legalConstraints_Limitations) = 1) and count($md_legalConstraints_Conditions) = 2) then
local:addMessage('TR.noValidResourceConditions', map { 'filename': local:filename($record), 'id': $rid })
else ()
else ()
Expand Down