[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LTAP - XML Schema considerations



I forgot to mention another confusion:

On page 36 in section 5.4 there is a Response type schema.
The <Response> element may contain eihter an <operationResponse> or
<errorNotice>

errorNotice is of type StatusNotice, which is defined on page 35 in section 5.2
It contains a sequence of two elements:
a) <status> (of type StatusInformation)
b) <errorInformation> which contains UTF8String

When considering the <Response> which is an <errorNotice> - it is
obvious and clear.
But <Response> may be of type <operationResponse>.

<operationResponse> is a sequence of three elements:
a) <information>
b) <status> of type StatusNotice
c) <data>

Let's look closer at b). Now the response contains some real data. It
also contains status
which may be helpful for the client to show the response to the end-user.
But <status> is of type <StatusNotice> which enforces the LTA to return
<errorInformation> even, if the status is e.g. 'correct' or similar
positive value.

So in my opinion, the StatusNotice type should be modified, to enable
itself to contain
some 'positiveInformation' type.
For example the name of '<errorInformation>' may be changed to
'<statusData>' or other
'neutral' name.

Pawel Skarzynski