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.
Summary: | Misleading text in status bar when using Schema Based code completion | ||
---|---|---|---|
Product: | xml | Reporter: | Rohan Ranade <rohanranade> |
Component: | Schema Tools | Assignee: | Samaresh Panda <samaresh> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 122444 | ||
Attachments: |
Screenshot of the issue - look at the text in the status bar
Catalog which registers the schema files |
Description
Rohan Ranade
2007-07-02 10:09:40 UTC
Created attachment 44617 [details]
Screenshot of the issue - look at the text in the status bar
Created attachment 44618 [details]
Catalog which registers the schema files
CC infrastructure is such that multiple completion provider come into play and one of the provider writes that in the status bar. This is perfectly fine. I do not consider this as a bug. I'm not sure what misleads the user. Changing status to wontfix. Implementation wise it might be a non issue, but the fact that the message text is shown up inspite of correct loading of schema model for completion, misleads the users. We get error reports and support requests from our users telling us that something is not working. Also, I have never seen such a message appear with DTD based code completion. I agree with Rohan. This might confuse the user. Perhaps bug priority can be reduced. Reopening the issue as per the comments mentioned earlier /cvs/xml/text-edit/src/org/netbeans/modules/xml/text/completion/GrammarManager.java,v <-- GrammarManager.java new revision: 1.14; previous revision: 1.13 Still exists in 200801100000. 1. Create newLoanApplication schema. 2. Create a new XML document based on that schema. 3. Delete "utoLoanApplication xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'" text. 4. Invoke code completion. Result: "No suggestions" tooltip and "Cannot load XMLdocument grammar" in the status bar. 1. With "No Suggestion", it is OK to see the message "Cannot load XMLdocument grammar". 2. You should try a newer build because the message is not being used at all. So it shouldn't appear. Fix Verified, the message no longer appears. Product Version: NetBeans IDE Dev (Build 200801220251) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb) |