[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] [XSD question] Does ref'ing to the same globalelement declaration multiple times violate the Don't Repeat Yourselfprinciple?
- From: Amelia A Lewis <amyzing@talsever.com>
- To: Roger L Costello <costello@mitre.org>
- Date: Thu, 6 Jan 2022 07:59:28 -0500
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"
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]