Hey all, I've committed a gt2-xml-xsd based wms v1_1_1 configuration/bindings to the 2.4.x geotools branch.
It's not actually used by any internal code in geotools right now, but it's an option for anyone who is parsing WMS v1_1_1 capabilities documents and doesn't want to use the gt2-xml (GTXML) parser. I found that I could shrink the jar dependencies of a client app by about 1 megabyte (of a 7-8 total MB download) by dropping the GTXML parser, so I implemented this WMS v1_1_1 configuration so that I could just use one XML parser in my client code, rather than two different ones in different places. I've got an initial port to gt-trunk, but it's not working yet. When I get it working I'll post it. Note: WMS v1_1_1 doesn't actually include any schemas...so I used TRANG to convert the WMS v1_1_1 DTD to a schema, checked the content-model and then generated the bindings from that. If you know how to use the StreamingParser all you need to do is build gt-2.4.x in your eclipse IDE, include the gt2-wms project in that build, then do a subtype-heirarchy view on the org.geotools.xml.Configuration class. You'll catch the WMSV1_1_1Configuration class pretty quickly, and can use it like any other configuration (as long as gt2-wms.jar is on your classpath). If you don't know how to use the streamingparser, then this won't help you much either way! Comments/bug-reports much appreciated. --saul ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
