XEP-0331 v0.2: Namespace changed to urn:xmpp:xdata:color

This commit is contained in:
Matthew A. Miller 2014-03-10 12:08:17 -06:00
parent 27748b38db
commit dcab97cc61
1 changed files with 24 additions and 14 deletions

View File

@ -8,7 +8,7 @@
<header> <header>
<title>Data Forms - Color Field Types</title> <title>Data Forms - Color Field Types</title>
<abstract>This specification defines how to publish fields in data forms that take color values. Color values are best edited using a color picker dialog, rather than manual input.</abstract> <abstract>This specification defines how to publish fields in data forms that take color values. Color values are best edited using a color picker dialog, rather than manual input.</abstract>
&LEGALNOTICE; &LEGALNOTICE;
<number>0331</number> <number>0331</number>
<status>Experimental</status> <status>Experimental</status>
<type>Standards Track</type> <type>Standards Track</type>
@ -23,20 +23,30 @@
</dependencies> </dependencies>
<supersedes/> <supersedes/>
<supersededby/> <supersededby/>
<shortname>NOT_YET_ASSIGNED</shortname> <shortname>color-parameter</shortname>
<author> <author>
<firstname>Peter</firstname> <firstname>Peter</firstname>
<surname>Waher</surname> <surname>Waher</surname>
<email>peter.waher@clayster.com</email> <email>peter.waher@clayster.com</email>
<jid>peter.waher@jabber.org</jid> <jid>peter.waher@jabber.org</jid>
<uri>http://se.linkedin.com/pub/peter-waher/1a/71b/a29/</uri> <uri>http://www.linkedin.com/in/peterwaher</uri>
</author> </author>
<revision> <revision>
<version>0.1</version> <version>0.2</version>
<date>2013-06-26</date> <date>2014-03-10</date>
<initials>psa</initials> <initials>pw</initials>
<remark><p>Initial published version approved by the XMPP Council.</p></remark> <remark>
</revision> <p>Namespace changed to urn:xmpp:xdata:color.</p>
</remark>
</revision>
<revision>
<version>0.1</version>
<date>2013-06-26</date>
<initials>psa</initials>
<remark>
<p>Initial published version approved by the XMPP Council.</p>
</remark>
</revision>
<revision> <revision>
<version>0.0.2</version> <version>0.0.2</version>
<date>2013-06-11</date> <date>2013-06-11</date>
@ -85,7 +95,7 @@
<field var='color' type='text-single' label='Color:'> <field var='color' type='text-single' label='Color:'>
<desc>Choose a color.</desc> <desc>Choose a color.</desc>
<xdv:validate xmlns:xdv='http://jabber.org/protocol/xdata-validate' <xdv:validate xmlns:xdv='http://jabber.org/protocol/xdata-validate'
xmlns:xdc='http://jabber.org/protocol/xdata-color' xmlns:xdc='urn:xmpp:xdata:color'
datatype='xdc:Color'> datatype='xdc:Color'>
<xdv:regex>^[0-9a-fA-F]{6}$</xdv:regex> <xdv:regex>^[0-9a-fA-F]{6}$</xdv:regex>
</xdv:validate> </xdv:validate>
@ -120,7 +130,7 @@
<field var='color' type='text-single' label='Color:'> <field var='color' type='text-single' label='Color:'>
<desc>Choose a color.</desc> <desc>Choose a color.</desc>
<xdv:validate xmlns:xdv='http://jabber.org/protocol/xdata-validate' <xdv:validate xmlns:xdv='http://jabber.org/protocol/xdata-validate'
xmlns:xdc='http://jabber.org/protocol/xdata-color' xmlns:xdc='urn:xmpp:xdata:color'
datatype='xdc:ColorAlpha'> datatype='xdc:ColorAlpha'>
<xdv:regex>^[0-9a-fA-F]{8}$</xdv:regex> <xdv:regex>^[0-9a-fA-F]{8}$</xdv:regex>
</xdv:validate> </xdv:validate>
@ -158,7 +168,7 @@
<datatype-prefix> <datatype-prefix>
<prefix>xdc</prefix> <prefix>xdc</prefix>
<desc>defines the Color data type</desc> <desc>defines the Color data type</desc>
<doc>color-parameter.html</doc> <doc>http://xmpp.org/extensions/xep-0331.html</doc>
</datatype-prefix>]]> </datatype-prefix>]]>
</code> </code>
</section2> </section2>
@ -203,8 +213,8 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<xs:schema <xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='http://jabber.org/protocol/xdata-color' targetNamespace='urn:xmpp:xdata:color'
xmlns='http://jabber.org/protocol/xdata-color' xmlns='urn:xmpp:xdata:color'
elementFormDefault='qualified'> elementFormDefault='qualified'>
<xs:simpleType name='Color'> <xs:simpleType name='Color'>