model group: choice and min/maxOccurs for choice elements

Hello there,
I wonder about the minOccurs and maxOccurs properties for the
element declarations inside a choice model group.
Is it allowed to define something like:

...
<choice>
   <element name="elem1" type="string" minOccurs="0" maxOccurs="10"/>
   <element name="elem2" type="integer"/>
</choice>
...

I am also confused about the REC saying this in 3.8.4:
"...
Nothing in the above should be understood as ruling out groups whose
{particles} is empty: although no sequence can be ·valid· with respect to
such a group whose {compositor} is choice, the empty sequence is ·valid·
with respect to empty groups whose {compositor} is sequence or all.
..."
Does that mean I cannot validate an empty sequence (instance) against an
empty choice group (schema), but I can validate an empty sequence
(instance) against an empty sequence group (schema)?

Thanks very much for your help & best regards,
  Holger
_________________________

Holger Joukl
LBBW
2342 Z - IT/Org II Handel
Tel. +49 (711) 124 - 7078
_________________________



______________________________________________________________________


--------------------------------------------------------------------------------------------
Bitte beachten Sie, dass der Inhalt dieser E-Mail einschließlich eventuell
angehängter Dokumente vertraulich ist. Falls Sie nicht der angegebene
Empfänger sind oder falls diese E-Mail irrtümlich an Sie adressiert wurde,
dürfen Sie die E-Mail und eventuell angehängte Dokumente weder öffnen,
lesen, kopieren, verbreiten noch ihren Inhalt in irgendeiner Weise nutzen.
Bitte verständigen Sie den Absender sofort und löschen Sie die E-Mail
sodann.

Die Sicherheit von Übermittlungen per E-Mail kann nicht garantiert werden.
Per E-Mail übermittelte Informationen können abgefangen oder geändert
werden, verloren gehen oder zerstört werden, verspätet oder unvollständig
ankommen, oder Viren enthalten. Der Absender übernimmt daher keine Gewähr
für Irrtümer oder Auslassungen jeder Art im Inhalt sowie sonstige Risiken,
die auf die Übermittlung per E-Mail zurückzuführen sind. Falls Sie eine
Bestätigung wünschen, fordern Sie bitte den Inhalt der E-Mail als Hardcopy
an.


This e-mail and any attached files are confidential. If you are not the
named addressee or if this transmission has been addressed to you in error,
any disclosure, reproduction, copying, distrubtion, or other dissemination
or use of this communication is prohibited. If you have received this
transmission in error please notify the sender immediately and then delete
this e-mail.

E-mail transmission cannot be guaranteed to be secure or free from error as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message or
any other of such risks which arise as a result of e-mail transmission. If
verification is required, please request a hard copy version.
---------------------------------------------------------------------------------------------

Received on Thursday, 9 August 2001 07:09:38 UTC