epubcheck-ruby 4.0.2 → 4.2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +5 -5
  2. data/.github/workflows/ruby.yml +25 -0
  3. data/README.md +32 -1
  4. data/Rakefile +9 -1
  5. data/epubcheck-ruby.gemspec +5 -4
  6. data/exe/epubcheck +1 -0
  7. data/jar/epubcheck-4.2.4/CHANGELOG.txt +254 -0
  8. data/jar/epubcheck-4.2.4/LICENSE.txt +28 -0
  9. data/jar/epubcheck-4.2.4/README.txt +105 -0
  10. data/jar/epubcheck-4.2.4/THIRD-PARTY.txt +66 -0
  11. data/jar/epubcheck-4.2.4/epubcheck.jar +0 -0
  12. data/jar/epubcheck-4.2.4/lib/Saxon-HE-9.8.0-8.jar +0 -0
  13. data/jar/epubcheck-4.2.4/lib/animal-sniffer-annotations-1.14.jar +0 -0
  14. data/jar/epubcheck-4.2.4/lib/checker-compat-qual-2.0.0.jar +0 -0
  15. data/jar/epubcheck-4.2.4/lib/common-image-3.4.1.jar +0 -0
  16. data/jar/epubcheck-4.2.4/lib/common-io-3.4.1.jar +0 -0
  17. data/jar/epubcheck-4.2.4/lib/common-lang-3.4.1.jar +0 -0
  18. data/jar/epubcheck-4.2.4/lib/commons-compress-1.20.jar +0 -0
  19. data/jar/epubcheck-4.2.4/lib/error_prone_annotations-2.1.3.jar +0 -0
  20. data/jar/epubcheck-4.2.4/lib/guava-24.1.1-android.jar +0 -0
  21. data/jar/epubcheck-4.2.4/lib/imageio-core-3.4.1.jar +0 -0
  22. data/jar/epubcheck-4.2.4/lib/imageio-jpeg-3.4.1.jar +0 -0
  23. data/jar/epubcheck-4.2.4/lib/imageio-metadata-3.4.1.jar +0 -0
  24. data/jar/epubcheck-4.2.4/lib/isorelax-20030108.jar +0 -0
  25. data/jar/epubcheck-4.2.4/lib/j2objc-annotations-1.1.jar +0 -0
  26. data/jar/{epubcheck-4.0.2 → epubcheck-4.2.4}/lib/jackson-core-asl-1.9.12.jar +0 -0
  27. data/jar/{epubcheck-4.0.2 → epubcheck-4.2.4}/lib/jackson-mapper-asl-1.9.12.jar +0 -0
  28. data/jar/epubcheck-4.2.4/lib/jing-20181222.jar +0 -0
  29. data/jar/epubcheck-4.2.4/lib/jsr305-1.3.9.jar +0 -0
  30. data/jar/{epubcheck-4.0.2 → epubcheck-4.2.4}/lib/sac-1.3.jar +0 -0
  31. data/jar/epubcheck-4.2.4/lib/xercesImpl-2.9.1.jar +0 -0
  32. data/jar/{epubcheck-4.0.2 → epubcheck-4.2.4}/licenses/Apache-2.0.txt +0 -0
  33. data/jar/{epubcheck-4.0.2 → epubcheck-4.2.4}/licenses/BSD-3-Clause.txt +0 -0
  34. data/jar/{epubcheck-4.0.2 → epubcheck-4.2.4}/licenses/MPL-1.0.txt +0 -0
  35. data/jar/{epubcheck-4.0.2 → epubcheck-4.2.4}/licenses/W3C.txt +0 -0
  36. data/lib/epubcheck/ruby/cli.rb +1 -1
  37. data/lib/epubcheck/ruby/version.rb +1 -1
  38. metadata +53 -31
  39. data/jar/epubcheck-4.0.2/COPYING.txt +0 -19
  40. data/jar/epubcheck-4.0.2/README.txt +0 -60
  41. data/jar/epubcheck-4.0.2/THIRD-PARTY.txt +0 -44
  42. data/jar/epubcheck-4.0.2/epubcheck.jar +0 -0
  43. data/jar/epubcheck-4.0.2/lib/Saxon-HE-9.5.1-5.jar +0 -0
  44. data/jar/epubcheck-4.0.2/lib/common-image-3.1.2.jar +0 -0
  45. data/jar/epubcheck-4.0.2/lib/common-io-3.1.2.jar +0 -0
  46. data/jar/epubcheck-4.0.2/lib/common-lang-3.1.2.jar +0 -0
  47. data/jar/epubcheck-4.0.2/lib/commons-compress-1.5.jar +0 -0
  48. data/jar/epubcheck-4.0.2/lib/guava-14.0.1.jar +0 -0
  49. data/jar/epubcheck-4.0.2/lib/imageio-core-3.1.2.jar +0 -0
  50. data/jar/epubcheck-4.0.2/lib/imageio-jpeg-3.1.2.jar +0 -0
  51. data/jar/epubcheck-4.0.2/lib/imageio-metadata-3.1.2.jar +0 -0
  52. data/jar/epubcheck-4.0.2/lib/jing-20120724.0.0.jar +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9daa189c6532de3ff1549767dd2c391358c77207
4
- data.tar.gz: bab3b93d2e4b945f8a9ca88c8c3ba1c1843cc1a5
2
+ SHA256:
3
+ metadata.gz: 483d121145c42b6b0cb2c06eaefe4666529713a6dc986c8c602c740886ec3b35
4
+ data.tar.gz: 2267a2f28dcba53d6f10bfa006c227472d68e6a8e57aa42deab7996628579489
5
5
  SHA512:
6
- metadata.gz: 1454c5fcfc1fa57da03e94c9a9e798141b8c8bb66205421396b8faaf41a1258b1743cd5cfe06e8ec10c9a11025586fc225736ecdd5984ada073a61f2330e5fd8
7
- data.tar.gz: 2ef1b34b4d2e0b5360886d594de7282e4cc041e7771aabb8fc38dbdd893d20043074d9afd4d35895eda24d5e3eca719c72579b6f63ece5b676f60dbfb5b97fc4
6
+ metadata.gz: d2be7080359d55742b16c81ef79d5621a68abef111df3084edd8c55c76e8acb7ec6e1f0e4363daee211868fc1cc6b59bffa3c0201733af39adb045f40d955020
7
+ data.tar.gz: 04754eb1294789d50463230b6b34bb0c09b57ceb47b7d86843fd02c213723e3786c5e17ef0084509069707594f0d01ac2b9de6909f261192045aee205a0d8572
@@ -0,0 +1,25 @@
1
+ name: Ruby
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ build:
7
+ strategy:
8
+ matrix:
9
+ ruby: [2.4, 2.5, 2.6, 2.7, jruby]
10
+ platform: [ubuntu-latest, macos-latest, windows-latest]
11
+
12
+ runs-on: ${{ matrix.platform }}
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Ruby
17
+ uses: eregon/use-ruby-action@master
18
+ with:
19
+ ruby-version: ${{ matrix.ruby }}
20
+ - name: Build
21
+ run: |
22
+ gem install bundler
23
+ bundle install --jobs 4 --retry 3
24
+ - name: Test
25
+ run: bundle exec rake test
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # Epubcheck::Ruby
2
2
 
