Latest release

15 January 2017

@sideshowbarker sideshowbarker released this Jan 15, 2017 · 1 commit to master since this release

15 January 2017.

This is an important follow-up to the 17.0.1 release. Due to an oversight, the vnu.jar command-line checker in the 17.0.1 release didn’t properly support checking of custom elements. This release fixes that, as well as adding support that was also lacking in the 17.0.1 command-line checker for excluding template subtree contents from checking.

This release otherwise adds no substantive changes beyond those in the 17.0.1 release, the notes for which follow.


This is a major release which adds two important new features: language detection and support for custom elements. The custom-elements feature makes the checker allow element names containing hyphens (e.g., <foo-bar>). The language-detection feature guesses the language of a document by analyzing its content, compares the detected language to the value of the lang attribute of the html element, and then reports a warning if the lang value doesn’t match the detected language (or if the lang attribute is missing). For vnu.jar, a new --no-langdetect option has been added to disable that language-detection feature. An option has also been added to allow checking of remote error pages (404s and other non-200 responses). Other important changes in this release include: ARIA 1.1 roles/states/properties are now allowed, as well as div in dl (to group dt+dd sets), link[rel=preload] and link[nonce] and referrerpolicy, h1-h6 & hgroup in legend, script[type=module], <video playsinline>, and <iframe allowusermedia>. Also with the release, any content is now allowed in template subtrees (they are now excluded from checking), viewport values that restrict resizing now cause a warning, comments before the doctype no longer cause a warning, and vnu.jar now by default ignores any SSL certificate errors when checking remote documents (use the -Dnu.validator.xml.promiscuous-ssl=false Java system property to override that default).

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#1701

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

Downloads

08 January 2017

@sideshowbarker sideshowbarker released this Jan 8, 2017 · 12 commits to master since this release

08 January 2017.

This is a major release which adds two important new features: language detection and support for custom elements. The custom-elements feature makes the checker allow element names containing hyphens (e.g., <foo-bar>). The language-detection feature guesses the language of a document by analyzing its content, compares the detected language to the value of the lang attribute of the html element, and then reports a warning if the lang value doesn’t match the detected language (or if the lang attribute is missing). For vnu.jar, a new --no-langdetect option has been added to disable that language-detection feature. An option has also been added to allow checking of remote error pages (404s and other non-200 responses). Other important changes in this release include: ARIA 1.1 roles/states/properties are now allowed, as well as div in dl (to group dt+dd sets), link[rel=preload] and link[nonce] and referrerpolicy, h1-h6 & hgroup in legend, script[type=module], <video playsinline>, and <iframe allowusermedia>. Also with the release, any content is now allowed in template subtrees (they are now excluded from checking), viewport values that restrict resizing now cause a warning, comments before the doctype no longer cause a warning, and vnu.jar now by default ignores any SSL certificate errors when checking remote documents (use the -Dnu.validator.xml.promiscuous-ssl=false Java system property to override that default).

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#1701

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

Downloads

29 June 2016

@sideshowbarker sideshowbarker released this Jun 29, 2016 · 358 commits to master since this release

29 June 2016.
This release includes a change to make <!--> (IE conditional comment end) a non-error again, as well as a change to ensure that in output from the JSON/gnu message formats, each message emitted always includes the URL/filename of the document being checked, along with a change to cause <template> contents to be hidden from outline views.

The list of substantive changes otherwise remains the same as in the 16.6.18 release, which makes <link rel=stylesheet> within the body a non-error, as well as also making the link rel values dns-prefetch, preconnect, prefetch, preload, and prerender non-errors (including in the body), and making a[rel=noopener] and area[rel=noopener] non-errors. In addition: <style scoped> and <iframe seamless> are now errors (because they’ve been dropped from the HTML spec), using multiple <meta charset> elements is now an error, allow-presentation & allow-orientation-lock are now allowed values for iframe[sandbox], and complete checking for the (complicated) microsyntax of the autocomplete attribute is now performed. Finally, comment checking has been experimentally changed in this release (to match a recent change to the HTML spec) such that the checker no longer emits errors for "--" (consecutive hyphens) in a comment but does now emit specific error messages for "<!--" (nested comment) within a comment, and "--!>" at the end of a comment (should be just "-->").

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#16629

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

