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.
Summary: | REGRESSION: addiing element in design view works wrong | ||
---|---|---|---|
Product: | xml | Reporter: | Ivan Sidorkin <ivansidorkin> |
Component: | Schema Tools | Assignee: | Ayub Khan <ayubskhan> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | ca-nb, htt, kozlov |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Ivan Sidorkin
2006-08-13 03:03:20 UTC
For element and attribute references, when it's renamed, we should check if the new name is same as global element or attribute. If so, we should change their referents. AttributeImpl.java: new revision: 1.1.2.11; AttributeRef.java: new revision: 1.1.2.13; ElementImpl.java: new revision: 1.1.2.28; ElementRef.java: new revision: 1.1.2.19; AXIDocument.java: new revision: 1.1.2.12; AXIComponent.java: new revision: 1.1.2.45; It turns out, in the above scenario, the AXIComponent behind the node in ABE is an Element and not an ElementRef. -->to Ayub BTW I do not think this is a regression. Util.java: new revision: 1.1.2.51; Fixed in trunk. Files affected: =============== /cvs/xml/axi/src/org/netbeans/modules/xml/axi/impl/Attic/SchemaGeneratorUtil.java,v new revision: 1.1.2.2; previous revision: 1.1.2.1 verified in 060905 |