You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It says a request (and corresponding response) can have either the DataElementRequest OR the DocumentRequest. In the xsd, however, both elements are present in a sequence, and both are allowed.
Suggest to either change the documentation (this is the preferred option), or add a xs:choice for these two elements, ensuring that one, and only one is present.
The text was updated successfully, but these errors were encountered:
SiwMeckelborg
changed the title
Documentation says "OR", but xsd allowes both elements
Documentation says "OR", but xsd allows both elements
Jun 12, 2018
@SiwMeckelborg welcome to this fabulous project :D
Yes it is like this in the XSD, but we're solving this on the application level, because at some point in time, when multiple responses are aggregated, it might be possible that both are filled.
In the documentation: http://wiki.ds.unipi.gr/display/TOOP/TOOP+Exchange+Data+Model+Specification#TOOPExchangeDataModelSpecification-DataModel:TOOPRequest
It says a request (and corresponding response) can have either the DataElementRequest OR the DocumentRequest. In the xsd, however, both elements are present in a sequence, and both are allowed.
Suggest to either change the documentation (this is the preferred option), or add a xs:choice for these two elements, ensuring that one, and only one is present.
The text was updated successfully, but these errors were encountered: