I suggest that we add an optional CardImageRef element into InformationCards.
Namespaces Referenced
ic09 http://docs.oasis-open.org/imi/ns/identity-200903
ic http://schemas.xmlsoap.org/ws/2005/05/identity
Submission – New optional ic:InformationCard element
Card Image Reference
<xs:element name="CardImageRef" type="CardImageRefType" />
<xs:element name="CardImageRefType" minOccurs="0" maxOccurs="unbounded" >
<xs:complexType>
<xs:attribute name="Uri" type="xs:anyURI" use="required"/>
<xs:attribute name="MimeType" type="tns:LogoImageType" use="required"/>
<xs:attribute name="size" type="xs:positiveInteger" use="optional"/>
<xs:attribute name="digest-sha1" type="xs:string" use="optional"/>
<xs:attribute name="width" type="xs:positiveInteger" use="optional"/>
<xs:attribute name="height" type="xs:positiveInteger" use="optional"/>
</xs:complexType>
</xs:element>
ic:InformationCard\ic09:CardImageRef
This OPTIONAL element, when present, is intended to provide a link to the card image. The selector MAY choose which image to display by choosing based on MimeType, size, width and/or height.
Reasons for this submission are:
- to save space in the Information Card. The current CardImage element stores the whole image in the xml data. If several cards share the same image then the savings are even more obvious.
- to save time when an Information Card is transferred from a card store in the cloud. The selector can now cache the card image instead of retrieving it on each invokation.
- to choose the optimal card image based on the current environment (display size, memory size, supported mime types, ...)
- the memory space on mobile devices (phones, smartcards, …) might prevent the CardImage to be stored. The CardImageRef provides an alternative to not-storing the image on the mobile device.
-Axel
http://schemas.xmlsoap.org/ws/2005/05/identity/identity.xsd
Deutsche Telekom AG, Laboratories
Identity Management, Innovation Development
Goslarer Ufer 35, D-10589 Berlin, Germany
+49 30 3497 3256 (Tel)
+49 170 2275312 (Mobile)
E-mail: axel.n...@telekom.de
http://www.laboratories.telekom.com/
Supervisory Board: Prof. Dr. Ulrich Lehner (Chairman)
Board of Management: René Obermann (Chairman),
Hamid Akhavan, Dr. Manfred Balz, Reinhard Clemens, Niek Jan van Damme,
Timotheus Höttges, Guido Kerkhoff, Thomas Sattelberger
Commercial register: Amtsgericht Bonn HRB 6794, corporate seat Bonn
WEEE reg. no.: DE50478376