>> Did Peter omit maxOccurs intentionally?
>
>The default value for maxOccurs is 1.
>
>So yes, the schema objects to putting multiple photo elements, and Peter
>probably omitted it intentionally because he was satisfied with the default.

You are right:
http://www.w3.org/TR/xmlschema-0/#OccurrenceConstraints: "The default value for 
both the minOccurs and the maxOccurs attributes is 1"

Answers the question.

hw
--
Dr. Heiner Wolf
bluehands GmbH & Co.mmunication KG
http://www.bluehands.de/people/hw
+49 (0721) 16108 75
--
Jabber enabled Virtual Presence on the Web: www.lluna.de
Open Source Future History: www.galactic-developments.de

_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev

Reply via email to