W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2003

Predefined final value for list datatypes.

From: TrifonovD <TrifonovD@yandex.ru>
Date: Thu, 05 Jun 2003 22:24:30 -0600
Message-Id: <5.1.0.14.1.20030605222426.027cbe48@localhost>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>




Hello Henry,

By my mind list simple types can have predefined final attribute value.

For example:

	2.5.1.2 List datatypes.
	...
	A *list* datatype can be *derived* from an *atomic* datatype whose 
*lexical space* allows whitespace (such as string or anyURI)
	
Recommendation restrict derivation list datatypes from any types except 
atomic datatypes.
It means that any simple type has final attribute value "list" (by default) 
if it is the list datatype.
	<simpleType final="list">
		<list itemType="xxx"/>
	</simpleType >

Your comments?

Best regards,

Dmitry Trifonov.
welldocs.com 
Received on Friday, 6 June 2003 00:29:40 UTC

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