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.
BPEL code completion items show up in all XML files. BPELCompletionModelProvider should prevent this. The idea behind passing a CompletionContext to various CompletionModelProvider implementation is that, they determine whether or not to return a list of CompletionModels. As an example, you can check the extension of the file if(!context.getPrimaryFile().getExt().equals("bpel")) return null; Or, you may want to check something else and determine whether or not to return a list of CompletionModels.
I meant all XML files where schema aware code completion is active, for example WSDL file.
OK, I have added additional logic for preventing enabling BPEL CC for non-bpel XMLs.
Verified.