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 155941 - XPath special steps node(), text(), ... don't work
Summary: XPath special steps node(), text(), ... don't work
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-22 14:53 UTC by Nikita Krjukov
Modified: 2009-01-29 16:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
errors in mapping attributes of derived type (11.80 KB, text/plain)
2009-01-19 08:33 UTC, lucica
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Krjukov 2008-12-22 14:53:33 UTC
Fix of the issue #153289 has broke down the support of the special location steps: node(), text(), comment() and 
processing-instruction(). It has to be repaired.
Comment 1 Nikita Krjukov 2008-12-22 15:00:00 UTC
The issue #127874 can describe the way of testing. 
Comment 2 Nikita Krjukov 2008-12-22 15:05:45 UTC
The fix changeset  http://hg.netbeans.org/soa-dev/rev/21f1476bb608
Comment 3 Nikita Krjukov 2008-12-22 15:08:21 UTC
The changes make much more simple to implement the issue #148440
Comment 4 ggenipudi 2009-01-06 20:05:30 UTC
Tested and verified using \\thumper\50builds\gfesb-sync\v2\nightly\20090105-0707 and  addnode()add text(),  Add
comment(), Add
Processing-instruction() do not appear when right -clicking paramA on synchronous sample.
Comment 5 Nikita Krjukov 2009-01-11 18:43:10 UTC
The synchronous sample isn't a good way of testing the issue. 

The matter is the special steps doesn't make sense for the leaf schema components because they should always return
empty set. So I hide the menu items for such components (leaf elements and attributes). 

Try using another project, for example TRS. 
Comment 6 ggenipudi 2009-01-12 22:27:58 UTC
verified using TRS sample and the addnode()add text(),  Add
comment(), Add
Processing-instruction() do not appear when right clicking the itenary node
Comment 7 lucica 2009-01-19 08:33:41 UTC
Created attachment 75963 [details]
errors in mapping attributes of derived type
Comment 8 Nikita Krjukov 2009-01-29 16:04:47 UTC
I've found some other problems with the special steps:
-- Predicate editor works wrong with nodes under a special step. 
-- If a predicate has a special step inside, then editing of the predicate comes to wrong results.
-- If a type cast located under a special step, then the mapper connects a link not to the type cast 
   node but to its base node. 

Everything is already fixed. See here: http://hg.netbeans.org/soa-dev/rev/510bea1af7fa