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 85437 - Validator not check references in XPath expressions
Summary: Validator not check references in XPath expressions
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
: 93892 94913 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-21 13:16 UTC by Andrey Yamkovoy
Modified: 2007-06-01 20:56 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Yamkovoy 2006-09-21 13:16:49 UTC
Validator should check references in XPath expressions.

Steps to reproduce:
- Create Synchronous Sample project.
- Open BPEL source editor.
- Change one of the message parts to incorrect value () in assignment. For 
example:
    <from>$inputVar.inputTypeRenamed/paramA</from>
- Save all.
- Validate BPEL and notice that no errors was found.
- Build and deploy project. 
- Run test.
- Test fails with fault:
   ... <faultcode>SOAP-ENV:Server</faultcode> ...
Comment 1 Denis Anisimov 2006-09-21 14:46:49 UTC
Validation do check references in XPath expression for variables.

All other checks is enhancement, not a bug.
Part presence is easy to check, thats true, but ideologically this is the same
as checking corectness of full xpath expression:
$inputVar.inputTypeRenamed/paramA
One could check presence part inputTypeRenamed and element paramA in this part.
There can be also more elemens in xpath and presence of each element in xpath
could be checked. This is the same issue actually.

This can be option, not requirement. But this is will be new feature.
We don't add new features currently.
Comment 2 Denis Anisimov 2007-02-09 12:20:04 UTC
*** Issue 94913 has been marked as a duplicate of this issue. ***
Comment 3 Vladimir Yaroslavskiy 2007-04-03 12:24:06 UTC
*** Issue 93892 has been marked as a duplicate of this issue. ***
Comment 4 Nikita Krjukov 2007-06-01 20:56:41 UTC
Now the variable, part and XPath location steps are checked.
The content of predicates is also checked.