Indeed. '#' can be troublesome in web requests (if not escaped properly). Also, it shouldn't matter what the "ID" character is in CQL ('@','#', etc.) as long as there is a way to 'escape' that character when it appears as a part of the query. I.e., if there's a '\#' character pair, then that's treated as a literal #, not as an ID specifier, no?
--saul On Wed, 2008-04-16 at 16:43 -0700, Jody Garnett wrote: > Andrea and Chris we were talking about this a bit yesterday on email .... > > As CQL is used often in GeoServer I would like to check if "#road.1" > syntax be okay encoded in a GET URL? Or should we ask Mauricio to use a > different symbol - "@road.1,@road.2" etc... > > Jody > > Hi, we was preparing the land to extend CQL. You could see the scope in the > > following link: > > > > http://docs.codehaus.org/display/GEOTOOLS/TXT+Language+Analysis > > > > Now I have some doubt about the ID Predicate, that is: > > > > #road.1, #road.2, #road.47 > > > > As you can see it is a sequence of "fids" preceded by "#" and separated by > > > > comma (","). Then the fid can not contain "#" or ",". Is this a valid > > hypothesis for all DBMS? > > > > Some samples are: > > > > sample 1: #15521.3566 > > sample 2: #fid-_df58120_11814e5d8b3__7ffb > > > > More details in the following junit > > > > http://svn.geotools.org/geotools/trunk/gt/modules/library/cql/src/test/java/org/geotools/filter/text/txt/TXTTest.java > > > > well, we need more samples to assure that the language could parse all fids. > > > > comments? > > > > > > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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