There are a number of issues here that are not clear, and which is why I
voted -1.
____________
Under Channel:
-------------------
* OpenRosa servers must provide a globally accessible HTTP URL capable of
accepting HTTP POST's from arbitrary origins.
? This is a deployment specific issue - does not belong in a standard.
* The HTTP URL should not redirect to another URL. Clients are not required
to correctly follow HTTP redirects on a POST attempt.
? Why would we set this kind of limitation? It also seems to contradict with
this sentence in Extended Transmission Considerations: "In this way, the
server can change the scheme from http: to https: or update the submission
page URL without a wasted redirect during the actual submission process."
______________
Under Content:
----------------------
* Error responses SHOULD include this header. For some hosting environments,
such as Google AppEngine, it may not be possible to include this header
under all failure conditions (e.g., overly-large requests).
? A response not containing this should rather be treated as an indication
of failure by the client, and if a response MUST include the header, then
the client can understand what the missing header means. I assume that any
server in certain cases could send a non-valid response - but still be
OpenROSA compliant - and the client then knows that the response is invalid.
* it is recommended that the client split the POST into multiple individual
POST requests, each containing the form's xml submission and one or more
additional parts such that each partial POST request is no greater than
maxSize; if a single additional part is greater than maxSize, the POST
should contain the form's xml submission and that single additional part.
? Why is it needed to submit the xml on each repeat?
_______________
Under Correctness:
------------------------
For instance, if a server identifies early in a form submission that a
duplicate UUID is used, the server should not close the channel immediately,
but rather accept the full submission and then respond accordingly.
_________________________
Under Server Response Format
* If the target server is RESTful, it may return an HTTP URL where the form
can be found in the HTTP Location response header.
Could this not be standardized - so that non RESTful servers also can give
an indication of identification of the submission? What if the OpenROSA
response xml was standardized a bit more?
<message> REQUIRED
<URL> Optional
<ID> Optional
____________________________________________________________________________
Jorn Klungsoyr
openXdata - Centre for International Health, University of Bergen, Norway
www.openxdata.org / www.cih.uib.no / www.openrosa.org / www.open-mobile.org
Mobile: +4791365731, Skype/GoogleTalk: jornklung Alternative email:
jorn.kl...@gmail.com
Post: Postboks 7800, 5020 Bergen, Visit: Årstadveien 21, 5th Floor, Bergen
------¤¤¤¤------
____________
Under Channel:
-------------------
* OpenRosa servers must provide a globally accessible HTTP URL capable of
accepting HTTP POST's from arbitrary origins.
? This is a deployment specific issue - does not belong in a standard.
* The HTTP URL should not redirect to another URL. Clients are not required
to correctly follow HTTP redirects on a POST attempt.
? Why would we set this kind of limitation? It also seems to contradict with
this sentence in Extended Transmission Considerations: "In this way, the
server can change the scheme from http: to https: or update the submission
page URL without a wasted redirect during the actual submission process."
______________
Under Content:
----------------------
* Error responses SHOULD include this header. For some hosting environments,
such as Google AppEngine, it may not be possible to include this header
under all failure conditions (e.g., overly-large requests).
? A response not containing this should rather be treated as an indication
of failure by the client, and if a response MUST include the header, then
the client can understand what the missing header means. I assume that any
server in certain cases could send a non-valid response - but still be
OpenROSA compliant - and the client then knows that the response is invalid.
* it is recommended that the client split the POST into multiple individual
POST requests, each containing the form's xml submission and one or more
additional parts such that each partial POST request is no greater than
maxSize; if a single additional part is greater than maxSize, the POST
should contain the form's xml submission and that single additional part.
? Why is it needed to submit the xml on each repeat?
_______________
Under Correctness:
------------------------
For instance, if a server identifies early in a form submission that a
duplicate UUID is used, the server should not close the channel immediately,
but rather accept the full submission and then respond accordingly.
_________________________
Under Server Response Format
* If the target server is RESTful, it may return an HTTP URL where the form
can be found in the HTTP Location response header.
Could this not be standardized - so that non RESTful servers also can give
an indication of identification of the submission? What if the OpenROSA
response xml was standardized a bit more?
<message> REQUIRED
<URL> Optional
<ID> Optional