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.
If I use following in HTML file <myDirective></myDirective> and click on bulb icon and select "Add element mydirective to the project's custom elements", then "mydirective" is added (all lower case) and the error does not go away. If I manually edit nbproject/customs.json and change cases, it works OK so the problem is with adding elements. Product Version: NetBeans IDE 8.0 (Build 201403101706) Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 1.1 Java: 1.7.0_60; Java HotSpot(TM) Client VM 24.60-b09 Runtime: Java(TM) SE Runtime Environment 1.7.0_60-b19 System: Linux version 3.13.0-29-generic running on i386; UTF-8; en_US (nb)
changeset: 276044:9d7d3fda6a49 summary: #245025 - Adding custom elements is case insensitive Fixed by adding a little heuristic - the error which the hint is based on is from the nu.validator which unfortunately converts the case by itself. So now the code tries to get the document text at the error position and extract the correct element name. I hope this will work in most cases. I completely forgot how the custom html content support is cool :-)))
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9d7d3fda6a49 User: Marek Fukala <mfukala@netbeans.org> Log: #245025 - Adding custom elements is case insensitive
Works for me, thank you Product Version: NetBeans IDE Dev (Build 201407280405) Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)