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.
The project has been shared on the BPEL i-team alias. I will attach it here, if it is safe to be published.
There is small project to reproduce issue in the attachment. some notes on project: in bpel .................................. <assign name="Assign1"> <copy> <from>'AAAA'</from> <to>$PurchaseWSDLOperationOut.part1/ns0:city</to> </copy> <copy> <from>'BBB'</from> <to>$PurchaseWSDLOperationOut.part1/ns0:comment</to> </copy> </assign> .................................. where comment in $PurchaseWSDLOperationOut.part1/ns0:comment is reference see in xsd: .................................. <xsd:complexType name="USAddress"> <xsd:sequence> <xsd:element name="name" type="xsd:string"/> <xsd:element name="street" type="xsd:string"/> <xsd:element name="city" type="xsd:string"/> <xsd:element name="state" type="xsd:string"/> <xsd:element name="zip" type="xsd:decimal"/> <xsd:element ref="tns:comment"/> </xsd:sequence> <xsd:attribute name="country" type="xsd:NMTOKEN" fixed="US"/> </xsd:complexType> .................................. So any mappings to the USAddress/comment aren't shown in the bpel mapper. The same problem is for the project which uses HL7 schema.
Created attachment 58332 [details] project to represent issue with referenced element
Nikita please look at this.
Please verify it. The additiona workaroud is added. It checks if the XDM dom model is used. If so the ElementReference isn't considered as a possible child element of the parent Schema component. The workaround has to be removed after the isssue #130156 is fixed!
Verified with NetBeans IDE 6.1 RC1 (Build 200804100130)
The fix is removed from the trunk because it utilized a workaround, which has been depended on the issue #130156. After the issue #130156 has fixed the changes has become unnecessary. I tested the issue after removing the workaround. The change set is here: http://hg.netbeans.org/main/rev/ef83914db24f
Integrated into 'main-golden', will be available in build *200903210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ef83914db24f User: supernikita@netbeans.org Log: Remove workaround related to the issues #105159, #111107, #130053 after the isssue #130156 has fixed