W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2004

Re: XS expressivity problem

From: George Cristian Bina <george@sync.ro>
Date: Thu, 05 Aug 2004 13:55:16 +0300
Message-ID: <41121214.90003@sync.ro>
To: Ciprian Ciubotariu <cheepeero@msn.com>
Cc: xmlschema-dev@w3.org

Hi Ciprian,

 > I planned to use the following in a schema: inside an <choice> group 
 > several elements with the same name but different types. Can I write 
this in
 > a schema?
 > 1. Is this construction allowed by the W3C schema specifications?

No, you cannot do this in a W3C XML Schema.
See http://www.w3.org/TR/xmlschema-1/#cos-element-consistent for details.

Best Regards,
George Cristian Bina
<oXygen/> XML Editor & XSLT Editor/Debugger
Received on Thursday, 5 August 2004 06:55:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:05 UTC