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 91500 - Auto-generate meaningful namespace prefixes
Summary: Auto-generate meaningful namespace prefixes
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
: 91499 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-22 19:32 UTC by Nathan Fiedler
Modified: 2010-06-16 15:54 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 Nathan Fiedler 2006-12-22 19:32:00 UTC
The import customizer for WSDL tools should generate "meaningful" namespace
prefixes based on the namespace of the selected file. For instance, if the
namespace for a schema/WSDL file is something like "TravelReservationService",
then the generated prefix should be "trs". At the moment, the WSDL tools
generate a namespace that starts with "ns" and ends with a number (e.g. "ns1",
"ns2"). The trouble with this is that the import creator dialog will show the
same generated prefix for all of the available files (the import creator dialog
has a tree-table that shows the file tree, a checkbox column, and a prefix
column). This could be confusing, and certainly is considering that if the user
selects multiple files, the namespace prefixes for each imported file become
ns1, ns2, ns3, and so on.

Would be a lot better if each row in the tree-table had a unique prefix, which
would be fairly easy to achieve if the prefix was derived from the namespace, as
described above.
Comment 1 gliesian 2010-06-16 15:54:21 UTC
*** Bug 91499 has been marked as a duplicate of this bug. ***