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.
Reproduced in build 060718. To reproduce the bug: - create a new schema; - switch to Source view; - place cursor under '<<xsd:schema ..... />'; - press 'Ctrl + Space'. 'No Suggestions'
If I put the cursor under <xsd:schema .../> isn't this outside the root element?
Please, add justification why did you change the priority from P3 to P1. Why did you reported this issue as P3 originaly?
Testing of code completion is blocked by this bug.
The scenario works fine in netbeans 5.5 without EP (of course excluding the 'switch to source view' step). It might be caused by the EP... Can you please verify your steps in pure 5.5 and change the subcategory if necessary then? BTW, you have to type at least < to make the CC working. Just pressing Ctrl+space on empty line won't work...
Ok, assigning to 'schema tools' for evaluation.
Interestingly, when I disable and enable schema based CC modules, everything works fine. Need to investigate further, will keep you posted.
Sorry, my initial findings were incomplete. Anyway, after hours of debugging, I found that BpelGrammarQuery is being pickedup during code completion query invokation in an XSD file. You can set a breakpoint in method queryElements() of XMLCompletionQuery.java and see that the 'performer' which is a GrammarQuery, is a BpelGrammarQuery. And hence no CC result is being displayed. Assigning it to the enterprise folks.
Disable modules related to BPEL and restart the IDE. Everything starts working.
Yes, that's my fault. I need to correct grammar manager in the way that it should accept ONLY Bpel process, not any XML. Will fix this shortly.
Now bpel grammar is used only for bpel.
Verified in build060726.