W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2002

derived simpleTypes and fundamental facets

From: Liam Mullan <mullan@cs.man.ac.uk>
Date: Fri, 1 Feb 2002 11:22:49 -0500 (EST)
Message-ID: <3C5AC0B3.1020308@cs.man.ac.uk>
To: xmlschema-dev@w3.org
Hi,

I have a question regarding fundamental facets.
While each built-in simpleType has a full spec of fundamental facets, 
some of the built-in derived types 'redefine' the values of a subset of 
the fundamental facets inherited from the base-type definition.
For example, the built-in derived type long has its bounded facet set to 
true.
I am wondering how this fits with the fact that 'Conceptually there is 
no difference between the ·built-in· 
<http://www.w3.org/TR/xmlschema-2/#dt-built-in>   ·derived· 
<http://www.w3.org/TR/xmlschema-2/#dt-derived> datatypes included in 
this specification and the ·user-derived· 
<http://www.w3.org/TR/xmlschema-2/#dt-user-derived> datatypes which will 
be created by individual schema designers', since a user-defined type 
has no way of redefining fundamental facets explicitly.
I realize that the fundamental facet specs are only 'hinted at' in 
annotation elements in the schema for schemas...does this imply that the 
settings of fundamental facets are not explicit properties of the 
derived datatypes, and that they are implied by the settings of the 
constraining facets? If so, why are they included in the schema for 
schemas at all?

Any thoughts appreciated,

Liam Mullan

===========================================================
Liam Mullan
MINT Group
Department of Computer Science, University of Manchester,
Oxford Road, Manchester M13 9PL, UK
Tel: +44 (0)161 275 6270 Fax: +44 (0)161 275 6280
email: mullan@cs.man.ac.uk
===========================================================
Received on Monday, 4 February 2002 05:02:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:26 GMT