Re: Datatypes

From
James Clark <>
Date
2001-05-15T12:37:59+00:00
ID
0f8a01c0dd3b$a4ca3c60$
Thread
Re: Datatypes
> To finish our first draft, I would propose not to allow types derived
> from user-defined types.

I think this is the crucial issue.  If we don't allow this, then we can have
a significantly simpler design along the lines of:

  http://lists.oasis-open.org/archives/trex/200105/msg00087.html

In particular, we don't need to make a distinction between definitions of
datatypes and definitions of patterns.

We could have

  <data type="xsd:int">
     <param name="maxExclusive">100</param>
  </data>

or

  <list itemType="xsd:int">
     <param name="maxExclusive">100</param>
  </list>

or

  <enumeration type="xsd:int">
     <value>1</value>
     <value>2</value>
  </enumeration>

James