Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323936 - Assign Properties editor allows copy operation that validator complains about
Summary: Assign Properties editor allows copy operation that validator complains about
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BPEL (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: BPEL Validation Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 04:53 EDT by grid.qian CLA
Modified: 2022-10-03 11:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grid.qian CLA 2010-08-30 04:53:29 EDT
The Assign Properties editor allow the following XML to be created:

 <bpel:assign validate="no" name="AssignDataForBuyFailed">
                            <bpel:copy>
                                <bpel:from>
                                    <bpel:literal xml:space="preserve"><tns:BuyFailed xmlns:tns="http://www.example.org/Store/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <fault></fault>
</tns:BuyFailed>
</bpel:literal>
                                </bpel:from>
                                <bpel:to variable="buyFailedVar" part="parameters"></bpel:to>
                            </bpel:copy>
                            <bpel:copy>
                                <bpel:from part="parameters" variable="creditCheckInvalidVar">
                                    <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
                                        <![CDATA[fault]]>
                                    </bpel:query>
                                </bpel:from>
                                <bpel:to part="parameters" variable="buyFailedVar">
                                    <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
                                        <![CDATA[fault]]>
                                    </bpel:query>
                                </bpel:to>
                            </bpel:copy>
                        </bpel:assign>

See attached screen shot for what this looks like in the property editor. However this generates the following error message:

Description Resource Path Location Type
The LocationPath expression "child::fault" is not allowed in expressions as there is no implicit context node present. PurchaseGoodsProcess_Store.bpel /StoreProcess/bpel line 86 BPEL Validation Marker


this is a issue from jboss jira: https://jira.jboss.org/browse/JBIDE-5034
Comment 1 grid.qian CLA 2010-08-30 06:28:54 EDT
fixed