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

ComparatorTests fails if xsd:date properties are used #43

Closed
lgoltz opened this issue Aug 9, 2016 · 0 comments
Closed

ComparatorTests fails if xsd:date properties are used #43

lgoltz opened this issue Aug 9, 2016 · 0 comments
Assignees

Comments

@lgoltz
Copy link
Contributor

lgoltz commented Aug 9, 2016

The following tests fails if a date property is used for testing:

  • propertyIsLessThan_match Any
  • propertyIsLessThan_match All
  • propertyIsGreaterThanEqualTo_match Any
  • propertyIsLessThanEqualTo_match Any

Failure:

XPath expression cannot be evaluated: 
xs:date(ns1:nm_modify_date) ge xs:date('1993-08-31T22:00:00.000Z')
Invalid date "1993-08-31T22:00:00.000Z" (Day must be two digits). 

The XPath expression created for the assert is invalid cause of the timestamp appended to the date. The property value used in the assert (as well as in the filter of the request) should be a simple date without timestamp.

Service: http://ogctestbed12.lat-lon.de/deegree/services/wfs?service=WFS&request=GetCapabilities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants