[jdev] Question about jep-0153 (vCard Avatars)

Heiner Wolf wolf at bluehands.de
Thu Sep 1 04:27:44 CDT 2005

>> 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.

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

More information about the JDev mailing list