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.
<?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.netbeans.org/schema/SynchronusSample" xmlns:tns="http://xml.netbeans.org/schema/SynchronusSample" elementFormDefault="qualified"> <!--Main error--> <xsd:attribute name="focus" default="Java"> <xsd:simpleType base="string"> <enumeration value="XML" /> <enumeration value="Java" /> </xsd:simpleType> </xsd:attribute> <!--Main error--> <xsd:simpleType name="music"> <xsd:restriction base="xsd:string"/> </xsd:simpleType> </xsd:schema> ----------------------------------------------- on adding attribute with enumeration the schema tab for .xsd docment don't response properly In the Design tab the palette don't show XML components and XML schema components.
Alex, please take a look.
It's not a bug. Now NetBeans IDE doesn't contain multiview editor for XML schemas by default - only text editor is presented. To add required features the SOA plugin should be installed (see the attached screenshot_SOA_Plugin.png and screenshot_btnDesign_XMLPalette.png). NetBeans IDE behaviour has been checked on: Product Version: NetBeans IDE Dev (Build 201003170201) Java: 1.6.0_14; Java HotSpot(TM) Client VM 14.0-b16 System: Linux version 2.6.18-8.el5 running on i386
Created attachment 95301 [details] screen shot
Created attachment 95303 [details] screen shot
new comment received from PCM <stallonerocky2@gmail.com>: i have the plugin the problem occur with this code <xsd:attribute name="focus" default="Java"> <xsd:simpleType base="string"> <enumeration value="XML" /> <enumeration value="Java" /> </xsd:simpleType> as soon as this code is entered the Design and schema editor start behaving differently on adding attribute with enumeration the schema tab for .xsd docment don't response properly In the Design tab the palette don't show XML components and XML schema components.
This bug is blocked by http://netbeans.org/bugzilla/show_bug.cgi?id=182294
Fixed due to fixing of the bug http://netbeans.org/bugzilla/show_bug.cgi?id=182294 Fixed in trunk: http://hg.netbeans.org/main/rev/7eb84d83fe7e Fixed in gfesb23: http://hg-soabi.stc.com/gfesbv23/rev/af2e2c41e4b6