From: Jon B. <jbr...@gl...> - 2009-05-06 09:51:38
|
Justin Deoliveira wrote: > > "If you can start sharing some of your code somehow I can provide better > feedback and help by having test cases to run." > I'm just modifying the existing WCS EMF classes and bindings in net.opengis.wcs and gt-xsd-wcs. I've started by clearing out most of the stuff from WCSConfiguration and starting again. I've got a test program which tries to load a GetCapabilities request from my local GeoServer installation and I just go from there. Anyway, for example I've got the following tag inside AbstractGMLType from gml4wcs.xsd. The EMF object generated for it is a StringOrRefType but its parsed as a String. <element ref="gml:description" minOccurs="0"/> For this would I need a specific binding (AbstractGMLType__DescriptionBinding) mapping the String to a StringOrRefType and leave the EMF class as it is? Or should I use a more generic binding? Or alternatively should I change the EMF stuff so that it uses String instead of StringOrRefType? The MetadataTypeType I mentioned before is some kind of EMF enumeration which is parsed as a String, so I assume I'll be able to use a similar method? Thanks! Jon -- View this message in context: http://n2.nabble.com/Parsing-WCS-Capabilities-with-EMF---ClassCastExceptions-tp2739779p2809932.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |