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.


Rendez-vous a Paris pour mes formations XML/XSLT.
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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:59 UTC