Skip to content
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

Validation fails for getFeaturesByType with grammar pool error message #269

Open
annat2022 opened this issue Mar 4, 2024 · 9 comments
Open
Assignees

Comments

@annat2022
Copy link

Hi,
I'm getting an validation error for this WFS service:
https://transformiraj.nipp.hr/ows/services/org.2.abf7ddc6-7578-4070-a9db-c291a42e55c6_wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=2.0.0

The test getFeaturesByType failed with this error message:

1 schema validation error(s) detected. Severity: WARNING Message: One of the grammar(s) returned from the user's grammar pool is in conflict with another grammar. Location:

I tested with the CITE Team Engine BETA (version 1.40).

Any ideas what could be wrong here?

All the best
Anna

@dstenger
Copy link
Contributor

dstenger commented Mar 5, 2024

Thanks for reporting.
I re-tested your service on https://cite.ogc.org/te2/ (Beta) and all getFeaturesByType tests were completed successfully.
Can you please execute a re-test and report back if the problem still exists?

@annat2022
Copy link
Author

Hi @dstenger,
I re-ran the test, but the validation still fails for Basic WFS getFeaturesByType.
Here's my test result:
s0003.zip

All the best
Anna

@dstenger
Copy link
Contributor

dstenger commented Mar 7, 2024

Thanks for the update. Now, I am also able to reproduce the problem on Beta environment.
We will do further investigation.

@dstenger dstenger assigned bpross-52n and unassigned annat2022 Mar 7, 2024
@bpross-52n
Copy link
Contributor

I checked the GetFeature response with another XML validation tool (eclipse) and also got the warning message. However, as this is only a warning, we will check, if this should lead to a failure.

@dstenger
Copy link
Contributor

The error message is generated by the xerces library (parsing of the XML) which is not under our control.
We are currently debugging your service to find out the root cause.

@annat2022 It seems that your services is not working correctly anymore (e.g. GetFeature request runs into a timeout). Can you please bring it back up again so that we can continue with our analysis?

@annat2022
Copy link
Author

It seems that your services is not working correctly anymore (e.g. GetFeature request runs into a timeout).

@dstenger Could you please specify this? I can successfully download data for instance via this GetFeature request and I can
access the GetCapabilities. For me the service is working as expected.

@dstenger
Copy link
Contributor

Service is back up again. We will continue to investigate.

@dstenger dstenger added this to CITE Aug 1, 2024
@dstenger dstenger moved this to To do in CITE Aug 1, 2024
@bpross-52n
Copy link
Contributor

@annat2022 My investigations show that there are two different schemas loaded with the same namespace. The xerces library that we are using regards this as issue. We will try to describe the conflicting schemas. However, we currently cannot receive get feature requests. We run into a Gateway timeout. Could you maybe look into that?

@dstenger dstenger moved this from In progress to Waiting in CITE Sep 19, 2024
@annat2022
Copy link
Author

However, we currently cannot receive get feature requests. We run into a Gateway timeout. Could you maybe look into that?

@bpross-52n Thanks for investigating. I tried to run the request and had no issues. I successfully downloaded the data

@dstenger dstenger moved this from Waiting to In progress in CITE Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

3 participants