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 84830 - Schema View must enforce uniqueness of elements and attributes
Summary: Schema View must enforce uniqueness of elements and attributes
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-13 19:21 UTC by bhate
Modified: 2006-09-14 21:24 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 bhate 2006-09-13 19:21:24 UTC
Currently it is possible to create same name elements or attributes under an
element using schema view. This makes schema invalid and design view can not be
rendered.
Following are a few examples:
1. Create 2 elements or attributes and then refactor them so that their names
are same.
2. Create an element or attribute and then add a reference to an element or
attribute with same name or a group containing same name.

This issue addresses 84195 partially (uniqueness aspect). so will mark tht bug fix.
Comment 1 bhate 2006-09-14 21:24:59 UTC
This needs to cover a lot of corner cases, marked as enhancement but will be
nice to have for FCS.