Hi Fabio, Actually this a new way to parse a filter and is only available in geotools 2.4 which is yet to be released.
If you want to use this code, you will need to check out the geotools 2.4 ( trunk ) branch and build it from source. Let me know if you are interested and want more info on how to do so. -Justin Fabio Luiz Leite wrote: > Hi all, > i'm trying to run an example of the user guide about Filter XML > Support. But, when i run the sample, i'm getting a lot of errors. > > The parser in the sample follows: > > //create the parser with the filter 1.0 configuration > org.geotools.xml.Configuration = new > org.geotools.filter.v1_0.OGCConfiguration(); > org.geotools.xml.Parser > parser = new org.geotools.xml.Parser( configuration ); > > //the xml instance document above > InputStream xml = ... > > > //parse > Filter filter = (Filter) parser.parse( xml ); > > > Is this a deprecated way to parse a filter ? > How to run this code using geotools version 2.3 ? > > Thanks in advance ! > > -- > Fábio Luiz Leite Júnior !DSPAM:1004,45b51a3095047731818748! > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 > > !DSPAM:1004,45b51a3095047731818748! > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > !DSPAM:1004,45b51a3095047731818748! -- Justin Deoliveira [EMAIL PROTECTED] The Open Planning Project http://topp.openplans.org ------------------------------------------------------------------------- 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-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
