diff --git a/inbox/geoloc-dataform.xml b/inbox/geoloc-dataform.xml new file mode 100644 index 00000000..93d8e2cc --- /dev/null +++ b/inbox/geoloc-dataform.xml @@ -0,0 +1,78 @@ + + +%ents; +]> + + +
+ Data Forms Geolocation Element + This specification defines an XMPP protocol extension for including geolocation data in XEP-0004 data forms. + &LEGALNOTICE; + xxxx + ProtoXEP + Standards Track + Standards + + XMPP Core + XEP-0004 + XEP-0080 + + None + None + geolocation-element + + http://www.xmpp.org/schemas/geolocation-element.xsd + + + Michael + Laukner + laukner@gmail.com + laukner@jabber.org + + + 0.0.1 + 2014-06-11 + ml + +

Initial version, borrowing from XEP-0221.

+
+
+
+ +

In certain protocols that make use of &xep0004;, it can be helpful to include geolocation data. One example of such a "using protocol" is &xep0346;. This document defines a method for including geolocation data in a data form for something you manage and want to publish. This XEP leaves it open to developers how such a <geoloc/> form element will be rendered; possibilities might include editing Latitude and Longitude manually or through a rendered map.

+
+ +

The root element for geolocation data is <geoloc/> as defined in &xep0080;. The information is structured by means of a <geoloc /> element that is qualified by the 'http://jabber.org/protocol/geoloc' namespace. The <geoloc/> element MUST be contained within a <field/> element qualified by the 'jabber:x:data' namespace.

+

The following example is provided only for the purpose of illustration; consult the specifications for using protocols (e.g., &xep0080;) to see canonical examples.

+ + [ ... ] + + + Venice, Italy + Venice + Italy + 45.44 + 12.33 + + + [ ... ] +]]> +
+ +

It is imperative to control access to location information, at least by default. Imagine that a stalker got unauthorized access to this information, with enough accuracy and timeliness to be able to find the target person. This scenario could lead to loss of life, so please take access control checks seriously. If an error is deliberately added to a location, the error SHOULD be the same for all receivers, to minimize the likelihood of triangulation. In the case of deliberate error, the <accuracy /> element SHOULD NOT be included.

+
+ +

This document requires no interaction with the &IANA;.

+
+ + +

+ The ®ISTRAR; already includes 'http://jabber.org/protocol/geoloc' in its registry of protocol namespaces (see &NAMESPACES;). +

+
+
+ +

As this document only defines semantics for existing protocol, additional schemas are not required.

+
+