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 136646 - Transformmap validation: variable reference name should be of the next format: $varName[.partName]]
Summary: Transformmap validation: variable reference name should be of the next format...
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks: 117043
  Show dependency tree
 
Reported: 2008-06-06 13:51 UTC by Vitaly Bychkov
Modified: 2008-07-30 14:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The project with deprected variable reference name format (8.87 KB, application/x-compressed)
2008-06-06 14:04 UTC, Vitaly Bychkov
Details
The project with wrong variable reference name format (9.09 KB, application/x-compressed)
2008-06-06 14:05 UTC, Vitaly Bychkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Bychkov 2008-06-06 13:51:36 UTC
There was an old style to use the next transformmap variable reference name format: varName[.partName]].
Currently it is deprecated. The variable reference name should starts from '$' then the name of referenced variable at
the end there could be '.' and message part name.

The value of source and result attributes of <transform element and attribute value of <param element constructs with
type="param" should be of the next format: $varName[.partName]].


So here are two validation rules:
1. Wrong variable reference format.
2. Deprecated variable reference format.(i.e. all correct except '$' on the first place - varName[.partName]])

e.g.:
correct: 
<transform file="newXSLFile4.xsl" source="$inOpVar1.part1" result="$outOpVar1.part1" name="Transform1">
    <param name="param1" type="param" value="$inOpVar1.part2"/>
</transform>

rule 1 is broken: (!!!wrong  $inOpVar1.)
<transform file="newXSLFile4.xsl" source="$inOpVar1." result="$outOpVar1.part1" name="Transform1">
    <param name="param1" type="param" value="$inOpVar1.part2"/>
</transform>

rule 2 is broken:
<transform file="newXSLFile4.xsl" source="inOpVar1.part1" result="outOpVar1.part1" name="Transform1">
    <param name="param1" type="param" value="inOpVar1.part2"/>
</transform>
Comment 1 Vitaly Bychkov 2008-06-06 14:04:42 UTC
Created attachment 62463 [details]
The project with deprected variable reference name format
Comment 2 Vitaly Bychkov 2008-06-06 14:05:43 UTC
Created attachment 62464 [details]
The project with wrong variable reference name format
Comment 3 Vladimir Yaroslavskiy 2008-07-30 14:19:17 UTC
fixed in soa-dev: c3d7ccb7b4f4