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

Summary: Auto-generate meaningful namespace prefixes
Product: xml Reporter: Nathan Fiedler <nlfiedler>
Component: WSDL ToolsAssignee: issues@xml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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. ***