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.
I have a potential fix for the XSLT code completion problems if 6.8, 6.9 and 7.0. I have checked my fix with 7.0, but it should work with 6.8 or 6.9. The primary issue (once code completion is turned on in "XSL Support") is that the "Schema Based Completion Provider" pauses while accessing "http://www.w3.org/1999/XSL/Transform" (whatever has happened at the w3c web site it takes a consistent 20+ seconds to return from this URL). Since this URL does not contain schema information my fix involves a guard preventing the access attempt (actually I filter a number of URL typically found in my XSLT). Two other fix details...1) enable creation of a "XSLGrammarQuery" from the "XSLGrammarQueryProvider" and 2) re-add "XSLGrammarQueryProvider" under :GrammarQueryManagers" Diffs are attached. Another point is I do not know what is different about the XSL completion in the XSL.CORE module which is removed from 7.0. Is it more capable?
Created attachment 108342 [details] Provider
Created attachment 108343 [details] layers
Created attachment 108344 [details] completion context
Well-known schemas, such as XSL 2.0 are now included in the distribution. Will look at XSLGrammarQuery during the next release cycle.
23 votes .. at least P2
The reported issue - pauses when downloading XSLT schema - are now solved; NetBeans bundle those schemas, so they are available immediately. I would prefer not re-adding XSLGrammarQueryProvider, it brings only very basic completion for XPath expressions in certain attributes and was deactivated a long time ago. The main part of completion (elements, attributes, cardinality) is provided by schema aware completion support now. Please re-evaluate the current state (in NetBeans 7.1 release) whether the completion behaviour is acceptable. Thanks.