mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-23 01:32:22 -05:00
XEP-0084: Bump the maximum of @width and @height to 65535.
There are many avatars out there being bigger than 255×255, this lets implementations relying on the schema accept them.
This commit is contained in:
parent
e265f78979
commit
e0089e159d
18
xep-0084.xml
18
xep-0084.xml
@ -37,6 +37,12 @@
|
|||||||
&pgmillard;
|
&pgmillard;
|
||||||
&temas;
|
&temas;
|
||||||
&xvirge;
|
&xvirge;
|
||||||
|
<revision>
|
||||||
|
<version>1.1.2</version>
|
||||||
|
<date>2019-01-27</date>
|
||||||
|
<initials>egp</initials>
|
||||||
|
<remark><p>Bump the maximum value 'width' and 'height' attributes from 255 to 65535 in the schema, to accomodate current usage.</p></remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>1.1.1</version>
|
<version>1.1.1</version>
|
||||||
<date>2016-07-09</date>
|
<date>2016-07-09</date>
|
||||||
@ -361,7 +367,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>height</td>
|
<td>height</td>
|
||||||
<td>The height of the image in pixels.</td>
|
<td>The height of the image in pixels, if available.</td>
|
||||||
<td>RECOMMENDED</td>
|
<td>RECOMMENDED</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -381,7 +387,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>width</td>
|
<td>width</td>
|
||||||
<td>The width of the image in pixels</td>
|
<td>The width of the image in pixels, if available.</td>
|
||||||
<td>RECOMMENDED</td>
|
<td>RECOMMENDED</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -399,10 +405,10 @@
|
|||||||
<p>The <pointer/> element MAY possess the following attributes if the publishing application has the relevant information:</p>
|
<p>The <pointer/> element MAY possess the following attributes if the publishing application has the relevant information:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><em>bytes</em> -- The size of the image data in bytes.</li>
|
<li><em>bytes</em> -- The size of the image data in bytes.</li>
|
||||||
<li><em>height</em> -- The height of the image in pixels.</li>
|
<li><em>height</em> -- The height of the image in pixels, if available.</li>
|
||||||
<li><em>id</em> -- The SHA-1 hash of the image data for the specified content-type.</li>
|
<li><em>id</em> -- The SHA-1 hash of the image data for the specified content-type.</li>
|
||||||
<li><em>type</em> -- The IANA-registered content type of the image data.</li>
|
<li><em>type</em> -- The IANA-registered content type of the image data.</li>
|
||||||
<li><em>width</em> -- The width of the image in pixels.</li>
|
<li><em>width</em> -- The width of the image in pixels, if available.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>The content of the <pointer/> element MUST be a properly-namespaced child element that specifies information about how to retrieve the avatar from the third-party service. The structure for any such child element is out of scope for this document.</p>
|
<p>The content of the <pointer/> element MUST be a properly-namespaced child element that specifies information about how to retrieve the avatar from the third-party service. The structure for any such child element is out of scope for this document.</p>
|
||||||
<p>Even if the <pointer> element is included, it MUST be preceded by at least one instance of the <info/> element so that implementations that do not support the <pointer/> element can display a "fallback" format of the avatar (at a minimum, "image/png").</p>
|
<p>Even if the <pointer> element is included, it MUST be preceded by at least one instance of the <info/> element so that implementations that do not support the <pointer/> element can display a "fallback" format of the avatar (at a minimum, "image/png").</p>
|
||||||
@ -584,11 +590,11 @@
|
|||||||
<xs:simpleContent>
|
<xs:simpleContent>
|
||||||
<xs:extension base='empty'>
|
<xs:extension base='empty'>
|
||||||
<xs:attribute name='bytes' type='xs:unsignedShort' use='required'/>
|
<xs:attribute name='bytes' type='xs:unsignedShort' use='required'/>
|
||||||
<xs:attribute name='height' type='xs:unsignedByte' use='optional'/>
|
<xs:attribute name='height' type='xs:unsignedShort' use='optional'/>
|
||||||
<xs:attribute name='id' type='xs:string' use='required'/>
|
<xs:attribute name='id' type='xs:string' use='required'/>
|
||||||
<xs:attribute name='type' type='xs:string' use='required'/>
|
<xs:attribute name='type' type='xs:string' use='required'/>
|
||||||
<xs:attribute name='url' type='xs:anyURI' use='optional'/>
|
<xs:attribute name='url' type='xs:anyURI' use='optional'/>
|
||||||
<xs:attribute name='width' type='xs:unsignedByte' use='optional'/>
|
<xs:attribute name='width' type='xs:unsignedShort' use='optional'/>
|
||||||
</xs:extension>
|
</xs:extension>
|
||||||
</xs:simpleContent>
|
</xs:simpleContent>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
|
Loading…
Reference in New Issue
Block a user