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 160148 - autocomplete not working for multiple namespace import
Summary: autocomplete not working for multiple namespace import
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-12 01:55 UTC by ewgray
Modified: 2009-04-03 10:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example XML to illustrate defect (51.50 KB, text/plain)
2009-04-03 10:36 UTC, ewgray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ewgray 2009-03-12 01:55:37 UTC
The schema tools do not recognise multiple namespace imports. 

The autocomplete selects the wrong namespace for components where the imported schema itself has imports. The text 
reccomended for autocompleteion makes the schem invlaid and does not then validate.

Have tested across 6.1, 6.5, and 6.7 and on Linux and XP, issue is present on all.
Comment 1 ewgray 2009-03-12 02:04:37 UTC
Have tested attached schemas in other XML tools and only netbeans appears to have this issue.
Will submit attachemt that highlights issue asap.

Comment 2 Nikita Krjukov 2009-03-20 21:19:30 UTC
I'd like to have more detailed description and promised attachment. So I set it as incomplete for a while.
Comment 3 ewgray 2009-04-03 10:36:05 UTC
Created attachment 79361 [details]
Example XML to illustrate defect
Comment 4 ewgray 2009-04-03 10:42:30 UTC
Attached file to highlight defect. Sample files publicly available for download.

With the directory structure, go to  TCNZ_B2B/samples/Assure/genericCreateProblemReportRequest.xml

validate xml, to check that the xml is valid.

add another

<sid:BusinessInteractionRole> </sid:BusinessInteractionRole>

auto complete wihtin this element does not work. It appears as it the sid namespace is not reconised.