Hi,
I just found an error in the XML Schema for XEP-0048: Bookmarks:
<xs:element name='storage'>
<xs:complexType>
<xs:choice>
<xs:element ref='conference'/>
<xs:element ref='url'/>
</xs:choice>
</xs:complexType>
</xs:element>
should be
<xs:element name='storage'>
<xs:complexType>
<xs:choice>
<xs:element ref='conference' minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref='url' minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
</xs:element>
Otherwise only one element would be allowed per <storage/>. The document
however states otherwise.
It is also not very clear (from the document), if you can mix <url/> and
<conference/> elements in the same storage.
<xs:choice> suggests, you cannot (!) mix them, though I believe from a "user"
or developer perspective it should be possible. Or how would otherwise only
retrieve the "conference" bookmarks?
Should <xs:choice> therefore be <xs:sequence> ??
-- Christian