On Tue, Dec 30, 2008 at 10:53 AM, Henning Schmiedehausen <
[email protected]> wrote:

> Hi,
>
> if I read the gadget xsd for 0.8 right, then the rel parameter of
> <Link> element allows only three values: icon, gadget.help and
> gadget.support:
>
> <xs:attribute name="rel" type="xs:string" use="required">
>  <xs:simpleType>
>  <xs:restriction base="xs:string">
>   <xs:enumeration value="gadgets.help"/>
>   <xs:enumeration value="gadgets.support"/>
>   <xs:enumeration value="icon"/>
>  </xs:restriction>
>  </xs:simpleType>
>  </xs:attribute>
>
> However, various tests in LinkSpecTest on the 1.0.x release branch
> happily use "foo" etc. values and actually do substitution on the rel
> value (something which I haven't found anywhere in the spec at all).
> Is that correct?


There are actually an arbitrary number of values for rel to handle lifecycle
events, which can be container-defined.

Oddly, there actually are some standardized event names, as listed here:

http://www.opensocial.org/Technical-Resources/opensocial-spec-v081#TOC-Lifecycle-events

But they're not in the XSD. I suspect this is just an oversight, since the
lifecycle event proposal was kind of tacked on at the end of 0.8's proposal
cycle.


>
>
>    Ciao
>         Henning
>

Reply via email to