[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] [XSD question] Does ref'ing to the same global elementdeclaration multiple times violate the Don't Repeat Yourself principle?
- From: Michael Kay <mike@saxonica.com>
- To: Roger L Costello <costello@mitre.org>
- Date: Thu, 6 Jan 2022 12:55:01 +0000
>
> Do multiple ref's to the same element constitute a violation of the Don't Repeat Yourself (DRY) principle?
Quite the contrary. DRY says define something once and then refer to the common definition wherever the thing is needed.
Michael Kay
Saxonica
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]