NIEM / NIEM-NDR

The NIEM Naming and Design Rules
https://niem.github.io/NIEM-NDR/
6 stars 6 forks source link

Add nested example for Section 12.2.4. Reference and content elements have same meaning #59

Closed cdmgtri closed 4 years ago

cdmgtri commented 7 years ago

12.2.4. Reference and content elements have same meaning

This section explains that relationships established via nested elements and via references are semantically equivalent. The two examples given, Figure 12-4 and Figure 12-5, show the semantic equivalence between forward and backward references.

Figure 12-4: Example with a backward reference Figure 12-5: Example with a forward reference

A purely nested example is not given.

Suggest adding a third example with no reference at all:

<j:Witness>
  <nc:RoleOfPerson>
    <nc:PersonName>
      <nc:PersonFullName>John Doe</nc:PersonFullName>
    </nc:PersonName>
  </nc:RoleOfPerson>
</j:Witness>