Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following two XML snippets each expresses a different reality:

Code Block
languagexml
titleOne Person with Two Roles (ERN-3)
collapsetrue
<ResourceContributor>
  <PartyName>
    <FullName>
      John Smith
    </FullName>
  <PartyName>
  <ResourceContributorRole>
    Soloist
  </ResourceContributorRole>
  <ResourceContributorRole>
    Producer
  </ResourceContributorRole>
</ResourceContributor>
Code Block
languagexml
titleOne Person with Two Roles (ERN-4)
collapsetrue
<Contributor>
  <ContributorPartyReference>P345</ContributorPartyReference>
  <Role>Soloist</Role>
  <Role>Producer</Role>
</Contributor>
Code Block
languagexml
titleTwo People with One Role each (ERN-3)
collapsetrue
<ResourceContributor>
  <PartyName>
    <FullName>
      John Smith
    </FullName>
  <PartyName>
  <ResourceContributorRole>
    Soloist
  </ResourceContributorRole>
</ResourceContributor>
<ResourceContributor>
  <PartyName>
    <FullName>
      John Smith
    </FullName>
  <PartyName>
  <ResourceContributorRole>
    Producer
  </ResourceContributorRole>
</ResourceContributor>
Code Block
languagexml
titleTwo People with One Role each (ERN-3)
collapsetrue
<Contributor>
  <ContributorPartyReference>P345</ContributorPartyReference>
  <Role>Soloist </Role>
</Contributor>
<Contributor>
  <ContributorPartyReference>P741</ContributorPartyReference>
  <Role>Producer</Role>
</Contributor>

The sample on the left shows one person, John Smith, who played two roles, soloist and producer, during the creation of a sound recording or video. The sample on the right, shows two different people, unfortunately both called John Smith, each of which plays one role each. To avoid this confusion, it is recommended to always add a Party ID to any composite describing parties.