Downloads

20 June 2016

@sideshowbarker sideshowbarker released this Jun 20, 2016 · 367 commits to master since this release

20 June 2016.
This release fixes an existing issue that made the release jars unusable with Scala sbt test.

The release also adds a new “Heading-level outline” in the checker Web UI. That outline shows the heading hierarchy as it will be experienced by users of tools (such screen readers) which do not support the outline algorithm in the HTML spec. That is, it shows the document heading hierarchy strictly just by heading level (and flags any heading levels missing from that hierarchy).

The list of substantive changes otherwise remains the same as in the 16.6.18 release:

This release makes <link rel=stylesheet> within the body a non-error, as well as also making the link rel values dns-prefetch, preconnect, prefetch, preload, and prerender non-errors (including in the body), and making a[rel=noopener] and area[rel=noopener] non-errors. In addition: <style scoped> and <iframe seamless> are now errors (because they’ve been dropped from the HTML spec), using multiple <meta charset> elements is now an error, allow-presentation & allow-orientation-lock are now allowed values for iframe[sandbox], and complete checking for the (complicated) microsyntax of the autocomplete attribute is now performed. Finally, comment checking has been experimentally changed in this release (to match a recent change to the HTML spec) such that the checker no longer emits errors for "--" (consecutive hyphens) in a comment but does now emit specific error messages for "<!--" (nested comment) within a comment, and "--!>" at the end of a comment (should be just "-->").

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#16620

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

Downloads

18 June 2016

@sideshowbarker sideshowbarker released this Jun 18, 2016 · 370 commits to master since this release

18 June 2016.
This release makes <link rel=stylesheet> within the body a non-error, as well as also making the link rel values dns-prefetch, preconnect, prefetch, preload, and prerender non-errors (including in the body), and making a[rel=noopener] and area[rel=noopener] non-errors. In addition: <style scoped> and <iframe seamless> are now errors (because they’ve been dropped from the HTML spec), using multiple <meta charset> elements is now an error, allow-presentation & allow-orientation-lock are now allowed values for iframe[sandbox], and complete checking for the (complicated) microsyntax of the autocomplete attribute is now performed. Finally, comment checking has been experimentally changed in this release (to match a recent change to the HTML spec) such that the checker no longer emits errors for "--" (consecutive hyphens) in a comment but does now emit specific error messages for "<!--" (nested comment) within a comment, and "--!>" at the end of a comment (should be just "-->").

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#16618

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

Downloads

03 March 2016

@sideshowbarker sideshowbarker released this Mar 3, 2016 · 418 commits to master since this release

3 March 2016.
This release fixes the checker behavior such that no error is incorrectly emitted any longer for minlength attributes on input[type=text] and input[type=password], and no error is incorrectly emitted any longer for integrity attributes containing multiple values. Also added in this release is a new error for the case where a <time> element has children but no datetime attribute. The CSP-checking behavior was also improved.

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#1633

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of HTML documents from the command line and from other scripts/apps, as documented at https://validator.github.io, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

Downloads

01 January 2016

@sideshowbarker sideshowbarker released this Jan 1, 2016 · 494 commits to master since this release

1 January 2016.
Java8 is now required to run the checker jar and service. This release fixes a
long-standing bug such that errors are no longer reported for ampersands in
cases that the spec does not define as invalid; for example, an error will no
longer be reported for a case like <a href="foo/?bar=1&baz=2">. Also new in
this release is support for Content Security Policy syntax checking in values of
content attributes in <meta http-equiv=content-security-policy content="…">
elements as well as in Content-Security-Policy HTTP headers, and support for the
CSP-related nonce attribute. Support for Subresource Integrity-related syntax
checking has also been added, for the integrity attribute. Other changes
include a refinement of error-reporting for cases of URLs that contain invalid
characters, so that the error message now includes an explicit indication of
which specific characters in the URL are invalid. Various refinements to
checking of ARIA role attributes have also been made.

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#1611

