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 162775 - Changes Made Under Tree view Does not Get Reflected in Source Code
Summary: Changes Made Under Tree view Does not Get Reflected in Source Code
Status: CLOSED INVALID
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitaly Bychkov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 01:23 UTC by rpoon
Modified: 2009-04-16 18:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project and description file (52.01 KB, application/octet-stream)
2009-04-16 01:28 UTC, rpoon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rpoon 2009-04-16 01:23:28 UTC
Build: \\thumper\50builds\gfesb\v2.1\main\nightly\20090413-0723

Transformmap editor does not clean up code completely when items from ‘Tree’ view are cleaned up.

To reproduce:

1)Open the attached project.
2)Open the Transformmap editor
3)Delete all nodes from ‘Tree’ view.
4)Save All
5)Go to ‘Source’ view and notice that some left over codes are not yet cleaned up.

(see attached file for screen shots and more details)
Comment 1 rpoon 2009-04-16 01:28:28 UTC
Created attachment 80203 [details]
Project and description file
Comment 2 Vitaly Bychkov 2009-04-16 14:58:35 UTC
Richard the left code is a namespace declaration.
In general case namespace declaration could be added in different ways for the different aims 
we don't know when and how these namespaces were added.

From another point these namespaces are defined in transformmap node i.e. root node which couldn't be deleted.

In a future it will be nice to have quick fix support feature like we have in a bpel. 
As part of this feature there is  could be quick fix: 
"remove unused namespace declarations"

Please file an enhancement.
Comment 3 rpoon 2009-04-16 18:40:56 UTC
Opened enhancement ticket for this issue.