Issue Type: Bug Bug
Affects Versions: 9.3
Assignee: Unassigned
Attachments: Filter_JUnit.java
Created: 09/Jul/13 4:31 PM
Description:

I've been trying to create a simple filter consisting of only a single "after" _expression_ and encode it as XML. It's not really working.

Details are in the attached JUnit test, but here's the GIST of the test.

The after _expression_ is initialized like this:
ff.after(ff.property("data"),ff.literal(instant)).

When the filter is written as FES.Filter then it yields just an empty filter tag {{<fes:Filter xmlns:fes="http://www.opengis.net/fes/2.0" xmlns:gml="http://www.opengis.net/gml/3.2"/> }}.

When the filter is written as FES.After then it yields an a filter with an after _expression_, but a strange time value:
Instant:
position:Position:
position:Wed Dec 31 19:00:00 EST 1969.

Note: for simplicity sake, the JUnit test doesn't assert. You'll have to check the output it produces.

Project: GeoTools
Priority: Major Major
Reporter: Ray Merkert
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to