The current ID references are unconstrained, potentially allowing improperly referenced entities to pass validation.
As an example, this is valid under the current schema:
<vip_object>
<precinct id="precinctA14">
...
</precinct>
<polling_location id="pollinglocationA14">
...
</polling_location>
<street_segment id="streetsegmentA14.538">
<precinct_id>pollinglocationA14</precinct_id>
...
</street_segment>
</vip_object>
Ideally, the schema should use identity constraints (or some similar mechanism, if one exists) to ensure that the above example would fail validation.
The current ID references are unconstrained, potentially allowing improperly referenced entities to pass validation.
As an example, this is valid under the current schema:
Ideally, the schema should use identity constraints (or some similar mechanism, if one exists) to ensure that the above example would fail validation.