If a target attribute has more than one attribute mapping, filters gets no unrolled to all the source expressions -----------------------------------------------------------------------------------------------------------------
Key: GEOT-1323 URL: http://jira.codehaus.org/browse/GEOT-1323 Project: GeoTools Issue Type: Bug Reporter: Gabriel Roldán Assignee: Gabriel Roldán Fix For: 2.4.0 There might be multiple mappings per property name, like {{gml:name[1] = att1}} {{gml:name2 = strConcat(att2, att3)}} {{gml:name[3] = "sampleValue"}} In the BoreHole test mapping used here, the following mappings exist for gml:name: {{ gml:name[1] = strConcat( strConcat(QS, strConcat("/", RT)), strConcat(strConcat("/", NUMB), strConcat("/", BSUFF)) ) }} {{ gml:name[2] = BGS_ID }} {{ gml:name[3] = NAME }} {{ gml:name[4] = ORIGINAL_N }} This means the "unrolled" filter for a filter over the target schema like {{ gml:name = "SWADLINCOTE" }} should be {{ strConcat( strConcat(QS, ...) = "SWADLINCOTE" OR BGS_ID = "SWADLINCOTE" OR NAME = "SWADLINCOTE" OR ORIGINAL_N = "SWADLINCOTE" }} -- 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel