New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execute requests seem to be wrong #32
Comments
Figure 16 specifies that The XSD also states that "This element is used to embed the data in a WPS request or response. The content can be XML data, plain character data, or specially encoded binary data (i.e. base64). " Therefore the Execute requests sent by the ETS are correct as per the Standard and the XSD. |
xmllint command reports that there is an issue with ComplexData, please, see bellow.
When the following validates.
For the LiteralData it is a bit different. Indeed the two versions validate. Please, see bellow examples.
But this version also validates.
Nevertheless, I would add that in this case, only the second version of the request means that you are passing the string "hello_literal". In the first version of the request, you are passing the value |
In our implementation, we return an invalid XML file as a result (using the In case we remove this block, we make the request validate against the XSD, which is a requirement. |
In case you are willing to use XML data, you are allowed to do so. Nevertheless, when you include the extra |
Since the literal value check only checks for the string However, the complex data check needed to be modified to ensure that the Execute request was passed xml validation. This has now been done through PR #35 |
Describe the bug
We can see in the available execute request example (https://schemas.opengis.net/wps/2.0/xml-examples/wpsExecuteRequestExample.xml) that the
Data
block is defined differently that in the ETS examples used as request templates (https://github.com/opengeospatial/ets-wps20/tree/main/src/main/resources/org/opengis/cite/wps20/examples).In the official schemas.opengis.net, we have the following:
In the ETS example, we have for instance, the following:
This extra
LiteralValue
block seems to be necessary to the default instance to work, but we don't see any in the official example.To Reproduce
Deploy the ETS using docker
Expected behavior
The ETS should use Execute requests without extra block such as
LiteralValue
andComplexData
which are not defined in table 23 just after the figure 16.The text was updated successfully, but these errors were encountered: