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.
Created attachment 160313 [details] Bad value " " for attribute "lang" ... error screenshot Steps to reproduce: 1. Create a jsp, e.g.: ------- <%@page pageEncoding="UTF-8" contentType="text/html" %> <% private String getLanguage() { return "de"; }; %> <html lang="<%= getLanguage() %>"> <head> <title></title> </head> <body></body> </html> ------- 2. The IDE highlights the line with the html opening tag '<html lang="<%= getLanguage() %>">' and reders the following error upon hoovering: > Bad value " " for attribute "lang" on element "html": The language subtag " " is not a valid language subtag. > Syntax of language tag: > [...] (See screenshot)