Project

General

Profile

Actions

Bug #1461

closed

dpw not adding role in associatedParty

Added by Chad Berkley over 20 years ago. Updated over 20 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
morpho - general
Target version:
Start date:
04/08/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1461

Description

when i try to validate a package after creating it and using one or more
referenced associatedParties, the package is invalid because there is no role
element in the associated Party. Here's the error:

Validation problem: Exception:cvc-complex-type.2.4.b: The content of element
'associatedParty' 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)))'.

the produced xml looks like:
<associatedParty>
<references>1081179008226</references>
</associatedParty>

it needs a <role> element inside associatedParty to be valid.

Actions

Also available in: Atom PDF