Re: [xml-dev] [XSD question] Does ref'ing to the same global element declaration multiple times violate the Don't Repeat Yourself principle?

From
Amelia A Lewis <>
To
Roger L Costello <>
Date
2022-01-06T12:59:28Z
ID
<>
Thread
Re: [xml-dev] [XSD question] Does ref'ing to the same global element declaration multiple times violate the Don't Repeat Yourself principle?
On Thu, 6 Jan 2022 12:44:47 +0000, Roger L Costello wrote:
> Do multiple ref's to the same element constitute a violation of the 
> Don't Repeat Yourself (DRY) principle?

No.

References (of the sort that you intend to use here) are useless unless 
they can be reused; the point here is that the multiple references to a 
single definition reduce repetition, redundancy, and the risk of 
multiple copies of a definition falling out of synchronization.

Amy!
-- 
Amelia A. Lewis                    amyzing {at} talsever.com
Love?
A joke, that.  Love was the problem, not the solution.  Being hit by a
car was better than love.
            -- Steven Brust, PJF, "Cowboy Feng's Space Bar and Grille"