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.
Invoke the code completion for <bean id="foo" class="FooAbstractController" |/> where | is the caret position. The attribute items from schema-based completion pop up, but the p-namespace properties do not. Perhaps related to the following issue. Invoke the code completion for <bean id="foo"| class="FooAbstractController"/> The p-namespace items pop up, but the schema-based attributes do not. The p-namespace items should not pop up there, since they would generate illegal XML.
Incorrect completion state being reported by CompletionContext
Fixed in changeset ce7b9445c426. Note: Completion still does not work for cases like: <bean id="foo" p:|/> (| is the location of the cursor). This is due to the XML infrastructure returning an error token (see 129165)
That case is covered by issue 129027, so I suggest closing this one.
Agreed.
Now not working for <bean id="foo" p:| Probably because the check if the caret offset is at token boundary when the current token is whitespace. Removing that check makes the namespace p-namespace items pop up even for <bean id="foo"| Since the items incorrectly popping up has higher impact that them not popping up at all, I am removing the check. Please review. 732e89b985d9
Fixed in changeset bd1af3939a07