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

simpleContent and restriction

From: Arnaud Blandin <blandin@intalio.com>
Date: Wed, 31 Jan 2001 11:29:21 -0800
To: <xmlschema-dev@w3.org>
Message-ID: <EPEKKOODJFPGIAOKHAEEOEGFCLAA.blandin@intalio.com>

I have a basic question and I can't find an answer in the XML Schema Specs
nor in the the list archive:

given the following

		<restriction base="type">
			<attribute name="foo2" type="something"/>

<complexType name="type">
		<extension base="string">
			<attribute name="foo" type="somethingelse"/>

this seems to be allowed and I don't think it should be because
the first 'restriction' acts as an 'extension'.
I am sure I am missing something, could you please help me?

Received on Wednesday, 31 January 2001 14:30:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:50 UTC