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.
After working with XSL files for a while the competion gets broken and shows nothing useful. As soon as that happens, I can create new XSL file from XML/XSL template position anywhere, press ctrl+space and the only reply I get is "No suggestions", see the attached screenshot. If you have problems to reproduce, don't hesitate to ask me for help. I seem to be able to reproduce that everything I use XSL.
Created attachment 79029 [details] No completion suggestions on file generated by default XSL template
Tested on build from 2009/03/24. I also tried to restart and use new userdir. That does not work either. The XSL code completion just repeats "No suggestions".
Alex, this is in 67. Please look.
This is caused by incomplete support for substitution groups in the schema model: if a element X is substitutable for a head, that head's children will be used for X children. This direction is implemented. But it seems that if a child X is a substitution head, the contents of the X substitution group are not added as alternatives: either the schema model has to include a choice of all substitutions (including the head), or the client must query and add all alternatives should the child be a head of a substitution group. Note that the 'head of subst group' flag is not present at the schema model.
203793 has same cause and more precise description of the issue *** This bug has been marked as a duplicate of bug 203793 ***