Closed kleihan closed 3 months ago
First, both ID and name of a referred object are authoritative and are constrained to be unique within its class. For example , the tag and name of a field must be unique within fields.
The ID of a reference is constrained to match a referred object. For example, the tag of a fieldRef must point to an actual field.
However, the name of a fieldRef is for convenience only and is not constrained by the schema to match the name of the referred field. (Of course, an external validator process could check for inconsistencies.)
I hope that helps.
It is hence not a typo but the text may be ambiguous. The name occurs in two places:
Orchestra v1.1 supports ID and name in both places. The current text "Only the name of the referred object is authoritative." means that the name is NOT authoritative in the object reference (and only for convenience) but that it IS authorative in the object itself. The text will be changed as follows:
The name is optional as part of a reference and only for convenience.
It is not enforced by referential integrity. However, the name of the referred object is authoritative.
A validator may check the consistency between the name used for the reference and the name of the referred object.
Implemented in RC1
The definition of
refidGrp
contains an optional name attribute as follows:Should it be "Only the ID of the referred object is authoritative."?