This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 90324 - property alias type validations
Summary: property alias type validations
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 03:25 UTC by kiran_bhumana
Modified: 2008-02-18 13:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kiran_bhumana 2006-11-30 03:25:34 UTC
All property aliases associated with a property should point to the same
dataType. If not, we need to point out a validation error.
Comment 1 Ritesh Adval 2007-01-18 19:49:04 UTC
This statement does not make sense to me. Please provide more info.

For example a propertyAlias below can point to different messageType as shown
below, so your statement "All property aliases associated with a property 
should point to the same dataType", is not valid.

<bpws:property name="property1" type="xsd:string"/>

<bpws:propertyAlias propertyName="tns:property1" 
messageType="taskCommon:ClaimTask_Input" part="taskId"/>
    
    <bpws:propertyAlias propertyName="tns:property1" 
messageType="taskCommon:RevokeTask_Input" part="taskId"/>

Comment 2 jlautz 2007-04-03 07:41:31 UTC
No further information has been provided by the original reporter. Assuming that
the developers comments adequately explain product behavior.

Verifying issue as INVALID.
Comment 3 kiran_bhumana 2007-04-03 07:58:07 UTC
I am referring "data types" not "message types". By that i meant a property has
a type, in the example <bpws:property name="property1" type="xsd:string"/>
the type(data type) is a "xsd:string". All the property aliases associated with
this property should point (by virtue of their xpath expression or the lack
thereof) should point to a leaf node that is of type "xsd:string"
Comment 4 Shivanand Kini 2007-04-04 19:55:54 UTC
Changing this to an enhancement.
Comment 5 Shivanand Kini 2007-06-05 19:34:05 UTC
This bug is related to the property alias validation. Do you want to look at it
on the lines of validation that you added recently.
Comment 6 Nikita Krjukov 2008-02-12 17:08:15 UTC
Reassign to Vladimir Yaroslavskiy as he is a responsible person now. 
Comment 7 Vladimir Yaroslavskiy 2008-02-18 13:39:48 UTC
fixed:

property alias (without query) and associated property point to the same type.