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.
Hi, I trying develop some XMLs but, XML Editor not working properly. Completition sometimes works but sometime not works. <application xmlns='http://geronimo.apache.org/xml/ns/j2ee/application-2.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://geronimo.apache.org/xml/ns/j2ee/application-2.0 http://geronimo.apache.org/xml/ns/j2ee/application-2.0'> <!-- here works --> </application> <application xmlns='http://geronimo.apache.org/xml/ns/j2ee/application-2.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://geronimo.apache.org/xml/ns/j2ee/application-2.0 http://geronimo.apache.org/xml/ns/j2ee/application-2.0'> <dep:environment xmlns:dep='http://geronimo.apache.org/xml/ns/deployment-1.2' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://geronimo.apache.org/xml/ns/deployment-1.2 http://geronimo.apache.org/xml/ns/deployment-1.2'> <!-- here works --> </dep:environment> <!-- now, here not works --> </application> Look at screencast please.
screencast (Ogg video theora codec) http://michal.kudla.googlepages.com/out-5.ogv
Created attachment 60646 [details] screencast (h264 codec) Play on eg. mplayer
Looks like, completion doesn't take care of this use case. I'm not sure, can you have an arbitrary element such as "environment" inside "application"? I will have to do some analysis on that. In any case, this is a very uncommon use-case and cannot be a P1 as per priority guidelines.
This is a very important deployment plan for Geronimo.
Fixed: http://hg.netbeans.org/main/rev/7d9ce9241445.
I have to say that this is a very uncommon use-case and I'm not sure if it is a valid use-case. I mean are you able to validate this XML. Where did "environment" come from? Is it a child element of "application"? I don't know how is this supposed to work.
Integrated into 'main-golden', available in NB_Trunk_Production #324 build Changeset: http://hg.netbeans.org/main/rev/7d9ce9241445 User: samaresh@netbeans.org Log: #133819 completition not working in XML files