Mauro, you have most likely hit a bug. Please file an issue on mapserver's trac at:
http://trac.osgeo.org/mapserver and attach a simple test case with: - a map file - a short Java program showing the bug - a small set of data (if necessary) We'll look into this asap. Thanks, Umberto On 10/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi list > > I am using mapserver 5.0 with java mapscript. > I use oracle spatial 10g. > I have problems with long string (longer then 2k) > used to specify complex data sql connection query or filter. > When mapscript execute for instance setFilter it crashes. > I suspect there is a general issue with long string. > The same string used directly in the mapfile works correctly. > It is probably a mapscript memory allocation problem. > While I can use an oracle view to avoide the problem for the connection > query, I do not know how to avoide it with the filter, because it is known > only at run time. > The filter can be something like: > CODE IN ('1','2','3'....very long string ... '1000') > > Can this be set as a bug? > > Thank you for any suggestion > > Mauro Sartori > > > > ------------------------------------------------------ > Leggi GRATIS le tue mail con il telefonino i-mode⢠di Wind > http://i-mode.wind.it/ > >
