diff --git a/spec/fixtures/epubcheck-4.2.1/CHANGELOG.txt b/spec/fixtures/epubcheck-4.2.2/CHANGELOG.txt
similarity index 94%
rename from spec/fixtures/epubcheck-4.2.1/CHANGELOG.txt
rename to spec/fixtures/epubcheck-4.2.2/CHANGELOG.txt
index 328e8ae..4de6b64 100644
--- a/spec/fixtures/epubcheck-4.2.1/CHANGELOG.txt
+++ b/spec/fixtures/epubcheck-4.2.2/CHANGELOG.txt
@@ -1,15 +1,29 @@
# EPUBCheck change log
-
-## [4.2.1](https://github.com/w3c/epubcheck/compare/v4.2.0...v4.2.1) (2019-05-20)
+
+# [4.2.2](https://github.com/w3c/epubcheck/compare/v4.2.1...v4.2.2) (2019-07-18)
This is the latest **production-ready** release of EPUBCheck, which provides complete support for checking conformance to the [EPUB 3.2](https://w3c.github.io/publ-epub-revision/epub32/spec/epub-spec.html) family of specifications.
-Version 4.2.1 is a maintenance release which fixes an issue with the `doc-endnote` DPUB ARIA role (see details below).
+Version 4.2.2 is a maintenance release which reverts the `toc` navigation order check to a mere `WARNING` (it was previously an `ERROR`), following the [recent EPUB CG discussion](https://www.w3.org/2019/07/11-epub3cg-minutes.html). It also includes new translations, notably for Traditional Chinese (thank you @davidmaxlee!).
This release was made by the DAISY Consortium, for the W3C. Many thanks to everyone who contributed!
-This EPUBCheck version is also available in the Maven Central Repository as [`org.w3c:epubcheck:4.2.1`](https://search.maven.org/artifact/org.w3c/epubcheck/4.2.1/jar).
+This EPUBCheck version is also available in the Maven Central Repository as [`org.w3c:epubcheck:4.2.2`](https://search.maven.org/artifact/org.w3c/epubcheck/4.2.2/jar).
+
+
+### Localization
+
+* complete translation for Traditional Chinese (+ Danish/German/Korean tweaks) ([#1058](https://github.com/w3c/epubcheck/issues/1058)) ([64558be](https://github.com/w3c/epubcheck/commit/64558be)), closes [#1054](https://github.com/w3c/epubcheck/issues/1054)
+
+
+### Features
+
+* revert the spine/toc nav order check to a `WARNING` ([#1056](https://github.com/w3c/epubcheck/issues/1056)) ([1f6a882](https://github.com/w3c/epubcheck/commit/1f6a882)), closes [#1036](https://github.com/w3c/epubcheck/issues/1036)
+
+
+
+## [4.2.1](https://github.com/w3c/epubcheck/compare/v4.2.0...v4.2.1) (2019-05-20)
### Bug Fixes
diff --git a/spec/fixtures/epubcheck-4.2.1/LICENSE.txt b/spec/fixtures/epubcheck-4.2.2/LICENSE.txt
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/LICENSE.txt
rename to spec/fixtures/epubcheck-4.2.2/LICENSE.txt
diff --git a/spec/fixtures/epubcheck-4.2.1/README.txt b/spec/fixtures/epubcheck-4.2.2/README.txt
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/README.txt
rename to spec/fixtures/epubcheck-4.2.2/README.txt
diff --git a/spec/fixtures/epubcheck-4.2.1/THIRD-PARTY.txt b/spec/fixtures/epubcheck-4.2.2/THIRD-PARTY.txt
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/THIRD-PARTY.txt
rename to spec/fixtures/epubcheck-4.2.2/THIRD-PARTY.txt
diff --git a/spec/fixtures/epubcheck-4.2.1/epubcheck.jar b/spec/fixtures/epubcheck-4.2.2/epubcheck.jar
similarity index 85%
rename from spec/fixtures/epubcheck-4.2.1/epubcheck.jar
rename to spec/fixtures/epubcheck-4.2.2/epubcheck.jar
index 18a9d12..d5718e2 100644
Binary files a/spec/fixtures/epubcheck-4.2.1/epubcheck.jar and b/spec/fixtures/epubcheck-4.2.2/epubcheck.jar differ
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/Saxon-HE-9.8.0-8.jar b/spec/fixtures/epubcheck-4.2.2/lib/Saxon-HE-9.8.0-8.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/Saxon-HE-9.8.0-8.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/Saxon-HE-9.8.0-8.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/animal-sniffer-annotations-1.14.jar b/spec/fixtures/epubcheck-4.2.2/lib/animal-sniffer-annotations-1.14.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/animal-sniffer-annotations-1.14.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/animal-sniffer-annotations-1.14.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/checker-compat-qual-2.0.0.jar b/spec/fixtures/epubcheck-4.2.2/lib/checker-compat-qual-2.0.0.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/checker-compat-qual-2.0.0.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/checker-compat-qual-2.0.0.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/common-image-3.4.1.jar b/spec/fixtures/epubcheck-4.2.2/lib/common-image-3.4.1.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/common-image-3.4.1.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/common-image-3.4.1.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/common-io-3.4.1.jar b/spec/fixtures/epubcheck-4.2.2/lib/common-io-3.4.1.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/common-io-3.4.1.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/common-io-3.4.1.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/common-lang-3.4.1.jar b/spec/fixtures/epubcheck-4.2.2/lib/common-lang-3.4.1.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/common-lang-3.4.1.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/common-lang-3.4.1.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/commons-compress-1.18.jar b/spec/fixtures/epubcheck-4.2.2/lib/commons-compress-1.18.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/commons-compress-1.18.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/commons-compress-1.18.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/error_prone_annotations-2.1.3.jar b/spec/fixtures/epubcheck-4.2.2/lib/error_prone_annotations-2.1.3.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/error_prone_annotations-2.1.3.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/error_prone_annotations-2.1.3.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/guava-24.0-android.jar b/spec/fixtures/epubcheck-4.2.2/lib/guava-24.0-android.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/guava-24.0-android.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/guava-24.0-android.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/imageio-core-3.4.1.jar b/spec/fixtures/epubcheck-4.2.2/lib/imageio-core-3.4.1.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/imageio-core-3.4.1.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/imageio-core-3.4.1.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/imageio-jpeg-3.4.1.jar b/spec/fixtures/epubcheck-4.2.2/lib/imageio-jpeg-3.4.1.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/imageio-jpeg-3.4.1.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/imageio-jpeg-3.4.1.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/imageio-metadata-3.4.1.jar b/spec/fixtures/epubcheck-4.2.2/lib/imageio-metadata-3.4.1.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/imageio-metadata-3.4.1.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/imageio-metadata-3.4.1.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/isorelax-20030108.jar b/spec/fixtures/epubcheck-4.2.2/lib/isorelax-20030108.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/isorelax-20030108.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/isorelax-20030108.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/j2objc-annotations-1.1.jar b/spec/fixtures/epubcheck-4.2.2/lib/j2objc-annotations-1.1.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/j2objc-annotations-1.1.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/j2objc-annotations-1.1.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/jackson-core-asl-1.9.12.jar b/spec/fixtures/epubcheck-4.2.2/lib/jackson-core-asl-1.9.12.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/jackson-core-asl-1.9.12.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/jackson-core-asl-1.9.12.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/jackson-mapper-asl-1.9.12.jar b/spec/fixtures/epubcheck-4.2.2/lib/jackson-mapper-asl-1.9.12.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/jackson-mapper-asl-1.9.12.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/jackson-mapper-asl-1.9.12.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/jing-20181222.jar b/spec/fixtures/epubcheck-4.2.2/lib/jing-20181222.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/jing-20181222.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/jing-20181222.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/jsr305-1.3.9.jar b/spec/fixtures/epubcheck-4.2.2/lib/jsr305-1.3.9.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/jsr305-1.3.9.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/jsr305-1.3.9.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/sac-1.3.jar b/spec/fixtures/epubcheck-4.2.2/lib/sac-1.3.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/sac-1.3.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/sac-1.3.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/lib/xercesImpl-2.9.1.jar b/spec/fixtures/epubcheck-4.2.2/lib/xercesImpl-2.9.1.jar
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/lib/xercesImpl-2.9.1.jar
rename to spec/fixtures/epubcheck-4.2.2/lib/xercesImpl-2.9.1.jar
diff --git a/spec/fixtures/epubcheck-4.2.1/licenses/Apache-2.0.txt b/spec/fixtures/epubcheck-4.2.2/licenses/Apache-2.0.txt
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/licenses/Apache-2.0.txt
rename to spec/fixtures/epubcheck-4.2.2/licenses/Apache-2.0.txt
diff --git a/spec/fixtures/epubcheck-4.2.1/licenses/BSD-3-Clause.txt b/spec/fixtures/epubcheck-4.2.2/licenses/BSD-3-Clause.txt
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/licenses/BSD-3-Clause.txt
rename to spec/fixtures/epubcheck-4.2.2/licenses/BSD-3-Clause.txt
diff --git a/spec/fixtures/epubcheck-4.2.1/licenses/MPL-1.0.txt b/spec/fixtures/epubcheck-4.2.2/licenses/MPL-1.0.txt
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/licenses/MPL-1.0.txt
rename to spec/fixtures/epubcheck-4.2.2/licenses/MPL-1.0.txt
diff --git a/spec/fixtures/epubcheck-4.2.1/licenses/W3C.txt b/spec/fixtures/epubcheck-4.2.2/licenses/W3C.txt
similarity index 100%
rename from spec/fixtures/epubcheck-4.2.1/licenses/W3C.txt
rename to spec/fixtures/epubcheck-4.2.2/licenses/W3C.txt
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 734d021..5923297 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -32,7 +32,7 @@ def capture(stream)
end
def epubcheck(epubname)
- jar = File.join(File.dirname(__FILE__), 'fixtures/epubcheck-4.2.1/epubcheck.jar')
+ jar = File.join(File.dirname(__FILE__), 'fixtures/epubcheck-4.2.2/epubcheck.jar')
stdout = capture(:stdout) do
puts %x(java -Duser.language=en -jar #{jar} #{epubname} 2>&1)
end