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

Re: More on xs:anySimpleType

From: Hugh Wallis <hugh_wallis@hyperion.com>
Date: Wed, 26 Feb 2003 08:56:29 -0500
Message-ID: <02c601c2dd9e$dcdbd180$2702a8c0@hyperion.com>
To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
Cc: <xmlschema-dev@w3.org>, "Dare Obasanjo" <dareo@microsoft.com>

Can I just confirm then that these errata, taken in conjunction with the
ones that Dare pointed me to previously, will permit the following situation
in the schema for which targetNamespace="myNamespace" for example:

<element name="item" type="anySimpleType" abstract="true">
<simpleType name="monetary">
    <restriction base="decimal"/>
</simpleType>
<element name="cash" type="myNamespace:monetary" substitutionGroup="item">

I figure this ought to be OK since we are deriving monetary from decimal and
not from anySimpleType directly.

Thanks

Hugh

----- Original Message -----
From: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
To: "Hugh Wallis" <hugh_wallis@hyperion.com>
Cc: <xmlschema-dev@w3.org>
Sent: Monday, 24 February, 2003 4:08 AM
Subject: Re: More on xs:anySimpleType


As Dare says, since the REC is not perfectly unambiguous in this area
as written, implementors have taken different decisions wrt
anySimpleType.  Most parsers allow user-access to it by name.  By the
end of the week there should be definitive errata published clarifying
that this is in fact correct.

ht
--
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged
spam]
Received on Wednesday, 26 February 2003 08:57:11 GMT

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