Editing existing references
When existing XML is edited, bibItem references may be amended, inserted, or deleted in the original document. Where bibItems change their target, they must be replaced and receive a new ID. Where they are amended but refer to the same target they must retain their ID.
It is vitally important that:
- bibItems that are amended but still refer to the same target MUST
be treated as the same bibItem (for instance when the name changes). These bibItems
must retain their id value, and a confirmation
value of
deferred
. - bibItems that are amended to refer to a different target MUST be treated as a new bibItem (a deletion then insertion). These bibItems require a new id. Note that referring to a different section of the same document counts as a different target.
As always, id attributes must not be re-used, even if they are deleted.
When updating Law content:
- first, mark all existing legal bibItem elements and legal extracts with confirmation="deferred"
- when the bibItem target is unchanged, this reference should not be amended further, including retaining the existing id.
- when the bibItem refers to a different target, use a new and previously unused id (as above) and remove the inserted confirmation="deferred" .
Please note that these rules do not apply to bibItems that occur within citeGrp.
Original
As referred to in the horse flogging act of 1663,
<p>As referred to in the <bibItem id="law-9780199277407-chapter-1-bibItem-1" class="UKLeg" date="1663">horse flogging act of 1663</bibItem>,</p>
No id change required (the horse flogging act and Equine Welfare Act are the same act)
As referred to in the Equine Welfare act of 1663,
<p>As referred to in the <bibItem id="law-9780199277407-chapter-1-bibItem-1" class="UKLeg" date="1663">Equine Welfare act of 1663</bibItem>,</p>
id change required (section ref changed)
As referred to in article 12 of the horse flogging act of 1663,
<p>As referred to in <bibItem id="law-9780199277407-chapter-1-bibItem-2" class="UKLeg" date="1663" sectRef="art.12">article 12 of the horse flogging act of 1663</bibItem>,</p>