[Home] [By Thread] [By Date] [Recent Entries]

  • From: Andrew Welch <andrew.j.welch@g...>
  • To: John Cowan <cowan@m...>
  • Date: Tue, 14 Aug 2012 16:11:44 +0100

On 14 August 2012 15:57, John Cowan <cowan@m...> wrote:
> 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

I don't really see a problem with holding the enumerations in a file
of their own and versioning them separately to the main xsd.  That's
no different to external code lists, and it avoids the separate
additional validation step.



-- 
Andrew Welch
http://andrewjwelch.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member