Open SiwMeckelborg opened 6 years ago
@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.