Community
Participate
Working Groups
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Build Identifier: 20090621-0832 The regular expression in variable org.eclipse.datatools.enablement.oda.ws.soap.SOAPRequest.RE_PARAMETER should be replaced by (&\\?)(\\w+)(\\?&) or otherwise it wont find SOAP Parameters inside XML attributes. Reproducible: Always Steps to Reproduce: 1. Create a new org.eclipse.datatools.enablement.oda.ws.soap.SOAPRequest object using a template with arguments in XML attributes (an example/use case of this situation would be a SOAP Request with a <gml:point> in a SOAP Request as in the excerpt one attached. 2. Confirm that, on line 48 of org.eclipse.datatools.enablement.oda.ws.soap.SOAPRequest (version 1.5) template = queryText.split( RE_PARAMETER ); the split is incorrect on: gml:id="&?point1_Id?&" gid="&?point1_gId?&"
Created attachment 147433 [details] SOAP example
It didn't make it in the 1.8.1 release; moved to the next maintenance release.
The regular expression "\\Q&?\\E.*\\Q?&\\E" is incorrect on this case, there is more than one parameter in one line. Fix this bug.
Verified in os birt 3.7.0.v20110415-0630