The same issue exists in Filter 1.1.  And using a function won't help because third party servers won't support the function.  I working with Ionic's Redspider server and it can't read our filters.  I've made up a work around.  I'm adding a hint to the XML Filter Encoding so that you can set the compliance level.  When communicating with Geoserver I use the default compliance Ionic is another level (medium) and then there is strict.   Ionic allows:

<Filter>
<Or>
<BBox> some box </BBox>
</Or>
<FeatureId fid="fid" />
</Filter>


Which is still not legal but is very useful.   In the case of NOT( FidFilter ) I'm doing the processing on the client.

We will have to think about how we want to handle this issue in general though.

Jesse


On 4-Aug-06, at 12:50 AM, Jody Garnett wrote:

Jesse can you please confirm against Filter 1.1? What you say sounds pretty silly, if needed we can work around it with a function :-(
Also note that Filter is available in a BNF form as part of the catalog specification - we really need to take a common ground, and police what is created through the use of specification specific Factories.

I would also ask Justin for comment as he has spent a lot of time on the ground with Filter.
Jody
Hi,

I've been browsing through the filter spec and to my dismay have  learned that the following is not legal:

<Filter>
<Or>
<BBox> some box </BBox>
<FeatureId fid="fid" />
</Or>
</Filter>

To be compliant with the spec it is supposed to be:

<Filter>
<Or>
<BBox> some box </BBox>
</Or>
<FeatureId fid="fid" />
</Filter>


We also can not do the following:

<Filter>
<Not>
<FeatureId fid="fid"/>
</Not>
</Filter>


Our filter implementation allows both so we can't interoperate  properly with others because we can make illegal documents....

Looking for comments on what should be done here.

Jesse



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
_______________________________________________
Geotools-devel mailing list

  




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to