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: | Unknown attribute breaks other editor functionality | ||
---|---|---|---|
Product: | web | Reporter: | bht <bht> |
Component: | HTML Editor | Assignee: | Marek Fukala <mfukala> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | vriha |
Priority: | P2 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Testcase |
still valid in 7.0, the annotation type is error, but it's supposed to be warning only... strange fixed in web-main#758b20711e22. All html validator issues are now considered at most as warnings. Since the fix is 110% safe and the impact may be quite disturbing I would like to fix in 7.0. Integrated into 'main-golden', will be available in build *201103150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/758b20711e22 User: Marek Fukala <mfukala@netbeans.org> Log: #196632 - Unknown attribute breaks other editor functionality Definitely works now. No other issues as far as I can see. Many thanks! Vladimire, can you please verify? Thanks. verified fixed in 7.0 http://hg.netbeans.org/releases/rev/8c3be0c769e0 |
Created attachment 106945 [details] Testcase If a tag has an unknown atribute but otherwise the file is valid then the editor shows an error not a warning as in IDE 6.9.1 I cannot avoid unknown attributes avoid because these are used by Dojo etc. It appears that the annotations that contract and expand elements in a tree like fashion are missing as a result, and the file is invalid. Sure it is not completely valid but the behavior of the editor should not be affected.