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] Will XML Schema 1.1 get traction?

Rick Jelliffe scripsit:

> I have reached the stage where I think every enumerated list in an XSD
> (or RELAX NG, or DTD) should be regarded as guilty until proven
> useful, unless they are stable and unlikely to change in the lifetime
> of a schema.

I agree in principle.  However, such constructs may be not so much a
schema smell as an organizational smell.  Excluding lists from schemas
presumes that someone else is in the business of making and validating
them (e.g., ISO and IETF provide the lists of country codes, language
tags, currency codes, etc.)  But if there is no such organization, it
may devolve on the schema authors, as they are the sole line of defense
against bad enumerated data.  In which case, in default of other tools,
they will put the current state of the list directly into their schemas.

-- 
"The serene chaos that is Courage, and the phenomenon   cowan@ccil.org
of Unopened Consciousness have been known to the        John Cowan
Great World eons longer than Extaboulism."
"Why is that?" the woman inquired.
"Because I just made that word up", the Master said wisely.
        --Kehlog Albran, The Profit             http://www.ccil.org/~cowan


[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