1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@4231 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2010-06-08 22:16:20 +00:00
parent 08faa77b43
commit 8d88ab7a4d

View File

@ -11,6 +11,7 @@
&LEGALNOTICE;
<number>0171</number>
<status>Draft</status>
<interim/>
<type>Standards Track</type>
<sig>Standards</sig>
<approver>Council</approver>
@ -27,7 +28,7 @@
<url>http://www.xmpp.org/schemas/langtrans.xsd</url>
</schemaloc>
<schemaloc>
<ns>langtrans#items</ns>
<ns>langtrans:items</ns>
<url>http://www.xmpp.org/schemas/langtrans-items.xsd</url>
</schemaloc>
<author>
@ -50,6 +51,12 @@
<surname>Raymond</surname>
<email>braymond@echostorm.net</email>
</author>
<revision>
<version>1.1rc1</version>
<date>in progress, last updated 2010-06-09</date>
<initials>psa</initials>
<remark><p>With author approval, the XMPP Registrar changed the items namespace from urn:xmpp:langtrans#items to urn:xmpp:langtrans:items because # is not recommended in URN syntax.</p></remark>
</revision>
<revision>
<version>1.0</version>
<date>2008-05-09</date>
@ -246,12 +253,12 @@
<p>The supported languages and other details for the service must be known to use it. It is permissible for a translation service to provide multiple translation engines for the same language pairing -- if this is done, then a separate &lt;item/&gt; tag MUST be used for each pairing. A 'dictionary' attribute MAY be used to specify the dictionary for a specific &lt;item/&gt;. In order to specify more than one dictionary for a given language pairing then a separate &lt;item/&gt; tag MUST be used for each dictionary specification for that language pairing.</p>
<example caption='Entity queries service for further information'><![CDATA[
<iq type='get' to='translation.shakespeare.lit' from='bard@shakespeare.lit/globe'>
<query xmlns='urn:xmpp:langtrans#items'/>
<query xmlns='urn:xmpp:langtrans:items'/>
</iq>
]]></example>
<example caption='Service replies with language details'><![CDATA[
<iq type='result' to='bard@shakespeare.lit/globe' from=' translation.shakespeare.lit'>
<query xmlns='urn:xmpp:langtrans#items'>
<query xmlns='urn:xmpp:langtrans:items'>
<item source_lang='en' jid='translation.shakespeare.lit' destination_lang='fr'
engine='SYSTRANS 2005 Release 2' pivotable='true'/>
<item source_lang='en' jid='translation.shakespeare.lit' destination_lang='ko'
@ -384,7 +391,8 @@
</section1>
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
<section2 topic='Protocol Namespaces' anchor='registrar-ns'>
<p>The &REGISTRAR; includes 'urn:xmpp:langtrans' and 'urn:xmpp:langtrans#items' within its registry of protocol namespaces (see &NAMESPACES;).</p>
<p>The &REGISTRAR; includes 'urn:xmpp:langtrans' and 'urn:xmpp:langtrans:items' within its registry of protocol namespaces (see &NAMESPACES;).</p>
<p class='box'>Note: Before version 1.1 of this specification, the name of the items namespace was urn:xmpp:langtrans#items, however the '#' character is not recommended in URN syntax (see &rfc2141;) so the name was changed to urn:xmpp:langtrans:items.</p>
</section2>
<section2 topic='Service Discovery Identities' anchor='registrar-identity'>
<p>The XMPP Registrar includes type of "translation" in the "automation" category within its registry of service discovery identities (see &DISCOCATEGORIES;).</p>
@ -450,13 +458,13 @@
</xs:schema>
]]></code>
</section2>
<section2 topic='langtrans#items' anchor='schema-langtrans-items'>
<section2 topic='langtrans:items' anchor='schema-langtrans-items'>
<code><![CDATA[
<?xml version='1.0' encoding='UTF-8'?>
<xs:schema
xmlns='urn:xmpp:langtrans#items'
xmlns='urn:xmpp:langtrans:items'
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='urn:xmpp:langtrans#items'
targetNamespace='urn:xmpp:langtrans:items'
elementFormDefault='qualified'>
<xs:annotation>