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

Re: Conditional typing

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Mon, 11 Feb 2002 10:59:42 +0100
Message-ID: <3C67960E.4010304@dyomedea.com>
To: Eric van der Vlist <vdv@dyomedea.com>
Cc: Piccand Régis <regis.piccand@imtf.ch>, " 'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Eric van der Vlist wrote:


> The problem which you will have is that since xs:base64Binary and 
> xs:string are both 2 primary types, you will have to use a generic UR 
> type for the definition of your element and will not be able to control 
> that other types are not used in addition of those two.
> 
Ooops, sorry, this is possible is you define the type of your element as an union of xs:base64Binary and xs:string.


Eric


-- 
Rendez-vous a Paris pour mes formations XML/XSLT.
                                           http://dyomedea.com/formation/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------
Received on Monday, 11 February 2002 05:00:15 GMT

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