The files in this release provide a portable standalone version of the Nu Html
Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of HTML documents from the command
line and from other scripts/apps, as documented at http://validator.github.io,
or as a self-contained service for browser-based checking of HTML documents over
the Web—similar to http://html5.validator.nu/ and http://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such
as Tomcat, as documented at https://validator.github.io/validator/#servlet.

Downloads

29 June 2015

@sideshowbarker sideshowbarker released this Jun 29, 2015 · 574 commits to master since this release

29 June 2015.
This release fixes a bug that caused a spurious error to be emitted for ID
references in aria-controls and aria-labelledby attributes with trailing
whitespace, along with fixing a bug that prevented the command-line checker
from being able to check URLs when run in a Windows environment. It
adds spec-conformant support for <rb> and <rtc> elements and updates
checking of the accept attribute for input[type=file] to allow file
extensions in the value (per spec). It makes the use of data-* attributes
for SVG & MathML elements non-errors, as well as the use of HTML content in
the SVG <desc>, <title>, and <metadata> elements. And it adds error
messages for deprecated CSS media types/features (per spec).

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#15629

The files in this release provide a portable standalone version of the Nu Html
Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of HTML documents from the command
line and from other scripts/apps, as documented at http://validator.github.io,
or as a self-contained service for browser-based checking of HTML documents over
the Web—similar to http://html5.validator.nu/ and http://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such
as Tomcat, as documented at https://validator.github.io/validator/#servlet.

Downloads

12 April 2015

@sideshowbarker sideshowbarker released this Apr 12, 2015 · 610 commits to master since this release

12 April 2015.
What’s new: This release fixes two regressions in the 15.3.28 release: A bug that caused spurious errors for input[type=email], and a dependency-configuration issue that broke gzip handling in the the war release. Previous “What’s new” notes from the 15.3.28 release: This release drops all meta[name] checking and adds: improved error messages for input[type] attribute mismatches; support for checking object[typemustmatch]; new error message for title elements that only have whitespace; new useragent request param, to allow you to specify any arbitrary user-agent string for the checker to use when fetching remote documents; new nu.validator.messages.limit Java system prop to control limit on maximum number of messages the checker service will report for a single doc before stopping with a "Too many messages" fatal error. This release also adds full support for checking documents at SNI origins & changes the API/CLI (command-line interface) to emit source extracts + “hilite” info when you set the --format option to json, xml, xhtml, or html & fixes regression that caused CLI/API to parse .xhtml docs as text/html instead of using the XML parser.
More: https://github.com/validator/validator/blob/master/CHANGELOG.md#15412
More: https://github.com/validator/validator/blob/master/CHANGELOG.md#15328

The files in this release provide a portable standalone version of the Nu Html
Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of HTML documents from the command
line and from other scripts/apps, as documented at http://validator.github.io,
or as a self-contained service for browser-based checking of HTML documents over
the Web—similar to http://html5.validator.nu/ and http://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such
as Tomcat, as documented at https://validator.github.io/validator/#servlet.

Downloads

15.3.28

@sideshowbarker sideshowbarker released this Mar 28, 2015 · 625 commits to master since this release

28 March 2015
What’s new: This release drops all meta[name] checking and adds: improved error messages for input[type] attribute mismatches; support for checking object[typemustmatch]; new error message for title elements that only have whitespace; new useragent request param, to allow you to specify any arbitrary user-agent string for the checker to use when fetching remote documents; new nu.validator.messages.limit Java system prop to control limit on maximum number of messages the checker service will report for a single doc before stopping with a “Too many messages” fatal error. This release also adds full support for checking documents at SNI origins & changes the API/CLI to emit source extracts + “hilite” info when you set the --format option to json, xml, xhtml, or html & fixes regression that caused CLI/API to parse .xhtml docs as text/html instead of using the XML parser.
More: https://github.com/validator/validator/blob/master/CHANGELOG.md#15328

The files in this release provide a portable standalone version of the Nu Html
Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of HTML documents from the command
line and from other scripts/apps, as documented at http://validator.github.io,
or as a self-contained service for browser-based checking of HTML documents over
the Web—similar to http://html5.validator.nu/ and http://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such
as Tomcat, as documented at https://validator.github.io/validator/#servlet.

Downloads