[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Will XML Schema 1.1 get traction?
- From: John Cowan <cowan@mercury.ccil.org>
- To: Rick Jelliffe <rjelliffe@allette.com.au>
- Date: Tue, 14 Aug 2012 10:57:29 -0400
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]