group-declaration

Hi!

I've a question about the group definition for elements. Let's say I've
two types A and B and the following group:

<group order="choice">
  <element name="c" type="A"/>
  <element name="c" type="B"/>
</group>

In the final XML document, do I have to add the "xsi:type" attribute to
the "c"-element? Or could I leave them out. Not checking the type of "c"
results in an ambiguous choice.

Volker

-- 
Volker Renneberg              http://workaholic.studfb.unibw-muenchen.de
Bell Laboratories, Lucent Technologies    mailto:volker.renneberg@acm.de
Room 2c-402, 600 Mountain-Avenue
Murray Hill, NJ 07974, USA
Phone*work: +1-908-582-2430  home: +1-908-273-3876
Fax  *work: +1-908-582-5857

Received on Thursday, 17 February 2000 16:36:37 UTC