[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: "Ghislain Fourny" <gfourny@inf.ethz.ch>
- To: Roger L Costello <costello@mitre.org>
- Date: Thu, 6 Jan 2022 12:53:32 +0000
Dear Roger,
> Do multiple ref's to the same element constitute a violation of the Don't Repeat Yourself (DRY) principle?
I would say on the contrary that it implements this principle. @ref can be seen as a foreign key referencing the @name primary key, which is thus a higher "normal form”.
Kind regards,
Ghislain
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]