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

Summary: Validator not check references in XPath expressions
Product: soa Reporter: Andrey Yamkovoy <kaktus>
Component: BPEL ValidationAssignee: Nikita Krjukov <supernikita>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.