[Geoserver-devel] [jira] Created: (GEOS-3244) Update FeatureChainingWFSTest with encoding client properties on simple attributes

Update FeatureChainingWFSTest with encoding client properties on simple attributes
----------------------------------------------------------------------------------

                 Key: GEOS-3244
                 URL: http://jira.codehaus.org/browse/GEOS-3244
             Project: GeoServer
          Issue Type: Test
          Components: Application schema
            Reporter: Rini Angreani
            Assignee: Rini Angreani

This is to test this: http://jira.codehaus.org/browse/GEOT-2607
Client properties on simple attributes aren't encoded, eg.
<AttributeMapping>
<targetAttribute>gsml:observationMethod/gsml:CGI_TermValue/gsml:value</targetAttribute>
<sourceExpression><OCQL>'urn:ogc:def:nil:OGC::missing'</OCQL></sourceExpression>
<ClientProperty><name>codeSpace</name><value>'http://urn.opengis.net'</value></ClientProperty>
</AttributeMapping>

is supposed to produce this:
<gsml:observationMethod>
<gsml:CGI_TermValue>
<gsml:value codeSpace="http://urn.opengis.net">urn:ogc:def:nil:OGC::missing</gsml:value>
</gsml:CGI_TermValue>
</gsml:observationMethod>

but the codeSpace isn't encoded because in the binding, it typecasts the parameter as complex attribute, where in this case we have a simple attribute.
Patch coming up soon.

--
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