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

constraints for non-deterministic constructs

From: Weber, Heiko <Heiko.Weber@softwareag.com>
Date: Fri, 9 Mar 2001 15:23:01 +0100
Message-ID: <C23163F98473D311874C0008C7E62107048E5ED4@daemsg02.software-ag.de>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>

Are there any constraints in the Schema defnition that prohibit using
constructs like the following?

<complexType>
  <choice>
    <sequence>
      <element ref="A">
    </sequence>
    <choice>
      <element ref="A">
      <element ref="B">
    </choice>
  </choice>
</complexType>

If I got the element "A" I wouldn't be able to decide if this element
would match the sequence or the choice.

thanks
    Heiko

--- --- --- --- --- --- --- --- --- --- ---

Software AG Germany    
DBMS Open Systems Development (XML)
Uhlandstrasse 12
D-64297  Darmstadt
Germany

Phone: +49-6151-921247       
Fax:     +49-6151-921613           
Email:  mailto:Heiko.Weber@softwareag.com
Web:     http://www.softwareag.com
Received on Friday, 9 March 2001 09:23:09 GMT

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