XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[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?

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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS