summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-11-10 17:03:38 +0000
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-11-10 17:03:38 +0000
commiteeefe9f83b83d583b56cf8997b718a6ae8f48477 (patch)
treecf4f08306eeac82c30996dcc31da8326f060c5ca /spec
parentbc5578e75603e6fce91763ea32cd4e28da317d2a (diff)
Chan.I.FT.Metadata: improve tp:rationale for a{sas}
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'spec')
-rw-r--r--spec/spec/Channel_Interface_File_Transfer_Metadata.xml19
1 files changed, 14 insertions, 5 deletions
diff --git a/spec/spec/Channel_Interface_File_Transfer_Metadata.xml b/spec/spec/Channel_Interface_File_Transfer_Metadata.xml
index cbe566b5b..4c0fb0ce2 100644
--- a/spec/spec/Channel_Interface_File_Transfer_Metadata.xml
+++ b/spec/spec/Channel_Interface_File_Transfer_Metadata.xml
@@ -73,11 +73,20 @@
simple string → string hash table one should have exactly one
member in the value string list.
- <tp:rationale>A string list is used instead of a single string
- because that is what <a
- href="http://xmpp.org/extensions/xep-0004.html">data
- forms</a> use by default, and so one can transfer RDF
- triples.</tp:rationale>
+ <tp:rationale>
+ This property is an a{sas} primarily because this maps
+ easily to <a
+ href="http://xmpp.org/extensions/xep-0004.html">XEP-0004
+ Data Forms</a>, and allows more structured metadata than
+ a{ss} would. (For instance, a list of RDF triples could be
+ expressed as one long array of strings, or as three-element
+ values for a series of dummy key names, rather than as one
+ big string blob.)
+
+ While it might be convenient for applications to allow keys
+ of arbitrary types, the added convenience would be
+ outweighed by having to define the XMPP representation
+ </tp:rationale>
</tp:docstring>
<tp:member name="Key" type="s"/>