[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Proposal to modify getVariableData
Here is a request I got from my company's BPEL group who is developing a BPEL implementation for our main product: The getVariableData xpath function should return node sets of any size (0, 1, >1) instead of throwing a selectionFailure fault in cases where the resulting node set size is not one. Here are two use cases to explain the request: - If the user is trying to copy a repeating node to another repeating node they need to know the count of the repeating node so they can use that count variable in a while loop. Currently getVariableData would throw a fault and there would be no way to determine the count of a repeating node and therefore no way to copy repeating nodes. - If the user would like to test for the existence of a node to determine the route in a business process they would need to have getVariableData return 0 or 1 node. Currently getVariableData would throw a fault and there would be no way to determine if a node is optional. Thank you, Ugo
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]