A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/311 below:

[jsp] Parse error on HTML boolean attribute · Issue #311 · pmd/pmd · GitHub

Description:
When parsing a Jsp containing HTML which contains boolean attributes, the following error message is produced:

Caused by: net.sourceforge.pmd.lang.jsp.ast.ParseException: Encountered " <ATTR_NAME> "name "" at line 8, column 39.
Was expecting:
    "=" ...

Code Sample demonstrating the issue:
In the below, the attribute checked causes a parse error

<label><input type='checkbox' checked name=cheese disabled=""> Cheese</label>

Running PMD through: Ant


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4