3
- This rubygem provide simple wrapper command of epubcheck, epub cheker library in Java by IDPF (https://github.com/IDPF/epubcheck)
3
+ [![Gem Version](https://badge.fury.io/rb/epubcheck-ruby.svg)](https://badge.fury.io/rb/epubcheck-ruby)
4
+ [![GitHub Actions Status](https://github.com/takahashim/epubcheck-ruby/workflows/Ruby/badge.svg)](https://github.com/takahashim/epubcheck-ruby/actions?query=workflow%3ARuby)
5
+
6
+ This rubygem provide simple wrapper command of EPUBCheck, epub cheker library in Java by IDPF (https://github.com/w3c/epubcheck)
4
7
 
5
8
  ## Usage
6
9
 
@@ -31,6 +34,34 @@ After checking out the repo, run `bin/setup` to install dependencies. You can al
31
34
 
32
35
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
33
36
 
37
+ ## History
38
+
39
+ ### v4.2.4.0
40
+
41
+ * support EPUBCheck 4.2.4
42
+
43
+ ### v4.2.2.0
44
+
45
+ * support EPUBCheck 4.2.2
46
+
47
+ ### v4.1.1.0
48
+
49
+ * support EPUBCheck 4.1.1
50
+
51
+ ### v4.1.0.0
52
+
53
+ * support EPUBCheck 4.1.0
54
+ * update document to use `EPUBCheck` instead of `epubcheck` (class name in Ruby is not changed)
55
+
56
+ ### v4.0.2.1
57
+
58
+ * exit with original epubcheck command status (thx @hanachin)
59
+ * add tests with test-unit
60
+
61
+ ### v4.0.2
62
+
63
+ * initial release
64
+
34
65
  ## Contributing
35
66
 
36
67
  Bug reports and pull requests are welcome on GitHub at https://github.com/takahashim/epubcheck-ruby.
data/Rakefile CHANGED
@@ -1,2 +1,10 @@
1
1
  require "bundler/gem_tasks"
2
- task :default => :spec
2
+ require "rake/testtask"
3
+ task :default => :test
4
+
5
+ Rake::TestTask.new do |t|
6
+ t.libs << "test"
7
+ t.test_files = FileList['test/test_*.rb']
8
+ t.verbose = true
9
+ end
10
+
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["takahashim"]
10
10
  spec.email = ["takahashimm@gmail.com"]
11
11
 
12
- spec.summary = %q{wrapper command of epubcheck (IDPF)}
13
- spec.description = %q{wrapper command of epubcheck (IDPF)}
12
+ spec.summary = %q{wrapper command of epubcheck (W3C)}
13
+ spec.description = %q{wrapper command of epubcheck (W3C)}
14
14
  spec.homepage = "https://github.com/takahashim/epubcheck-ruby"
15
15
  spec.license = "MIT"
16
16
 
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.14"
25
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "bundler", "~> 2.0"
25
+ spec.add_development_dependency "rake", "~> 12.3"
26
+ spec.add_development_dependency "test-unit"
26
27
  end
@@ -5,3 +5,4 @@ require "epubcheck/ruby/cli"
5
5
 
6
6
  cli = Epubcheck::Ruby::CLI.new
7
7
  cli.execute(ARGV)
8
+ exit($?.exitstatus)
@@ -0,0 +1,254 @@
1
+ # EPUBCheck change log
2
+
3
+ <a name="4.2.4"></a>
4
+ ## [4.2.4](https://github.com/w3c/epubcheck/compare/v4.2.3...v4.2.4) (2020-06-23)
5
+
6
+ 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.
7
+
8
+ Version 4.2.4 is a maintenance release, made by the DAISY Consortium for the W3C. Many thanks to everyone who contributed!
9
+
10
+ This EPUBCheck version is also available in the Maven Central Repository as [`org.w3c:epubcheck:4.2.4`](https://search.maven.org/artifact/org.w3c/epubcheck/4.2.4/jar).
11
+
12
+ ### Bug Fixes
13
+
14
+ * allow 'doc-dedication' role on 'aside' elements ([023b783](https://github.com/w3c/epubcheck/commit/023b783))
15
+ * allow 'doc-glossary' role on 'section' elements ([12cda43](https://github.com/w3c/epubcheck/commit/12cda43))
16
+
17
+ <a name="4.2.3"></a>
18
+ ## [4.2.3](https://github.com/w3c/epubcheck/compare/v4.2.2...v4.2.3) (2020-06-22)
19
+
20
+ ### Features
21
+
22
+ * update HTML schemas from the HTML Checker ([22fa3b1](https://github.com/w3c/epubcheck/commit/22fa3b1)), closes [#1111](https://github.com/w3c/epubcheck/issues/1111)
23
+ * downgrade PKG-012 (non-ASCII filenames) to USAGE ([f368ee5](https://github.com/w3c/epubcheck/commit/f368ee5)), closes [#1097](https://github.com/w3c/epubcheck/issues/1097) (thanks @slonopotamus!)
24
+ * downgrade RSC-004 (cannot decrypt resource) to INFO ([#1136](https://github.com/w3c/epubcheck/issues/1136)) ([e732068](https://github.com/w3c/epubcheck/commit/e732068))
25
+ * report empty `title` elements in XHTML Content Documents ([#1135](https://github.com/w3c/epubcheck/issues/1135)) ([f115730](https://github.com/w3c/epubcheck/commit/f115730)), closes [#1093](https://github.com/w3c/epubcheck/issues/1093)
26
+ * **ARIA:** allow doc-epigraph on 'section' and doc-cover on 'img' ([84a0979](https://github.com/w3c/epubcheck/commit/84a0979))
27
+ * update the XML ouput to the new JHOVE schema ([0b346fd](https://github.com/w3c/epubcheck/commit/0b346fd)) (thanks @tledoux!)
28
+
29
+ ### Bug Fixes
30
+
31
+ * avoid `OutOfMemoryError` when computing image size ([929806b](https://github.com/w3c/epubcheck/commit/929806b)) (thanks @DocJM!)
32
+ * fail gracefully when running on a non-EPUB file ([#1134](https://github.com/w3c/epubcheck/issues/1134)) ([2083f05](https://github.com/w3c/epubcheck/commit/2083f05)), closes [#1050](https://github.com/w3c/epubcheck/issues/1050)
33
+ * allow 'a11y:certifierCredential' as a link ([484786f](https://github.com/w3c/epubcheck/commit/484786f)), closes [#1140](https://github.com/w3c/epubcheck/issues/1140)
34
+ * allow foreign namespaces in EPUB 2 SVGs ([e3ffc37](https://github.com/w3c/epubcheck/commit/e3ffc37))
35
+
36
+
37
+ ### Other Improvements
38
+
39
+ * improve reporting of invalid URL host parts ([d2728ee](https://github.com/w3c/epubcheck/commit/d2728ee)), closes [#1034](https://github.com/w3c/epubcheck/issues/1034) [#1079](https://github.com/w3c/epubcheck/issues/1079)
40
+ * harmonize quotes usage in messages ([#1132](https://github.com/w3c/epubcheck/issues/1132)) ([659ab76](https://github.com/w3c/epubcheck/commit/659ab76)), closes [#1071](https://github.com/w3c/epubcheck/issues/1071)
41
+ * add an Automatic-Module-Name entry to the jar manifest ([ee06724](https://github.com/w3c/epubcheck/commit/ee06724)), closes [#1128](https://github.com/w3c/epubcheck/issues/1128) (thanks @io7m!)
42
+ * **deps** upgrade commons-compress to v1.20 to remediate CVE-2019-12402 ([928c26a](https://github.com/w3c/epubcheck/commit/928c26a)), closes [#1078](https://github.com/w3c/epubcheck/issues/1078)
43
+ * **deps** upgrade guava to v24.1.1 to remediate CVE-2018-10237 ([cec01fe](https://github.com/w3c/epubcheck/commit/cec01fe))
44
+
45
+
46
+ <a name="4.2.2"></a>
47
+ ## [4.2.2](https://github.com/w3c/epubcheck/compare/v4.2.1...v4.2.2) (2019-07-18)
48
+
49
+ ### Localization
50
+
51
+ * 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)
52
+
53
+
54
+ ### Features
55
+
56
+ * 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)
57
+
58
+
59
+ <a name="4.2.1"></a>
60
+ ## [4.2.1](https://github.com/w3c/epubcheck/compare/v4.2.0...v4.2.1) (2019-05-20)
61
+
62
+ ### Bug Fixes
63
+
64
+ * allow `doc-endnote` on `li` children of `ol` ([275fcd1](https://github.com/w3c/epubcheck/commit/275fcd1)), closes [#1041](https://github.com/w3c/epubcheck/issues/1041)
65
+ * update schemas from upstream HTML Checker ([4d5a24d](https://github.com/w3c/epubcheck/commit/4d5a24d))
66
+
67
+
68
+ <a name="4.2.0"></a>
69
+ ## [4.2.0](https://github.com/w3c/epubcheck/compare/v4.2.0-rc...v4.2.0) (2019-04-23)
70
+
71
+ ### Bug Fixes
72
+
73
+ * allow any role on `a` elem with no `href` ([b9ed8f6](https://github.com/w3c/epubcheck/commit/b9ed8f6)), closes [#1022](https://github.com/w3c/epubcheck/issues/1022)
74
+ * check trailing spaces in mimetype file ([123c69f](https://github.com/w3c/epubcheck/commit/123c69f))
75
+ * remove restrictions on MathML annotation-xml ([8a1b650](https://github.com/w3c/epubcheck/commit/8a1b650)), closes [#1024](https://github.com/w3c/epubcheck/issues/1024)
76
+ * report ZIP checks after the 'Validating…' message ([73b0ee8](https://github.com/w3c/epubcheck/commit/73b0ee8)), closes [#1025](https://github.com/w3c/epubcheck/issues/1025)
77
+
78
+ ### Features
79
+
80
+ * add new 'voicing' link relationship ([97e9f1c](https://github.com/w3c/epubcheck/commit/97e9f1c))
81
+
82
+ ### Localization
83
+
84
+ * update localizedmessages for Danish, French, German, Italian, Japanese, Korean, and Spanish. ([2f0d1716](https://github.com/w3c/epubcheck/commit/2f0d1716))
85
+
86
+
87
+ <a name="4.2.0-rc"></a>
88
+ ## [4.2.0-rc](https://github.com/w3c/epubcheck/compare/v4.2.0-beta...v4.2.0-rc) (2019-03-18)
89
+
90
+ ### Bug Fixes
91
+
92
+ * allow `epub:type` on all HTML elements ([2cafe64](https://github.com/w3c/epubcheck/commit/2cafe64)), closes [#986](https://github.com/w3c/epubcheck/issues/986)
93
+ * allow ARIA role `doc-glossary` on `section` elements ([0d9462f](https://github.com/w3c/epubcheck/commit/0d9462f)), closes [#997](https://github.com/w3c/epubcheck/issues/997)
94
+ * allow images to point to SVG fragments ([18afa9d](https://github.com/w3c/epubcheck/commit/18afa9d)), closes [#987](https://github.com/w3c/epubcheck/issues/987)
95
+ * ignore SVG view fragments when checking cross refs ([50b29f1](https://github.com/w3c/epubcheck/commit/50b29f1)), closes [#987](https://github.com/w3c/epubcheck/issues/987)
96
+ * localize singular/plurals variants in summary ([93b700f](https://github.com/w3c/epubcheck/commit/93b700f)), closes [#958](https://github.com/w3c/epubcheck/issues/958)
97
+ * parse CSS custom properties ([0036e93](https://github.com/w3c/epubcheck/commit/0036e93)), closes [#790](https://github.com/w3c/epubcheck/issues/790)
98
+ * report all `epub:type` value checks as `USAGE` ([f248483](https://github.com/w3c/epubcheck/commit/f248483)), closes [#1009](https://github.com/w3c/epubcheck/issues/1009)
99
+ * report duplicate landmarks nav entries as `ERROR` ([d7be97c](https://github.com/w3c/epubcheck/commit/d7be97c)), closes [#298](https://github.com/w3c/epubcheck/issues/298)
100
+ * revert FXL SVG rules to EPUB 3.0.1’s logic ([ced3c15](https://github.com/w3c/epubcheck/commit/ced3c15))
101
+ * revert the deprecation of `display-seq` ([f81d8b8](https://github.com/w3c/epubcheck/commit/f81d8b8)), closes [#990](https://github.com/w3c/epubcheck/issues/990)
102
+ * script data blocks don’t need to be declared ([05e5ac2](https://github.com/w3c/epubcheck/commit/05e5ac2))
103
+ * support ARIA global attributes in SVG ([56ebcd8](https://github.com/w3c/epubcheck/commit/56ebcd8)), closes [#846](https://github.com/w3c/epubcheck/issues/846)
104
+
105
+ ### Features
106
+
107
+ * allow fonts to be remote resources ([4d5a5a9](https://github.com/w3c/epubcheck/commit/4d5a5a9)), closes [#871](https://github.com/w3c/epubcheck/issues/871) [#672](https://github.com/w3c/epubcheck/issues/672)
108
+ * allow remote resources in scripted content ([1c90ae9](https://github.com/w3c/epubcheck/commit/1c90ae9)), closes [#869](https://github.com/w3c/epubcheck/issues/869)
109
+ * check duplicate IDs in the OCF encryption file ([cab45e6](https://github.com/w3c/epubcheck/commit/cab45e6)), closes [#306](https://github.com/w3c/epubcheck/issues/306)
110
+ * check image sources in `picture` and `srcset` ([11bf628](https://github.com/w3c/epubcheck/commit/11bf628)), closes [#781](https://github.com/w3c/epubcheck/issues/781)
111
+ * check that toc & page-list nav are in reading order ([8ba384f](https://github.com/w3c/epubcheck/commit/8ba384f)), closes [#888](https://github.com/w3c/epubcheck/issues/888)
112
+ * disallow remote links in toc/landmarks/page-list nav ([dd0805f](https://github.com/w3c/epubcheck/commit/dd0805f)), closes [#890](https://github.com/w3c/epubcheck/issues/890)
113
+ * report use of non-preferred Core Media Types ([ab13779](https://github.com/w3c/epubcheck/commit/ab13779)), closes [#873](https://github.com/w3c/epubcheck/issues/873)
114
+
115
+ ### Localization
116
+
117
+ * new localization: Danish ([28ef69b](https://github.com/w3c/epubcheck/commit/28ef69b), [40f7b64](https://github.com/w3c/epubcheck/commit/40f7b64))
118
+ * new localization: Chinese (Taiwan) ([46195ad](https://github.com/w3c/epubcheck/commit/46195ad))
119
+ * update localized messages for German ([40f7b64](https://github.com/w3c/epubcheck/commit/40f7b64))
120
+ * update localized messages for Italian ([d954ae7](https://github.com/w3c/epubcheck/commit/d954ae7), [864282a](https://github.com/w3c/epubcheck/commit/864282a))
121
+
122
+ Note: the new messages introduced in v4.2.0 are _not_ localized yet.
123
+
124
+
125
+ <a name="4.2.0-beta"></a>
126
+ ## [4.2.0-beta](https://github.com/w3c/epubcheck/compare/v4.1.1...v4.2.0-beta) (2019-02-25)
127
+
128
+ ### Bug Fixes
129
+
130
+ * allow foreign namespaces in SVG content documents ([ca29c89](https://github.com/w3c/epubcheck/commit/ca29c89)), closes [#491](https://github.com/w3c/epubcheck/issues/491)
131
+ * do not restrict ID refs to non-colon names ([365e6e6](https://github.com/w3c/epubcheck/commit/365e6e6)), closes [#783](https://github.com/w3c/epubcheck/issues/783)
132
+ * improve RelaxNG datatypes of date/time/duration attributes ([ef5b94c](https://github.com/w3c/epubcheck/commit/ef5b94c)), closes [#775](https://github.com/w3c/epubcheck/issues/775)
133
+ * parse boolean/enumerated HTML attributes as case-insensitive ([5b3533a](https://github.com/w3c/epubcheck/commit/5b3533a)), closes [#941](https://github.com/w3c/epubcheck/issues/941)
134
+
135
+
136
+ ### Features
137
+
138
+ * add `application/javascript` as core media type ([f4566b6](https://github.com/w3c/epubcheck/commit/f4566b6)), closes [#874](https://github.com/w3c/epubcheck/issues/874)
139
+ * add new MO-only `aside` epub:type value ([4404fff](https://github.com/w3c/epubcheck/commit/4404fff))
140
+ * allow the `Compression` element in the encryption file ([ed6f1c4](https://github.com/w3c/epubcheck/commit/ed6f1c4)), closes [#904](https://github.com/w3c/epubcheck/issues/904)
141
+ * basic schema support for HTML custom elements ([356fac0](https://github.com/w3c/epubcheck/commit/356fac0)), closes [#932](https://github.com/w3c/epubcheck/issues/932)
142
+ * implement Structure Semantics Vocab changes for EPUB 3.2 ([3454da5](https://github.com/w3c/epubcheck/commit/3454da5)), closes [#531](https://github.com/w3c/epubcheck/issues/531) [#903](https://github.com/w3c/epubcheck/issues/903) [#962](https://github.com/w3c/epubcheck/issues/962) [#963](https://github.com/w3c/epubcheck/issues/963)
143
+ * improve wording of message OPF-025 ([cecaa76](https://github.com/w3c/epubcheck/commit/cecaa76)), closes [#959](https://github.com/w3c/epubcheck/issues/959)
144
+ * remove `epubsc` from reserved prefixes ([02397ec](https://github.com/w3c/epubcheck/commit/02397ec)), closes [#875](https://github.com/w3c/epubcheck/issues/875)
145
+ * report CSS absolute/fixed positioning as USAGE ([672ac6d](https://github.com/w3c/epubcheck/commit/672ac6d)), closes [#889](https://github.com/w3c/epubcheck/issues/889)
146
+ * set reported 3.x version to "3.2" ([9965c19](https://github.com/w3c/epubcheck/commit/9965c19)), closes [#943](https://github.com/w3c/epubcheck/issues/943)
147
+ * support new rules related to FXL SVG sizing ([17f5eee](https://github.com/w3c/epubcheck/commit/17f5eee)), closes [#902](https://github.com/w3c/epubcheck/issues/902)
148
+ * suppress a couple irrelevant USAGE reports ([b342db2](https://github.com/w3c/epubcheck/commit/b342db2))
149
+ * update Jing (schema processor) to v20181222 ([cfca41b](https://github.com/w3c/epubcheck/commit/cfca41b))
150
+ * update Package vocabularies and link element checks ([99f882a](https://github.com/w3c/epubcheck/commit/99f882a)), closes [#883](https://github.com/w3c/epubcheck/issues/883) [#884](https://github.com/w3c/epubcheck/issues/884) [#885](https://github.com/w3c/epubcheck/issues/885) [#886](https://github.com/w3c/epubcheck/issues/886) [#887](https://github.com/w3c/epubcheck/issues/887)
151
+ * update recognized font Core Media types ([ac2f1bd](https://github.com/w3c/epubcheck/commit/ac2f1bd)), closes [#872](https://github.com/w3c/epubcheck/issues/872) [#339](https://github.com/w3c/epubcheck/issues/339)
152
+ * update the HTML schemas to the latest Nu HTML Checker version ([8d3c77e](https://github.com/w3c/epubcheck/commit/8d3c77e))
153
+
154
+
155
+ <a name="4.2.0-alpha-1"></a>
156
+ ## [4.2.0-alpha-1](https://github.com/w3c/epubcheck/compare/v4.1.0...v4.2.0-alpha-1) (2019-01-14)
157
+
158
+ ### Bug Fixes
159
+
160
+ * check MathML and XHTML content in epub:switch ([976b9f6](https://github.com/w3c/epubcheck/commit/976b9f6)), closes [#835](https://github.com/w3c/epubcheck/issues/835)
161
+ * messages of missing/incorrect locale cannot be translated ([91fac12](https://github.com/w3c/epubcheck/commit/91fac12))
162
+
163
+
164
+ ### Features
165
+
166
+ * add 'authority' and 'term' as valid package metadata properties ([2fe66cd](https://github.com/w3c/epubcheck/commit/2fe66cd))
167
+ * allow missing `alttext` or `annotation-xml` on MathML ([e7bdbd2](https://github.com/w3c/epubcheck/commit/e7bdbd2)), closes [#897](https://github.com/w3c/epubcheck/issues/897)
168
+ * deprecate `epub:trigger` and `epub:switch` ([08123b2](https://github.com/w3c/epubcheck/commit/08123b2)), closes [#894](https://github.com/w3c/epubcheck/issues/894) [#895](https://github.com/w3c/epubcheck/issues/895)
169
+ * report aria-describedat as an ERROR ([b4a9e7c](https://github.com/w3c/epubcheck/commit/b4a9e7c)), closes [#896](https://github.com/w3c/epubcheck/issues/896)
170
+ * update the Package Document schema for EPUB 3.2 ([1f12512](https://github.com/w3c/epubcheck/commit/1f12512)), closes [#883](https://github.com/w3c/epubcheck/issues/883) [#882](https://github.com/w3c/epubcheck/issues/882) [#881](https://github.com/w3c/epubcheck/issues/881) [#880](https://github.com/w3c/epubcheck/issues/880) [#879](https://github.com/w3c/epubcheck/issues/879) [#878](https://github.com/w3c/epubcheck/issues/878) [#877](https://github.com/w3c/epubcheck/issues/877) [#876](https://github.com/w3c/epubcheck/issues/876)
171
+ * update XHTML, SVG and MathML schemas ([47d4926](https://github.com/w3c/epubcheck/commit/47d4926)), closes [#892](https://github.com/w3c/epubcheck/issues/892) [#779](https://github.com/w3c/epubcheck/issues/779) [#896](https://github.com/w3c/epubcheck/issues/896) [#893](https://github.com/w3c/epubcheck/issues/893) [#448](https://github.com/w3c/epubcheck/issues/448)
172
+ * **API:** deprecate `EpubChecker#processEpubFile` ([3ed77fe](https://github.com/w3c/epubcheck/commit/3ed77fe))
173
+
174
+ <a name="4.1.1"></a>
175
+ ## [4.1.1](https://github.com/w3c/epubcheck/compare/v4.1.0...v4.1.1) (2019-01-22)
176
+
177
+ ### Bug Fixes
178
+
179
+ * `switch` item property doesn't apply to `svg:switch` ([91b84ad](https://github.com/w3c/epubcheck/commit/91b84ad)), closes [#857](https://github.com/w3c/epubcheck/issues/857)
180
+ * better check remote resources ([85b5f77](https://github.com/w3c/epubcheck/commit/85b5f77)), closes [#852](https://github.com/w3c/epubcheck/issues/852)
181
+ * better support the EPUB Accessibility Vocabulary ([8a9cf63](https://github.com/w3c/epubcheck/commit/8a9cf63)), closes [#810](https://github.com/w3c/epubcheck/issues/810)
182
+ * consider all `video/*` as video media types ([27ad571](https://github.com/w3c/epubcheck/commit/27ad571))
183
+ * do not check entity references in comment or CDATA ([#949](https://github.com/w3c/epubcheck/issues/949)) ([4307542](https://github.com/w3c/epubcheck/commit/4307542)), closes [#800](https://github.com/w3c/epubcheck/issues/800)
184
+ * do not report CSS 'font-size: 0' as an error ([4e17714](https://github.com/w3c/epubcheck/commit/4e17714)), closes [#922](https://github.com/w3c/epubcheck/issues/922)
185
+ * keep on processing after failing to read GIFs ([2a244e7](https://github.com/w3c/epubcheck/commit/2a244e7))
186
+ * messages of missing/incorrect locale cannot be translated ([91fac12](https://github.com/w3c/epubcheck/commit/91fac12))
187
+ * resolve relative URIs against their base ([d42ccd6](https://github.com/w3c/epubcheck/commit/d42ccd6)), closes [#527](https://github.com/w3c/epubcheck/issues/527)
188
+ * valid JPEG files were considered 'corrupted' ([c4a2cfa](https://github.com/w3c/epubcheck/commit/c4a2cfa)), closes [#850](https://github.com/w3c/epubcheck/issues/850)
189
+ * wrong report of duplicate landmarks in Nav Doc ([#942](https://github.com/w3c/epubcheck/issues/942)) ([e06a552](https://github.com/w3c/epubcheck/commit/e06a552)), closes [#926](https://github.com/w3c/epubcheck/issues/926)
190
+
191
+
192
+ ### Features
193
+
194
+ * update localized messages for several languages ([116e61b](https://github.com/w3c/epubcheck/commit/116e61b))
195
+
196
+ <a name="4.1.0"></a>
197
+ ## [4.1.0](https://github.com/w3c/epubcheck/compare/v4.0.2...v4.1.0) (2018-11-26)
198
+
199
+ ### Bug Fixes
200
+
201
+ * silence a Saxon warning (Schematron XSLT) ([5045d78b](https://github.com/w3c/epubcheck/commit/5045d78b)), closes #859
202
+ * fix path resolution in EpubNCXCheck (ctc package) ([f572a861](https://github.com/w3c/epubcheck/commit/f572a861))
203
+ * handle `IllegalStateException` in NCX checker ([25336894](https://github.com/w3c/epubcheck/commit/25336894)), closes #666
204
+ * check that the `mimetype` file is uncompressed ([6764e250](https://github.com/w3c/epubcheck/commit/6764e250)), closes #303
205
+ * fix wrong exit message for single file validation ([68af5a9a](https://github.com/w3c/epubcheck/commit/68af5a9a)), closes #740
206
+ * allow ARIA `role` attributes in SVG ([49412e05](https://github.com/w3c/epubcheck/commit/49412e05)), closes #769
207
+ * allow empty `xml:lang` attributes ([392c2f68](https://github.com/w3c/epubcheck/commit/392c2f68)), closes #777
208
+ * handle no src uri in fonts, correct embedded font boolean in the XML output ([a26f9c13](https://github.com/w3c/epubcheck/commit/a26f9c13)), closes #773
209
+ * fix issues with landmarks checks `ACC-008` ([74d0bdd1](https://github.com/w3c/epubcheck/commit/74d0bdd1)), closes #457, #734
210
+ * fix focus issue when using EPUBCheck in a GUI app ([cd63a166](https://github.com/w3c/epubcheck/commit/cd63a166)), closes #665
211
+ * fix incorrect warning `ACC_011` ([5e6a69af](https://github.com/w3c/epubcheck/commit/5e6a69af)), closes #680
212
+ * make the `type` attribute optional on SVG `style` elements ([275f6b6a](https://github.com/w3c/epubcheck/commit/275f6b6a)), closes #688
213
+ * exit with error when directory is not found in expanded mode ([e42d189c](https://github.com/w3c/epubcheck/commit/e42d189c)), closes #525
214
+ * fix a `NullPointerException` when checking an empty meta rendition element in OPF ([42d75297](https://github.com/w3c/epubcheck/commit/42d75297)), closes #727
215
+ * fix `DefaultReportImpl` to avoid duplicate path info in message locations ([9321355b](https://github.com/w3c/epubcheck/commit/9321355b)), closes #729
216
+ * fix broken `OPF_060` and `OPF_061` message format ([9f0e7d12](https://github.com/w3c/epubcheck/commit/9f0e7d12)), closes #658
217
+ * fix broken `OPF_060` and `OPF_061` checks for duplicate ZIP entries ([05e96f40](https://github.com/w3c/epubcheck/commit/05e96f40)), closes #728
218
+
219
+ ### Features
220
+
221
+ * allow the configuration of EPUBCheck’s locale ([9b249956](https://github.com/w3c/epubcheck/commit/9b249956)), closes #650, #498
222
+ * report invalid `dc:identifier` UUIDs validation (as `WARNING`) ([48800a04](https://github.com/w3c/epubcheck/commit/48800a04)), closes #853
223
+ * change `--version` and `-version` command line options to output EPUBCheck version ([e498c61d](https://github.com/w3c/epubcheck/commit/e498c61d)), closes #743
224
+ * check files with extensions other than `.epub` ([1b67e046](https://github.com/w3c/epubcheck/commit/1b67e046)), closes #490
225
+ * report `file://` URL as `INFO` ([8f7a2b7d](https://github.com/w3c/epubcheck/commit/8f7a2b7d)), closes #289
226
+ * improve messages for `OPF-058` and `OPF-059` ([5e33645e](https://github.com/w3c/epubcheck/commit/5e33645e)), closes #804
227
+ * enable `NCX_001` check also for EPUB 3 when an NCX file is present ([9715c352](https://github.com/w3c/epubcheck/commit/9715c352))
228
+ * report non-matching identifiers in OPF and NCX as an error again ([515682dc](https://github.com/w3c/epubcheck/commit/515682dc))
229
+ * improved css font size validation ([25c0b372](https://github.com/w3c/epubcheck/commit/25c0b372)), closes #529
230
+ * issue a `WARNING` when landmarks anchors are not unique ([557308ef](https://github.com/w3c/epubcheck/commit/557308ef)), closes #493
231
+ * issue a `WARNING` when guide/reference elements are not unique ([25f28c01](https://github.com/w3c/epubcheck/commit/25f28c01)), closes #493
232
+ * partial update of OPF 2.0 RelaxNG schema to latest version (changing datatype `text` to `anyURI` for `href` attributes) ([251aa936](https://github.com/w3c/epubcheck/commit/251aa936)), closes #725
233
+ * display error/warning count in EPUBCheck results ([b7babedf](https://github.com/w3c/epubcheck/commit/b7babedf)), closes #655
234
+ * add file path info in `uri` attributes of the XML report ([c958c117](https://github.com/w3c/epubcheck/commit/c958c117)), closes #540
235
+ * update the XHTML 1.1 RelaxNG schema to latest version ([4c6fb49a](https://github.com/w3c/epubcheck/commit/4c6fb49a))
236
+ * update the OPF20 RNG schema in sync with official schema to validate empty guide elements ([6540b03d](https://github.com/w3c/epubcheck/commit/6540b03d))
237
+ * report an `ERROR` when `@clipBegin` equals `@clipEnd` in SMIL Media Overlays ([00716768](https://github.com/w3c/epubcheck/commit/00716768)), closes #568
238
+ * improve Nav Doc validation ([d32de854](https://github.com/w3c/epubcheck/commit/d32de854)), closes #763, #759
239
+ * update the NCX RelaxNG schema to add fixed list of `pageTarget` type values ([b2c9e939](https://github.com/w3c/epubcheck/commit/b2c9e939)), closes #761
240
+ * improve URL checks ([a44a596b](https://github.com/w3c/epubcheck/commit/a44a596b)), closes #708
241
+ * rephrase messages `RSC-005`, `RSC-016`, `RSC-017` ([5ef44973](https://github.com/w3c/epubcheck/commit/5ef44973))
242
+ * add JHove XSD schema declaration in XML output ([e55039c9](https://github.com/w3c/epubcheck/commit/e55039c9)), closes #736
243
+ * add detailed resource info in `RSC-008` messages ([5f5ef7b7](https://github.com/w3c/epubcheck/commit/5f5ef7b7)), closes #720
244
+ * add detailed resource info in `RSC-007` messages ([71a76ee4](https://github.com/w3c/epubcheck/commit/71a76ee4)), closes #475
245
+
246
+ ### Maintenance
247
+
248
+ * change the project name to 'EPUBCheck' ([dfd7fd27](https://github.com/w3c/epubcheck/commit/dfd7fd27))
249
+ * update the minimum source code compatibility to Java 1.7 ([9b249956](https://github.com/w3c/epubcheck/commit/9b249956))
250
+ * update the Saxon dependency to v9.8 ([bf10f380](https://github.com/w3c/epubcheck/commit/bf10f380))
251
+ * update the Apache `commons-compress` dependency to v1.18 ([e7dfedd8](https://github.com/w3c/epubcheck/commit/e7dfedd8))
252
+ * update the Google Guava dependency to v24.0 ([befd9fc3](https://github.com/w3c/epubcheck/commit/befd9fc3))
253
+ * update the continuous integration build matrix, now testing from Java 7 up to Java 11 ([fb84b23c](https://github.com/w3c/epubcheck/commit/fb84b23c))
254
+ * various translation updates ([39a9a093](https://github.com/w3c/epubcheck/commit/39a9a093), [6e3a8b41](https://github.com/w3c/epubcheck/commit/6e3a8b41))
@@ -0,0 +1,28 @@
1
+ Copyright © 2007 Adobe Systems Incorporated
2
+ Copyright © 2008 IDPF
3
+ Copyright © 2017 W3C (MIT, ERCIM, Keio, Beihang)
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,105 @@
1
+ EPUBCheck
2
+ =========
3
+
4
+ This folder contains the distribution of the EPUBCheck project.
5
+
6
+ EPUBCheck is a tool to validate the conformance of EPUB publications against
7
+ the EPUB specifications. EPUBCheck can be run as a standalone command-line tool
8
+ or used as a Java library.
9
+
10
+ EPUBCheck is open source software, maintained by the DAISY Consortium on behalf
11
+ of the W3C.
12
+
13
+ EPUBCheck project home: https://github.com/w3c/epubcheck
14
+
15
+
16
+ RUNNING
17
+ -------
18
+
19
+ To run the tool you need a Java runtime (1.7 or above).
20
+ Any Operating System should do.
21
+
22
+ Run it from the command line:
23
+
24
+ > java -jar epubcheck.jar file.epub
25
+
26
+ All detected errors are simply printed to the standard error stream.
27
+
28
+ Print the commandline help with the --help argument:
29
+
30
+ > java -jar epubcheck.jar --help
31
+
32
+
33
+ USING AS A LIBRARY
34
+ ------------------
35
+
36
+ You can also use EPUBCheck as a library in your Java application. EPUBCheck
37
+ public interfaces can be found in the `com.adobe.epubcheck.api` package.
38
+ EPUBCheck class can be used to instantiate a validation engine. Use one of its
39
+ constructors and then call validate() method. Report is an interface that you
40
+ can implement to get a list of the errors and warnings reported by the
41
+ validation engine (instead of the error list being printed out).
42
+
43
+
44
+ LICENSING
45
+ ---------
46
+
47
+ EPUBCheck is made available under the terms of the 3-Clause BSD License, a
48
+ copy of which is available in the file LICENSE.txt.
49
+
50
+ The list of licenses of third-party software components is detailed in the
51
+ file THIRD-PARTY.txt
52
+
53
+
54
+ AUTHORS / CONTRIBUTORS
55
+ ----------------------
56
+
57
+ This distribution of EPUBCheck was made by the DAISY Consortium, for the W3C.
58
+
59
+ Previous contributors include:
60
+
61
+ - Alberto Pettarin
62
+ - Alexander Walters
63
+ - Andrew Neitsch
64
+ - Arwen Pond
65
+ - Bobby Tung
66
+ - Bogdan Iordache
67
+ - Dave Cramer
68
+ - dilbirligi
69
+ - Emiliano Molina
70
+ - Elisa Molinari (Fondazione LIA)
71
+ - Francisco Sanchez
72
+ - Garth Conboy
73
+ - George Bina
74
+ - Gregorio Pellegrino (Fondazione LIA)
75
+ - Ionut-Maxim Margelatu
76
+ - Jessica Hekman
77
+ - Jostein Austvik Jacobsen
78
+ - Liza Daly
79
+ - Marianne Gulstad (Publizon)
80
+ - Markus Gylling
81
+ - Martin Kraetke
82
+ - Masayoshi Takahashi
83
+ - Matt Garrish
84
+ - Merijn de Haen
85
+ - MURATA Makoto
86
+ - Paul Norton
87
+ - Peter Sorotokin
88
+ - Piotr Kula
89
+ - Romain Deltour
90
+ - Satoshi KOJIMA
91
+ - Stephan Kreutzer
92
+ - Steve Antoch
93
+ - Thiago de Oliveira Pereira
94
+ - Thomas Ledoux
95
+ - Tobias Fischer
96
+ - Tomohiko Hayashi
97
+ - Tzviya Siegman
98
+ - Vincent Gros
99
+ - Woongyoung Park
100
+
101
+
102
+ Most of the EPUBCheck functionality comes from the schema validation tool Jing
103
+ and schemas that were developed by IDPF and DAISY. Initial EPUBCheck development
104
+ was largely done at Adobe Systems. EPUBCheck 4.0 was largely developed by
105
+ DAISY and Barnes & Noble.
@@ -0,0 +1,66 @@
1
+ Licenses of third-party dependencies
2
+ ------------------------------------
3
+
4
+ FindBugs-jsr305, 1.3.9
5
+ The Apache Software License, Version 2.0
6
+
7
+ error-prone annotations, 2.1.3
8
+ Apache 2.0
9
+
10
+ Guava: Google Core Libraries for Java, 24.1.1-android
11
+ The Apache Software License, Version 2.0
12
+
13
+ J2ObjC Annotations, 1.1
14
+ The Apache Software License, Version 2.0
15
+
16
+ TwelveMonkeys :: Common :: Image, 3.4.1
17
+ The BSD License
18
+
19
+ TwelveMonkeys :: Common :: IO, 3.4.1
20
+ The BSD License
21
+
22
+ TwelveMonkeys :: Common :: Language support, 3.4.1
23
+ The BSD License
24
+
25
+ TwelveMonkeys :: ImageIO :: Core, 3.4.1
26
+ The BSD License
27
+
28
+ TwelveMonkeys :: ImageIO :: JPEG plugin, 3.4.1
29
+ The BSD License
30
+
31
+ TwelveMonkeys :: ImageIO :: Metadata, 3.4.1
32
+ The BSD License
33
+
34
+ isorelax, 20030108
35
+ Unknown license
36
+
37
+ Saxon-HE, 9.8.0-8
38
+ Mozilla Public License Version 2.0
39
+
40
+ Apache Commons Compress, 1.20
41
+ Apache License, Version 2.0
42
+
43
+ Checker Qual, 2.0.0
44
+ GNU General Public License, version 2 (GPL2), with the classpath exception
45
+ The MIT License
46
+
47
+ Jackson, 1.9.12
48
+ The Apache Software License, Version 2.0
49
+
50
+ Data Mapper for Jackson, 1.9.12
51
+ The Apache Software License, Version 2.0
52
+
53
+ Animal Sniffer Annotations, 1.14
54
+ MIT license
55
+
56
+ Jing, 20181222
57
+ 3-clause BSD license
58
+
59
+ Simple API for CSS, 1.3
60
+ The W3C Software License
61
+
62
+ Xerces2 Java Parser, 2.9.1
63
+ The Apache Software License, Version 2.0
64
+
65
+
66
+ Copies of the licenses are provided in the 'licenses' directory.
@@ -3,7 +3,7 @@ require 'epubcheck/ruby'
3
3
  module Epubcheck
4
4
  module Ruby
5
5
  class CLI
6
- JAR_FILE = File.join(Epubcheck::Ruby::JAR_DIR, 'epubcheck-4.0.2/epubcheck.jar')
6
+ JAR_FILE = File.join(Epubcheck::Ruby::JAR_DIR, 'epubcheck-4.2.4/epubcheck.jar')
7
7
 
8
8
  def initialize
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module Epubcheck
2
2
  module Ruby
3
- VERSION = "4.0.2"
3
+ VERSION = "4.2.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epubcheck-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - takahashim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-25 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,29 +16,43 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.14'
19
+ version: '2.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.14'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '12.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
41
- description: wrapper command of epubcheck (IDPF)
40
+ version: '12.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: test-unit
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: wrapper command of epubcheck (W3C)
42
56
  email:
43
57
  - takahashimm@gmail.com
44
58
  executables:
@@ -46,6 +60,7 @@ executables:
46
60
  extensions: []
47
61
  extra_rdoc_files: []
48
62
  files:
63
+ - ".github/workflows/ruby.yml"
49
64
  - ".gitignore"
50
65
  - Gemfile
51
66
  - LICENSE.txt
@@ -55,27 +70,35 @@ files:
55
70
  - bin/setup
56
71
  - epubcheck-ruby.gemspec
57
72
  - exe/epubcheck
58
- - jar/epubcheck-4.0.2/COPYING.txt
59
- - jar/epubcheck-4.0.2/README.txt
60
- - jar/epubcheck-4.0.2/THIRD-PARTY.txt
61
- - jar/epubcheck-4.0.2/epubcheck.jar
62
- - jar/epubcheck-4.0.2/lib/Saxon-HE-9.5.1-5.jar
63
- - jar/epubcheck-4.0.2/lib/common-image-3.1.2.jar
64
- - jar/epubcheck-4.0.2/lib/common-io-3.1.2.jar
65
- - jar/epubcheck-4.0.2/lib/common-lang-3.1.2.jar
66
- - jar/epubcheck-4.0.2/lib/commons-compress-1.5.jar
67
- - jar/epubcheck-4.0.2/lib/guava-14.0.1.jar
68
- - jar/epubcheck-4.0.2/lib/imageio-core-3.1.2.jar
69
- - jar/epubcheck-4.0.2/lib/imageio-jpeg-3.1.2.jar
70
- - jar/epubcheck-4.0.2/lib/imageio-metadata-3.1.2.jar
71
- - jar/epubcheck-4.0.2/lib/jackson-core-asl-1.9.12.jar
72
- - jar/epubcheck-4.0.2/lib/jackson-mapper-asl-1.9.12.jar
73
- - jar/epubcheck-4.0.2/lib/jing-20120724.0.0.jar
74
- - jar/epubcheck-4.0.2/lib/sac-1.3.jar
75
- - jar/epubcheck-4.0.2/licenses/Apache-2.0.txt
76
- - jar/epubcheck-4.0.2/licenses/BSD-3-Clause.txt
77
- - jar/epubcheck-4.0.2/licenses/MPL-1.0.txt
78
- - jar/epubcheck-4.0.2/licenses/W3C.txt
73
+ - jar/epubcheck-4.2.4/CHANGELOG.txt
74
+ - jar/epubcheck-4.2.4/LICENSE.txt
75
+ - jar/epubcheck-4.2.4/README.txt
76
+ - jar/epubcheck-4.2.4/THIRD-PARTY.txt
77
+ - jar/epubcheck-4.2.4/epubcheck.jar
78
+ - jar/epubcheck-4.2.4/lib/Saxon-HE-9.8.0-8.jar
79
+ - jar/epubcheck-4.2.4/lib/animal-sniffer-annotations-1.14.jar
80
+ - jar/epubcheck-4.2.4/lib/checker-compat-qual-2.0.0.jar
81
+ - jar/epubcheck-4.2.4/lib/common-image-3.4.1.jar
82
+ - jar/epubcheck-4.2.4/lib/common-io-3.4.1.jar
83
+ - jar/epubcheck-4.2.4/lib/common-lang-3.4.1.jar
84
+ - jar/epubcheck-4.2.4/lib/commons-compress-1.20.jar
85
+ - jar/epubcheck-4.2.4/lib/error_prone_annotations-2.1.3.jar
86
+ - jar/epubcheck-4.2.4/lib/guava-24.1.1-android.jar
87
+ - jar/epubcheck-4.2.4/lib/imageio-core-3.4.1.jar
88
+ - jar/epubcheck-4.2.4/lib/imageio-jpeg-3.4.1.jar
89
+ - jar/epubcheck-4.2.4/lib/imageio-metadata-3.4.1.jar
90
+ - jar/epubcheck-4.2.4/lib/isorelax-20030108.jar
91
+ - jar/epubcheck-4.2.4/lib/j2objc-annotations-1.1.jar
92
+ - jar/epubcheck-4.2.4/lib/jackson-core-asl-1.9.12.jar
93
+ - jar/epubcheck-4.2.4/lib/jackson-mapper-asl-1.9.12.jar
94
+ - jar/epubcheck-4.2.4/lib/jing-20181222.jar
95
+ - jar/epubcheck-4.2.4/lib/jsr305-1.3.9.jar
96
+ - jar/epubcheck-4.2.4/lib/sac-1.3.jar
97
+ - jar/epubcheck-4.2.4/lib/xercesImpl-2.9.1.jar
98
+ - jar/epubcheck-4.2.4/licenses/Apache-2.0.txt
99
+ - jar/epubcheck-4.2.4/licenses/BSD-3-Clause.txt
100
+ - jar/epubcheck-4.2.4/licenses/MPL-1.0.txt
101
+ - jar/epubcheck-4.2.4/licenses/W3C.txt
79
102
  - lib/epubcheck/ruby.rb
80
103
  - lib/epubcheck/ruby/cli.rb
81
104
  - lib/epubcheck/ruby/version.rb
@@ -98,9 +121,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
121
  - !ruby/object:Gem::Version
99
122
  version: '0'
100
123
  requirements: []
101
- rubyforge_project:
102
- rubygems_version: 2.6.8
124
+ rubygems_version: 3.1.2
103
125
  signing_key:
104
126
  specification_version: 4
105
- summary: wrapper command of epubcheck (IDPF)
127
+ summary: wrapper command of epubcheck (W3C)
106
128
  test_files: []
@@ -1,19 +0,0 @@
1
- Copyright (c) 2007 Adobe Systems Incorporated
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of
4
- this software and associated documentation files (the "Software"), to deal in
5
- the Software without restriction, including without limitation the rights to
6
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7
- the Software, and to permit persons to whom the Software is furnished to do so,
8
- subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19
-
@@ -1,60 +0,0 @@
1
- This folder contains the distribution of epubcheck project.
2
-
3
- EpubCheck is a tool to validate IDPF Epub files. It can detect many
4
- types of errors in Epub. OCF container structure, OPF and OPS mark-up,
5
- and internal reference consistency are checked. EpubCheck can be run
6
- as a standalone command-line tool, installed as a web application or
7
- used as a library.
8
-
9
- EpubCheck project home: https://github.com/idpf/epubcheck
10
-
11
-
12
- RUNNING
13
-
14
- To run the tool you need Java Runtime (1.6 or above). Any OS should do. Run
15
- it from the command line:
16
-
17
- java -jar epubcheck.jar file.epub
18
-
19
- All detected errors are simply printed to stderr.
20
-
21
-
22
- USING AS A LIBRARY
23
-
24
- You can also use EpubCheck as a library in your Java application. EpubCheck
25
- public interfaces can be found in com.adobe.epubcheck.api package. EpubCheck
26
- class can be used to instantiate a validation engine. Use one of its
27
- constructors and then call validate() method. Report is an interface that
28
- you can implement to get a list of the errors and warnings reported by the
29
- validation engine (instead of the error list being printed out).
30
-
31
-
32
- LICENSING
33
-
34
- See COPYING.txt and THIRD-PARTY.txt
35
-
36
-
37
- AUTHORS / CONTRIBUTORS
38
-
39
- Peter Sorotokin
40
- Garth Conboy
41
- Markus Gylling
42
- Piotr Kula
43
- Paul Norton
44
- Jessica Hekman
45
- Liza Daly
46
- George Bina
47
- Bogdan Iordache
48
- Ionut-Maxim Margelatu
49
- Romain Deltour
50
- Thomas Ledoux
51
- Tobias Fischer
52
- Steve Antoch
53
- Arwen Pond
54
- Masayoshi Takahashi
55
- Satoshi KOJIMA
56
-
57
-
58
- Most of the EpubCheck functionality comes from the schema validation tool Jing
59
- and schemas that were developed by IDPF and DAISY. EpubCheck development was
60
- largely done at Adobe Systems.
@@ -1,44 +0,0 @@
1
- Licenses of third-party dependencies
2
- ------------------------------------
3
-
4
- Guava: Google Core Libraries for Java, 14.0.1
5
- The Apache Software License, Version 2.0
6
-
7
- TwelveMonkeys :: Common :: Image, 3.1.2
8
- New BSD License
9
-
10
- TwelveMonkeys :: Common :: IO, 3.1.2
11
- New BSD License
12
-
13
- TwelveMonkeys :: Common :: Language support, 3.1.2
14
- New BSD License
15
-
16
- TwelveMonkeys :: ImageIO :: Core, 3.1.2
17
- New BSD License
18
-
19
- TwelveMonkeys :: ImageIO :: JPEG plugin, 3.1.2
20
- New BSD License
21
-
22
- TwelveMonkeys :: ImageIO :: Metadata, 3.1.2
23
- New BSD License
24
-
25
- Saxon-HE, 9.5.1-5
26
- Mozilla Public License Version 2.0
27
-
28
- Commons Compress, 1.5
29
- The Apache Software License, Version 2.0
30
-
31
- Jackson, 1.9.12
32
- The Apache Software License, Version 2.0
33
-
34
- Data Mapper for Jackson, 1.9.12
35
- The Apache Software License, Version 2.0
36
-
37
- Jing, 20120724.0.0
38
- New BSD License
39
-
40
- Simple API for CSS, 1.3
41
- The W3C Software License
42
-
43
-
44
- Copies of the licenses are provided in the 'licenses' directory.