> > Saul's right, we just need escaping. Yet, jdeolive made me notice that > in WFS 1.1 there is the "@gml:id" expression that can be used to > signify the id of a feature. This open two possibilities. > TXT (and CQL) could simply use @gml:id = 'states.1' as an expression > that gets parsed as a FidFilter. > But here comes the twist. If my understading is correct, the above > expression could be used to build a PropertyIsEqualTo filter to, like in: > > <PropertyIsEqualTo> > <PropertyName>@gml:id</PropertyName> > <Literal>states.1</Literal> > </PropertyIsEqualTo> > I know at some point there where filters like this in the wfs tests.. but looking through the latest version of the tests scripts, i could not find one... perhaps it is something they took out.
> The bad news is that I can't find any data store able to encode the > above filter... All support I could find is a property accessor that > can handle @gml:id or @id and extract the feature id. Correct, the only support for this is running the filter in memory, which is when the PropertyExtractor comes in. The reason it cant be encoded is because the encoder tries to run the PropertyName extpression @gml:id against the type first. The reason it does this is because the expression might not equal the attribute type name. So things like gml:name get mapped to name, etc... However with @gml:id... there is no attribute type, so the encoder bows out. I guess it could consult the fid mapper in some way... but there is no good way for a property extractor to know about it. > > Glub... confused... anyone has a better understading of what's going > on with this @gml:id thing? > > Cheers > Andrea > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Geotools-devel mailing list > Geotools-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > > !DSPAM:4007,48071a3e69001015089218! > -- Justin Deoliveira The Open Planning Project [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel