lifecycle events in gadget xsd

0 views
Skip to first unread message

Bryan

unread,
Aug 4, 2008, 8:32:42 PM8/4/08
to OpenSocial and Gadgets Specification Discussion
I'd like to propose adding the lifecycle events that have already been
agreed upon and documented in the 0.8 spec to be included in the
gadget xsd schemas. After the change, the "Link" section should look
like this:

<xs:element name="Link">
<xs:complexType>
<xs:attribute name="href" type="xs:string" use="required"/>
<xs:attribute name="rel" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="gadgets.help"/>
<xs:enumeration value="gadgets.support"/>
<xs:enumeration value="event"/>
<xs:enumeration value="event.addapp"/>
<xs:enumeration value="event.removeapp"/>
<xs:enumeration value="event.app"/>
<xs:enumeration value="event.invite"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>

Bryan

unread,
Aug 4, 2008, 8:49:26 PM8/4/08
to OpenSocial and Gadgets Specification Discussion
sorry, I left out icon.

<xs:element name="Link">
<xs:complexType>
<xs:attribute name="href" type="xs:string" use="required"/>
<xs:attribute name="rel" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="gadgets.help"/>
<xs:enumeration value="gadgets.support"/>
<xs:enumeration value="icon"/>

Kevin Brown

unread,
Aug 11, 2008, 4:02:39 PM8/11/08
to opensocial-an...@googlegroups.com
Agreed -- this was also alluded to in my xml spec enhancement proposal.
Reply all
Reply to author
Forward
0 new messages