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.
1. Create new Web Project. 2. Create new Tag Library Descriptor and accept defaults. 3. Create new source package. 4. Create new Tag Handler and select TLD created in step 2. 5. Create new Attribute and name it newAttribute and select "value evaluated at JSP translation time" and click OK. 6. Notice in table that "Request Time Eval." has value of "false" and click Finish. 7. Look at TLD created in step 2 and notice <rtexprvalue> is "true" but is should be false. Result: <rtexprvalue>true</rtexprvalue> Expected: <rtexprvalue>flase</rtexprvalue> Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 2 Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b15 System: Windows 7 version 6.1 running on amd64; UTF8; en_US (nb) Also: Product Version: NetBeans IDE Dev (Build 201506060001) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b15 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Fixed in web-main d4de880e709b. Please verify. This actually looks like a bug in JSP 2.1 spec (TLD xsd does not specify minOccurs=0 for rtexprvalue).
Integrated into 'main-silver', will be available in build *201507100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d4de880e709b User: Petr Hejl <phejl@netbeans.org> Log: #252857 - Tag Handler Wizard: Attribute's rtexprvalue is always created "true" in TLD