-
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 any/ element
While I can't confirm
While I can't confirm Florence's conclusion sounds very reasonable. It
is most likely GeoTools not handling xs any content.
So if we patch schemas to handle ANY_ELEMENT does that bring us any closer?
On 10-05-13 11:19 PM, florence@csiro.au wrote:
Hi Ben Justin,
I think I might be wrong
Justin,
do you know if the version of EMF we are using (ecore-2.2.2 and
xsd-2.2.2) even support the any/ 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
:13 AM
To: Justin Deoliveira
Cc: Tan, Florence (CESRE, Kensington); geotools-devel@lists.sourceforge.net
Subject: Re: [Geotools-devel] Encode using XSD with any/ 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 any/ element as a content
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
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
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 for
Hi Justin,
Do you expect Encoder to be able to encode complexType (defined in an
application schema) like this :
complexType name=AnyOrReferenceType
sequence minOccurs=0
any/
/sequence
attributeGroup ref=gml:AssociationAttributeGroup/
/complexType
Regards,
Florence