Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 196632 - Unknown attribute breaks other editor functionality
Unknown attribute breaks other editor functionality
Product: web
Classification: Unclassified
Component: HTML Editor
PC Windows Vista
: P2 (vote)
: 7.0
Assigned To: Marek Fukala
Depends on:
  Show dependency treegraph
Reported: 2011-03-12 23:55 UTC by bht
Modified: 2011-03-17 15:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

Testcase (512 bytes, text/html)
2011-03-12 23:55 UTC, bht

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2011-03-12 23:55:43 UTC
Created attachment 106945 [details]

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.
Comment 1 Marek Fukala 2011-03-14 10:15:34 UTC
still valid in 7.0, the annotation type is error, but it's supposed to be warning only... strange
Comment 2 Marek Fukala 2011-03-14 13:27:38 UTC
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.
Comment 3 Quality Engineering 2011-03-15 09:49:29 UTC
Integrated into 'main-golden', will be available in build *201103150400* on (upload may still be in progress)
User: Marek Fukala <>
Log: #196632 - Unknown attribute breaks other editor functionality
Comment 4 bht 2011-03-16 06:47:06 UTC
Definitely works now. No other issues as far as I can see.

Many thanks!
Comment 5 Marek Fukala 2011-03-16 13:53:32 UTC
Vladimire, can you please verify? Thanks.
Comment 6 Vladimir Riha 2011-03-16 14:16:32 UTC
Comment 7 Marek Fukala 2011-03-17 15:12:29 UTC
fixed in 7.0

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo