Community
Participate
Working Groups
Attempted to use a query in an assign statement: <bpws:copy> <bpws:from>...</bpws:from> <bpws:to part="payload" variable="output"> <bpws:queryqueryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/tns:result]]></bpws:query> ... Actually seems like we should generate query [tns:result] instead of [/tns:result], but I'm not very familiar with this.
Created attachment 84725 [details] query_in_assign.patch Simon's answer: > you're absolutely correct - the query should not start with a '/' - not on the first token in this case. So seems like it's enought to remove builder.append("/"). Patch has been attached.
Oleg, this is not good enough. The fix that you proposed here removes *all* slashes. Imagine a complex XSD with many nested types. So, previouly you had /xsd:elm1/xsd:elm2/xsd:elm3, with your fix this becomes xsd:elm1xsd:elm2xsd:elm3. However, it should become xsd:elm1/xsd:elm2/xsd:elm3ยด- so only the first slash is removed.
Created attachment 85048 [details] first_slash.patch I see. Here is an updated patch. It's just removes the first character from the string.
reviewed and released the patch, the new patch works.
Comment on attachment 85048 [details] first_slash.patch Updated iplog flag for v1.0 release review.