W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2012

Extending an enumeration

From: Florent Georges <lists@fgeorges.org>
Date: Wed, 25 Jul 2012 11:02:45 +0100 (BST)
Message-ID: <1343210565.9684.YahooMailNeo@web28902.mail.ir2.yahoo.com>
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
  Hi,

  I struggle with a simple problem.  I have two simple types,
both are enumerations, one is a subset of the other.  Lets' say:

    working-days:
      - monday, tuesday, wednesday, thursday, friday
    week-days:
      - { working-days }, saturday, sunday

  I would like to have "week-days" defined as an extension of
"working-days".  Sounds sensible, doesn't it?  But I cannot find
how to do it...

  Any idea?

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
Received on Wednesday, 25 July 2012 10:03:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 July 2012 10:03:24 GMT