# HG changeset patch # User Goffi # Date 1452966503 -3600 # Node ID 16ce0419a0e919436ac02b01bc5e9ebfc6d637e9 # Parent d944c37c36fe5a7374683ae71269b4011d09fbf9 xep (jid mention): added "path" in Context parent description to make it more explicit + acknowledgements section diff -r d944c37c36fe -r 16ce0419a0e9 xmpp/xep-proto-jid-mention.xml --- a/xmpp/xep-proto-jid-mention.xml Sat Jan 16 18:07:21 2016 +0100 +++ b/xmpp/xep-proto-jid-mention.xml Sat Jan 16 18:48:23 2016 +0100 @@ -75,7 +75,7 @@

Sometime the 'uri' refers to an element which is a child of other one(s). For instance, a mentioned URI may refer to a website comment with a direct link, which is a part of a more general conversation, or PubSub URI refers to a microblog comment which is a child of another comment, itself a child of the main item.

-

In this case, it is desirable for the mentioned entity to know where is the main item, so it can understand the whole context. To deal with this, the mentioning entity MAY add a <parents/> element which MUST contain one or more <parent/> elements. Each <parent/> element MUST contain an 'uri' attribute with the URI of the parent. If more than one parents are specified, they MUST be put in order, from the more distant one to the last child just before the one specified in the main <mention/> element.

+

In this case, it is desirable for the mentioned entity to know where is the main item, so it can understand the whole context. To deal with this, the mentioning entity MAY declare the path to the uri by adding a <parents/> element which MUST contain one or more <parent/> elements. Each <parent/> element MUST contain an 'uri' attribute with the URI of the parent. If more than one parents are specified, they MUST be put in order, from the more distant one to the last child just before the one specified in the main <mention/> element.

@@ -271,4 +271,9 @@ ]]> + + +

Thanks to Adrien Cossa for his review/corrections.

+
+