• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pmd / pmd / 994
80%

Build:
DEFAULT BRANCH: main
Ran 20 Nov 2026 01:49PM UTC
Jobs 1
Files 2225
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Nov 2026 01:15PM UTC coverage: 80.27%. Remained the same
994

push

github

web-flow
[jsp] Fix #5092: Allow XML declaration and doctype after other content (#7252)

The prolog of a JSP only accepted comments in front of the doctype
declaration, so the very common

    <%@ page contentType="text/html" %>
    <!DOCTYPE html>

failed with `Encountered "<!DOCTYPE"`.

Instead of extending the prolog with a list of JSP constructs, which
can never be complete, accept Declaration and DoctypeDeclaration as
regular content elements. According to the Jakarta Pages grammar there
is no prolog; both are just template text that may appear anywhere.

The prolog is unchanged, so ASTs of files that parsed before stay the
same. Directives before the doctype stay under Content, so JspEncoding
still finds the page directive.

Co-authored-by: Andreas Dangel <andreas.dangel@pmd-code.org>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

20804 of 26898 branches covered (77.34%)

Branch coverage included in aggregate %.

44336 of 54253 relevant lines covered (81.72%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 994.1 20 Nov 2026 01:49PM UTC 2225
80.27
GitHub Action Run
Source Files on build 994
  • Tree
  • List 2225
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #994
  • cb784419 on github
  • Prev Build on main (#992)
  • Next Build on main (#995)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc