[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5034) Assign Properties editor allows copy operation that validator complains about

Feng Qian (JIRA) jira-events at lists.jboss.org
Thu Nov 5 09:01:06 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-5034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12493315#action_12493315 ] 

Feng Qian commented on JBIDE-5034:
----------------------------------

In the faultHandler, the creditCheckInvalidVar is the faultVariable of the faultHandler.
the faultVariable can be used in the faultHandler scope. But in the issue, it can not
be used correctly. After looking into the bpel spe, it should has no error message.
Chatint with Denny, he think maybe this is a valid issue.

> Assign Properties editor allows copy operation that validator complains about
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-5034
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5034
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: bpm
>         Environment: JBoss BPEL Editor	1.0.0.v200909110340M-H277-M3 with Eclipse 3.5 on Mac
>            Reporter: Jeff DeLong
>            Assignee: Denny Xu
>         Attachments: AssignFaultData.tiff, PurchaseGoodsProcess_Store.bpel, PurchaseGoodsProcess_Store.bpelex
>
>
> 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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list