Complex feature properties are encoded in the wrong order ----------------------------------------------------------
Key: GEOT-3183 URL: http://jira.codehaus.org/browse/GEOT-3183 Project: GeoTools Issue Type: Bug Reporter: Rini Angreani Assignee: Xiangtan Lin Fix For: 2.6.5 The encoding doesn't follow the schema order, e.g. for schema: <element name="azimuth" type="gsml:CGI_ValuePropertyType" minOccurs="0"/> <element name="convention" type="gsml:ConventionCodeType"/> <element name="dip" type="gsml:CGI_ValuePropertyType" minOccurs="0"/> <element name="polarity" type="gsml:PlanarPolarityCodeType"/> The properties should be encoded in the order of: gsml:azimuth gsml:convention gsml:dip gsml:polarity However, at the moment, this is what's produced: <er:planarOrientation> <gsml:CGI_PlanarOrientation> <gsml:convention>dip dip direction</gsml:convention> <gsml:polarity>not applicable</gsml:polarity> <gsml:azimuth> <gsml:CGI_NumericValue> <gsml:principalValue uom="urn:ogc:def:uom:UCUM::deg">140.0</gsml:principalValue> </gsml:CGI_NumericValue> </gsml:azimuth> <gsml:dip> <gsml:CGI_TermValue> <gsml:value codeSpace="http://www.dmp.wa.gov.au/371.aspx ">60-80</gsml:value> </gsml:CGI_TermValue> </gsml:dip> </gsml:CGI_PlanarOrientation> </er:planarOrientation> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel