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.
JDK 1.5u16 / Build #200707170007 If one adds two attributes to postconditionsType/database (the xsd is well-formed and valid), after the second the Schema view tree corrupts and displays: *database [0..1] **complexType (extends entryListEntryType) ***entryListEntryType ***entryListEntryType ***two (instance of string) However, the correct structure should be: *database [0..1] **complexType (extends entryListEntryType) ***entryListEntryType ***one (instance of string) ***two (instance of string)
Created attachment 64926 [details] The xsd and a sample project with it.
Are you trying to add using the 'source' tab? Here is the new snippet and it works for me. ***** <xsd:complexType> <xsd:complexContent> <xsd:extension base="tns:entryListEntryType"> </xsd:extension> </xsd:complexContent> <xsd:attribute name="one" type="xsd:string"/> <xsd:attribute name="two" type="xsd:string"/> </xsd:complexType> ***** If this is how you have? It'll help if you could send an image of the view that is corrupted. Also please paste the snippet.
Created attachment 65285 [details] Screeshots of the Issue on build #200807170007
This issue is bound to build #200807170007. On the latest one (#200807211016) the procedure is correct and successful.
So it is working with latest build?
Yes, on #200807221016 / JDK1.5u16 / WinXP AMD64 everything is fine.
Seems related to some recent changes in openide.nodes. See issue 140801. There are other bizarre node related issues (see dependency) that popped up recently.
I've added a bunch of attributes to database node (in design view) and found no problems. My guess is that this issue is fixed in a957abe6cd06.
Verified as Resolved Product Version: NetBeans IDE Dev (Build 200808120201) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Linux version 2.6.24-20-generic running on i386; UTF-8; en_US (nb)