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

From
Ghislain Fourny <>
To
Roger L Costello <>
Date
2022-01-06T12:53:32Z
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?
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