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.
Introduce XML Schema based code completion. The first version must be at least namespace-aware and support attribute and choice element completion.
Feature positively influences user productivity.
This feature is essential for all J2EE deployment descriptors(J2EE 1.4 version). See : http://java.sun.com/xml/ns/j2ee All these deployment descriptors are specified by XML schema files and we expect from XML module(s) to support the code-completion feature similarily as for DTDs. The DUBLIN release is going to implement the J2EE 1.4 spec.
*** Issue 34547 has been marked as a duplicate of this issue. ***
Created attachment 10929 [details] Proposed SchemaResolver interface
To be able to implement this issue in vendor neutral way I started efford to standardize dynamical XML schema location interface. If only something like this was in SAX or JAXP.
Unscheduling from my todo list. New owner is gladly welcome. Meanwhile assigning to abstract issues@xml.netbeans.org owner.
*** Issue 36906 has been marked as a duplicate of this issue. ***
will schema based code compeltion be supported in 3.6 or postponed?
Obviously not in 3.6! When we make a release, QA updates target milestones for still-open DEFECTs to be "TBD" or something, but not FEATUREs or ENHANCEMENTs (for some reason), so developers often forget to update them.
Note that this would be very helpful for editing freeform project.xml files.
Is this only supported with schemas mounted in the XML catalog? I am trying to get autocomplete for a schema that validates fine right now, but it isn't in the catalog and I can't get it to work at all... (Everything validates just fine). What are the requiretments for this to wokr? It just keeps saying "Cannot load document grammar" when I try and autocomplete. File is as follows: ----------------------- <phoenix-config xmlns="http://www.kallasoft.com/xml/ns/phoenix-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.kallasoft.com/xml/ns/phoenix-config http://www.kallasoft.com/xml/xsd/phoenix-config_1_0.xsd" version="1.0"> <!-- CONTENT REMOVED FOR POST --> </phoenix-config> ------------------------
*** Issue 55821 has been marked as a duplicate of this issue. ***
Please take this RFE into account when planning new features into next release. Together with #22510 this is one of two top required enhancements.
no time for this to 4.2
Updating to see it there is any chance this can be added for 5.0. It's been _three years_ and _sixteen votes_ and it's something users really need.
Too late for 5.0.
While I understand it is too late for 5.0, is there any chance it can get _officially scheduled_ for NetBeans.next? It's been 3 years, it's time to get this solved...
Any chances to see this solved?
Adding Samaresh to cc, I believe he may be able to provide some update.
The NetBeans enterprise pack Beta will have code completion for instance documents based on XML Schema. If you don't want to wait for Beta you can try a nightly build.
*** Issue 92656 has been marked as a duplicate of this issue. ***
Isn't this feature now available in the Enterprise pack for NetBeans 5.5? It is listed as one of the features: http://www.netbeans.org/products/enterprise
In 5.5, it used to be part of EntPack. This feature is now available is standard Netbeans 6.0. You can try this with a nightly build. What lacks today is, it doesn't fetch the schema from the internet, but soon, that will also be fixed. Here is what works today: - it looks for schemas in the local project - looks for schemas in the runtime catalog, system-id should match the location - the CC items are namespace aware - supports schema wildcards
Just wanted to clarify few things about my last comment. The SACC feature now allows seamless CC based on Schemas from the internet. You should try with a nightly build.
Fixed long time ago
Verified