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
Error in "describe Unknown Feature Type" test #144
Comments
Well, there is also another issue with this test IMHO. The POST version runs fine because it uses the correct However, from these clauses I cannot read that an unknown feature type on a |
@clausnagel Thanks for reporting this. typenames Parameter should be renamed to typename for DescribeFeatureType requests (I assume this also applies to other tests). Specification/Test must be rechecked if InvalidParameterValue is the expected exception. |
Fix is solved by PR #150. For the question in #144 (comment) a new issue was created: #149 |
Fix was successfully tested with service provided by @clausnagel. |
The "describe Unknown Feature Type" test uses the following query to provide an unknown feature type for the
DescribeFeatureType
operation. It expects the WFS to respond with a HTTP status code 400.However, the query uses the
typenames
parameter which is not defined by the WFS specification. The parameter is calledtypename
(without the trailing 's').So, in my opinion, the WFS should ignore the unknown
typenames
parameter. And since the correcttypename
parameter is omitted, the complete application schema shall be returned (cf. chapter 9.2.4.1). And consequently, a HTTP status code of 200 must be send.A correct WFS implementation will therefore fail this test.
The text was updated successfully, but these errors were encountered: