[OpenLayers-Dev] tinyows and OL WFS Filters using PropertyIsLike
Paul Spencer
pspencer at dmsolutions.ca
Tue Oct 6 17:21:45 EDT 2009
Hey WFS gurus ... I am using OL with a WFS layer against tinyows with
a layer filter using PropertyIsLike and tinyows is coughing up a lung
because the filter is not passing schema validation. Looking into
this further, it seems that tinyows' schema is expecting an attribute
called escapeChar but OL is passing an attribute called escape. I've
made it work by hacking OpenLayers.Format.Filter.v1 writers to put
escapeChar in the output but I am wondering what the right fix is:
1) is escapeChar the right attribute name in v1, in which case both
the reader and writer for PropertyIsLike should be changed?
2) is escape the right attribute in v1 and escapeChar in v1_1_0, in
which case the reader and writer needs overrides for PropertyIsLike in
v1_1_0?
3) is escape the right attribute in both versions and tinyows is wrong?
If there is a change needed in OpenLayers, I'll do the patch if
someone tells me what the right answer is :)
Cheers
Paul
__________________________________________
Paul Spencer
Chief Technology Officer
DM Solutions Group Inc
http://research.dmsolutions.ca/
More information about the Dev
mailing list