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

Re: Error in finalDefault and simpleTypes

From: Ian Stokes-Rees <ijs@decisionsoft.com>
Date: Wed, 11 Jul 2001 11:03:12 +0100
Message-ID: <3B4C2460.CD6888DB@decisionsoft.com>
To: Eddie Robertsson <eddie@allette.com.au>
CC: Jeff Rafter <jeffrafter@definedweb.com>, xmlschema-dev@w3.org, www-xml-schema-comments@w3.org, ht@cogsci.ed.ac.uk
Two questions:

1) Is there any effort to bring XSDL threads from xml-dev over to
xmlschema-dev?  Many people (myself included) do not have the time to follow
xml-dev and would appreciate threads being CC'ed to xmlschema-dev if they are
relevant to XSDL.

2) What happens with "corrections" such as this to the schema spec?  Are they
recorded in an addendum or errata?

Cheers,

Ian.

Eddie Robertsson wrote:
> 
> Hi Jeff,
> 
> This was discussed on xml-dev a couple of weeks ago. See [1]
> 
> [1] http://lists.xml.org/archives/xml-dev/200106/msg00817.html
> 
> Cheers,
> /Eddie
> 
> Jeff Rafter wrote:
> 
> > I was looking up the answer to Lionel's question and stumbled across what
> > appears to be a small problem wrt simpleTypes and the final attribute.  The
> > definition for the simpleType component makes a reference to finalDefault
> > (in the schema element) saying that the relevant set can be
> >
> > "{extension, restriction, list, union}"
> >
> > However this is not allowed within the schema element's component
> > description:
> >
> > "finalDefault = (#all | List of (extension | restriction))  : ''"
> >
> > It is also not allowed within the normative Schema at the end of the
> > structures document.  Ultimately the simple type for the finalDefault
> > attribute is a union of the values #all and the reducedDerivationControl
> > which allows only restriction and extension.  finalDefault is therefore
> > never allowed to have the values list or union.
> >
> > Thanks,
> > Jeff Rafter
> > Defined Systems
> > http://www.defined.net
> > XML Development and Developer Web Hosting

-- 
Ian Stokes-Rees                       DecisionSoft Ltd.
Telephone: +44-1865-203192            http://www.decisionsoft.com
Received on Wednesday, 11 July 2001 06:01:39 GMT

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