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.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to