<xs:simpleType name="Point3dOpt"> <xs:restriction base="Point"> <xs:minLength value="0" /> <xs:maxLength value="3" /> </xs:restriction> </xs:simpleType>