Client properties on simple attributes aren't encoded
-----------------------------------------------------
Key: GEOT-2607
URL: http://jira.codehaus.org/browse/GEOT-2607
Project: GeoTools
Issue Type: Bug
Components: ext xml-xsd
Affects Versions: 2.6-M2
Reporter: Rini Angreani
Assignee: Rini Angreani
Fix For: 2.6-M2
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
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel