Re: [Geotools-devel] Encode using XSD with element

2010-05-16 Thread Florence.Tan
ssage- From: Justin Deoliveira [mailto:jdeol...@opengeo.org] Sent: Friday, 14 May 2010 11:31 PM To: Tan, Florence (CESRE, Kensington) Cc: Caradoc-Davies, Ben (CESRE, Kensington); geotools-devel@lists.sourceforge.net Subject: Re: [Geotools-devel] Encode using XSD with element While I can'

Re: [Geotools-devel] Encode using XSD with element

2010-05-14 Thread Justin Deoliveira
Ben (CESRE, Kensington) > Sent: Friday, 14 May 2010 11:13 AM > To: Justin Deoliveira > Cc: Tan, Florence (CESRE, Kensington); geotools-devel@lists.sourceforge.net > Subject: Re: [Geotools-devel] Encode using XSD with element > > Justin, > > do you know if the version of

Re: [Geotools-devel] Encode using XSD with element

2010-05-13 Thread Florence.Tan
day, 14 May 2010 11:13 AM To: Justin Deoliveira Cc: Tan, Florence (CESRE, Kensington); geotools-devel@lists.sourceforge.net Subject: Re: [Geotools-devel] Encode using XSD with element Justin, do you know if the version of EMF we are using (ecore-2.2.2 and xsd-2.2.2) even support the element as

Re: [Geotools-devel] Encode using XSD with element

2010-05-13 Thread Ben Caradoc-Davies
Justin, do you know if the version of EMF we are using (ecore-2.2.2 and xsd-2.2.2) even support the element as a content model? If so, how should it appear in the XSDTypeDefinition? Florence reports seeing no elements in the EMF model of the parsed schema. Kind regards, Ben. On 12/05/10 22:

Re: [Geotools-devel] Encode using XSD with element

2010-05-12 Thread Jody Garnett
On 13/05/2010, at 12:55 PM, Ben Caradoc-Davies wrote: > Thanks, Justin. We might be able to modify ComplexSupportXSAnyTypeBinding to > support this. But there is another problem (I hope Jody can help): eek. > Jody, to create a GeoAPI object with this type requires us to have a > ComplexType fo

Re: [Geotools-devel] Encode using XSD with element

2010-05-12 Thread Ben Caradoc-Davies
Thanks, Justin. We might be able to modify ComplexSupportXSAnyTypeBinding to support this. But there is another problem (I hope Jody can help): Jody, to create a GeoAPI object with this type requires us to have a ComplexType for it to pass GeoTools validation. What does the PropertyDescriptor

Re: [Geotools-devel] Encode using XSD with element

2010-05-12 Thread Justin Deoliveira
It is tough to say but doubtful. Either XSAnyTypeBinding would have to able to return properties from generic objects (which it does not), or an application schema woudl have to extend AnyOrReferenceType to restrict the content to some other type that the encoder does know how to encode. So yea

[Geotools-devel] Encode using XSD with element

2010-05-11 Thread Florence.Tan
Hi Justin, Do you expect Encoder to be able to encode complexType (defined in an application schema) like this : Regards, Florence From: florence@csiro.au [mailto:florence@csiro.au] Sent: Monday, 10 May 2010 3:18 PM To: jody.garn...@gmail.com Cc