Closed yanokwa closed 5 years ago
@MartijnR @tiritea Any immediate reactions to this proposal?
Other than putting on my tinfoil hat, nothing from me... ;-)
Looks great to me!
@MartijnR Do you ever see Enketo adding this feature? I ask because if it's possible, I want to make sure we've named things sensibly. @tiritea, same question.
Unfortunately, I'm WAAAAY too late to the https://github.com/opendatakit/xforms-spec/issues/94 party, so I'll have to defer to y'alls expertise that this <meta>
stuff is the best place to persist such data :-) [personally, I'm not terribly fond of <meta>
, but that's just me...].
In regards to actual naming, I'm easy; so long at all the required parameters are defined.
And as @MartijnR said, I've got far more pressing things to catch up on (repeat groups!) before I can even start to worry about background audits, sigh.
I am not seeing this (and other audit) feature getting into Enketo due to the difficulties in mimicking the same events in web clients, coupled with the lack of demand so far, but if that is resolved and changes, these attribute names make sense. They are prefixed with location-
which is very sensible, and properly name-spaced. Not sure what location-priority does, but trust this makes sense and is logical. :)
In the XForms spec audit is placed in the meta block under the orx namespace. It uses a binary data type. See opendatakit/xforms-spec#94
I propose we add the following bind attributes in the odk namespace to the specification. All three attributes are required to enable location audits and location-age must be greater than or equal to location-interval.
We have an implementation for Collect at https://github.com/opendatakit/collect/pull/2772