(Non)deterministic XML Schema

Discussion in 'XML' started by Gijs, Jan 21, 2004.

  1. Gijs

    Gijs Guest

    I wish to allow any of the following five sequences to specify the
    date of an historical event.

    <EventDate>1677-06-21</EventDate>
    or
    <EventDate modifier="approximately">1677-06-01</EventDate>
    or
    <EventDate modifier="after">1677-01-01</EventDate>
    or
    <EventDate modifier="before">1678-01-01</EventDate>
    or both
    <EventDate modifier="after">1677-01-01</EventDate>
    <EventDate modifier="before">1678-01-01</EventDate>

    I guess that the solution will need derivations of an abstract type
    and the use of the instance namespace, but I can't figure out an XML
    Schema that is deterministic.

    Who can help me?
    Thanks and regards,
    Gijs
    Gijs, Jan 21, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Markus
    Replies:
    1
    Views:
    1,528
    Markus
    Nov 23, 2005
  2. Replies:
    1
    Views:
    406
    Richard Tobin
    Nov 4, 2003
  3. Replies:
    1
    Views:
    368
    Patrick TJ McPhee
    Nov 5, 2003
  4. Sahatra Kumara

    Non-deterministic schema

    Sahatra Kumara, Mar 24, 2005, in forum: XML
    Replies:
    0
    Views:
    535
    Sahatra Kumara
    Mar 24, 2005
  5. Stanimir Stamenkov
    Replies:
    3
    Views:
    1,250
    Stanimir Stamenkov
    Apr 25, 2005
Loading...

Share This Page