epubcheck-ruby 4.0.2.1 → 4.2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ruby.yml +22 -0
- data/README.md +25 -1
- data/epubcheck-ruby.gemspec +4 -4
- data/jar/epubcheck-4.2.5/CHANGELOG.txt +283 -0
- data/jar/epubcheck-4.2.5/LICENSE.txt +28 -0
- data/jar/epubcheck-4.2.5/README.txt +105 -0
- data/jar/epubcheck-4.2.5/THIRD-PARTY.txt +66 -0
- data/jar/epubcheck-4.2.5/epubcheck.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/Saxon-HE-9.8.0-8.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/animal-sniffer-annotations-1.14.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/checker-compat-qual-2.0.0.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/common-image-3.4.1.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/common-io-3.4.1.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/common-lang-3.4.1.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/commons-compress-1.20.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/error_prone_annotations-2.1.3.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/guava-24.1.1-android.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/imageio-core-3.4.1.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/imageio-jpeg-3.4.1.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/imageio-metadata-3.4.1.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/isorelax-20030108.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/j2objc-annotations-1.1.jar +0 -0
- data/jar/{epubcheck-4.0.2 → epubcheck-4.2.5}/lib/jackson-core-asl-1.9.12.jar +0 -0
- data/jar/{epubcheck-4.0.2 → epubcheck-4.2.5}/lib/jackson-mapper-asl-1.9.12.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/jing-20181222.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/jsr305-1.3.9.jar +0 -0
- data/jar/{epubcheck-4.0.2 → epubcheck-4.2.5}/lib/sac-1.3.jar +0 -0
- data/jar/epubcheck-4.2.5/lib/xercesImpl-2.9.1.jar +0 -0
- data/jar/{epubcheck-4.0.2 → epubcheck-4.2.5}/licenses/Apache-2.0.txt +0 -0
- data/jar/{epubcheck-4.0.2 → epubcheck-4.2.5}/licenses/BSD-3-Clause.txt +11 -11
- data/jar/{epubcheck-4.0.2/COPYING.txt → epubcheck-4.2.5/licenses/MIT.txt} +1 -1
- data/jar/epubcheck-4.2.5/licenses/MPL-2.0.txt +373 -0
- data/jar/epubcheck-4.2.5/licenses/W3C.txt +40 -0
- data/lib/epubcheck/ruby/cli.rb +1 -1
- data/lib/epubcheck/ruby/version.rb +1 -1
- metadata +40 -31
- data/jar/epubcheck-4.0.2/README.txt +0 -60
- data/jar/epubcheck-4.0.2/THIRD-PARTY.txt +0 -44
- data/jar/epubcheck-4.0.2/epubcheck.jar +0 -0
- data/jar/epubcheck-4.0.2/lib/Saxon-HE-9.5.1-5.jar +0 -0
- data/jar/epubcheck-4.0.2/lib/common-image-3.1.2.jar +0 -0
- data/jar/epubcheck-4.0.2/lib/common-io-3.1.2.jar +0 -0
- data/jar/epubcheck-4.0.2/lib/common-lang-3.1.2.jar +0 -0
- data/jar/epubcheck-4.0.2/lib/commons-compress-1.5.jar +0 -0
- data/jar/epubcheck-4.0.2/lib/guava-14.0.1.jar +0 -0
- data/jar/epubcheck-4.0.2/lib/imageio-core-3.1.2.jar +0 -0
- data/jar/epubcheck-4.0.2/lib/imageio-jpeg-3.1.2.jar +0 -0
- data/jar/epubcheck-4.0.2/lib/imageio-metadata-3.1.2.jar +0 -0
- data/jar/epubcheck-4.0.2/lib/jing-20120724.0.0.jar +0 -0
- data/jar/epubcheck-4.0.2/licenses/MPL-1.0.txt +0 -360
- data/jar/epubcheck-4.0.2/licenses/W3C.txt +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ec76574f0f8cad4d12b4645ee4b6858092f03bf9565ca52b92ddf03a2d9522c2
|
4
|
+
data.tar.gz: fce43d8de1b5d713f4743d820c94e65b4eaa56de8278f483c6ae05c30c581143
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d0166013b9636aa2338bc55521f5602a95c28ce14648be657b9d582df45bdc7ab677626c313f393329506ee261ed5fce9a24a89ced56faa49d5643eafc66403
|
7
|
+
data.tar.gz: a3b8693f29f0b70c8bc72bbfcf939fc5496ec6a417c0a4041884847540280cad51f01923054493ed044a003bc75d35825ebe60c9526fc6db7e99564c46d5da0b
|
@@ -0,0 +1,22 @@
|
|
1
|
+
name: Ruby
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
strategy:
|
8
|
+
matrix:
|
9
|
+
ruby: ['jruby-9.2', '2.4', '2.5', '2.6', '2.7', '3.0']
|
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: ruby/setup-ruby@v1
|
18
|
+
with:
|
19
|
+
ruby-version: ${{ matrix.ruby }}
|
20
|
+
bundler-cache: true
|
21
|
+
- name: Test
|
22
|
+
run: bundle exec rake test
|
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# Epubcheck::Ruby
|
2
2
|
|
3
|
-
|
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
|
|
@@ -33,6 +36,27 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
33
36
|
|
34
37
|
## History
|
35
38
|
|
39
|
+
### v4.2.5.0
|
40
|
+
|
41
|
+
* support EPUBCheck 4.2.5
|
42
|
+
|
43
|
+
### v4.2.4.0
|
44
|
+
|
45
|
+
* support EPUBCheck 4.2.4
|
46
|
+
|
47
|
+
### v4.2.2.0
|
48
|
+
|
49
|
+
* support EPUBCheck 4.2.2
|
50
|
+
|
51
|
+
### v4.1.1.0
|
52
|
+
|
53
|
+
* support EPUBCheck 4.1.1
|
54
|
+
|
55
|
+
### v4.1.0.0
|
56
|
+
|
57
|
+
* support EPUBCheck 4.1.0
|
58
|
+
* update document to use `EPUBCheck` instead of `epubcheck` (class name in Ruby is not changed)
|
59
|
+
|
36
60
|
### v4.0.2.1
|
37
61
|
|
38
62
|
* exit with original epubcheck command status (thx @hanachin)
|
data/epubcheck-ruby.gemspec
CHANGED
@@ -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 (
|
13
|
-
spec.description = %q{wrapper command of epubcheck (
|
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,7 +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", "~>
|
25
|
-
spec.add_development_dependency "rake", "~>
|
24
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
25
|
+
spec.add_development_dependency "rake", "~> 12.3"
|
26
26
|
spec.add_development_dependency "test-unit"
|
27
27
|
end
|
@@ -0,0 +1,283 @@
|
|
1
|
+
# EPUBCheck change log
|
2
|
+
|
3
|
+
<a name="4.2.5"></a>
|
4
|
+
## [4.2.5](https://github.com/w3c/epubcheck/compare/v4.2.4...v4.2.5) (2021-03-15)
|
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.5 is a maintenance release. It adds several new checks for Media Overlays, updates the HTML schemas to the latest version availabe, and includes various other bug fixes and adjustments (see the detailed list below).
|
9
|
+
|
10
|
+
This release was made by the DAISY Consortium for the W3C. Many thanks to everyone who contributed and reported issues!
|
11
|
+
|
12
|
+
This EPUBCheck version is also available in the Maven Central Repository as [`org.w3c:epubcheck:4.2.5`](https://search.maven.org/artifact/org.w3c/epubcheck/4.2.5/jar).
|
13
|
+
|
14
|
+
### Features
|
15
|
+
|
16
|
+
* check playback properties do not have 'refines' attribute ([05a6a20](https://github.com/w3c/epubcheck/commit/05a6a20))
|
17
|
+
* check reading order of Media Overlays text elements ([e35bd05](https://github.com/w3c/epubcheck/commit/e35bd05))
|
18
|
+
* check references between Media Overlays and Content documents ([f49aa84](https://github.com/w3c/epubcheck/commit/f49aa84))
|
19
|
+
* check remote resource usage in Media Overlays ([df16ede](https://github.com/w3c/epubcheck/commit/df16ede))
|
20
|
+
* check required cardinality of meta properties ([edcd253](https://github.com/w3c/epubcheck/commit/edcd253)), closes [#1121](https://github.com/w3c/epubcheck/issues/1121)
|
21
|
+
* check that Media Overlays are only defined for XHTML and SVG content documents ([5ae1aa9](https://github.com/w3c/epubcheck/commit/5ae1aa9))
|
22
|
+
* check the epub:textref attribute on Media Overlays body and seq elements ([eea1574](https://github.com/w3c/epubcheck/commit/eea1574))
|
23
|
+
* improve checking of audio clip times in Media Overlays ([11b652e](https://github.com/w3c/epubcheck/commit/11b652e))
|
24
|
+
* report unknown 'epub:type' values in overlays as USAGE only ([#1171](https://github.com/w3c/epubcheck/issues/1171)) ([f8a2517](https://github.com/w3c/epubcheck/commit/f8a2517))
|
25
|
+
* update HTML schemas from the HTML Checker ([56dcbd1](https://github.com/w3c/epubcheck/commit/56dcbd1))
|
26
|
+
* verify 'media:duration' property use valid SMIL clock values ([794b7ce](https://github.com/w3c/epubcheck/commit/794b7ce)), closes [#1174](https://github.com/w3c/epubcheck/issues/1174)
|
27
|
+
|
28
|
+
### Bug Fixes
|
29
|
+
|
30
|
+
* allow empty `xml:lang` attributes in Package Documents ([177af8f](https://github.com/w3c/epubcheck/commit/177af8f)), closes [#777](https://github.com/w3c/epubcheck/issues/777)
|
31
|
+
* allow the 'glossary' manifest item property ([d1727d8](https://github.com/w3c/epubcheck/commit/d1727d8)), closes [#1170](https://github.com/w3c/epubcheck/issues/1170)
|
32
|
+
* do not report fragment-only CSS URLs ([6fa3312](https://github.com/w3c/epubcheck/commit/6fa3312)), closes [#1198](https://github.com/w3c/epubcheck/issues/1198)
|
33
|
+
* do not require the Navigation Document to have an index in an Index Publication ([33f2f99](https://github.com/w3c/epubcheck/commit/33f2f99)), closes [#1122](https://github.com/w3c/epubcheck/issues/1122)
|
34
|
+
* do not treat escaped <a> elements as hyperlinks in HTM-053 ([5949b6c](https://github.com/w3c/epubcheck/commit/5949b6c)), closes [#1182](https://github.com/w3c/epubcheck/issues/1182)
|
35
|
+
* remove the user directory only at the start of paths (in messages) ([5ee72e7](https://github.com/w3c/epubcheck/commit/5ee72e7)), closes [#1181](https://github.com/w3c/epubcheck/issues/1181)
|
36
|
+
|
37
|
+
|
38
|
+
<a name="4.2.4"></a>
|
39
|
+
## [4.2.4](https://github.com/w3c/epubcheck/compare/v4.2.3...v4.2.4) (2020-06-23)
|
40
|
+
|
41
|
+
### Bug Fixes
|
42
|
+
|
43
|
+
* allow 'doc-dedication' role on 'aside' elements ([023b783](https://github.com/w3c/epubcheck/commit/023b783))
|
44
|
+
* allow 'doc-glossary' role on 'section' elements ([12cda43](https://github.com/w3c/epubcheck/commit/12cda43))
|
45
|
+
|
46
|
+
<a name="4.2.3"></a>
|
47
|
+
## [4.2.3](https://github.com/w3c/epubcheck/compare/v4.2.2...v4.2.3) (2020-06-22)
|
48
|
+
|
49
|
+
### Features
|
50
|
+
|
51
|
+
* update HTML schemas from the HTML Checker ([22fa3b1](https://github.com/w3c/epubcheck/commit/22fa3b1)), closes [#1111](https://github.com/w3c/epubcheck/issues/1111)
|
52
|
+
* 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!)
|
53
|
+
* downgrade RSC-004 (cannot decrypt resource) to INFO ([#1136](https://github.com/w3c/epubcheck/issues/1136)) ([e732068](https://github.com/w3c/epubcheck/commit/e732068))
|
54
|
+
* 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)
|
55
|
+
* **ARIA:** allow doc-epigraph on 'section' and doc-cover on 'img' ([84a0979](https://github.com/w3c/epubcheck/commit/84a0979))
|
56
|
+
* update the XML ouput to the new JHOVE schema ([0b346fd](https://github.com/w3c/epubcheck/commit/0b346fd)) (thanks @tledoux!)
|
57
|
+
|
58
|
+
### Bug Fixes
|
59
|
+
|
60
|
+
* avoid `OutOfMemoryError` when computing image size ([929806b](https://github.com/w3c/epubcheck/commit/929806b)) (thanks @DocJM!)
|
61
|
+
* 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)
|
62
|
+
* allow 'a11y:certifierCredential' as a link ([484786f](https://github.com/w3c/epubcheck/commit/484786f)), closes [#1140](https://github.com/w3c/epubcheck/issues/1140)
|
63
|
+
* allow foreign namespaces in EPUB 2 SVGs ([e3ffc37](https://github.com/w3c/epubcheck/commit/e3ffc37))
|
64
|
+
|
65
|
+
|
66
|
+
### Other Improvements
|
67
|
+
|
68
|
+
* 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)
|
69
|
+
* 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)
|
70
|
+
* 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!)
|
71
|
+
* **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)
|
72
|
+
* **deps** upgrade guava to v24.1.1 to remediate CVE-2018-10237 ([cec01fe](https://github.com/w3c/epubcheck/commit/cec01fe))
|
73
|
+
|
74
|
+
|
75
|
+
<a name="4.2.2"></a>
|
76
|
+
## [4.2.2](https://github.com/w3c/epubcheck/compare/v4.2.1...v4.2.2) (2019-07-18)
|
77
|
+
|
78
|
+
### Localization
|
79
|
+
|
80
|
+
* 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)
|
81
|
+
|
82
|
+
|
83
|
+
### Features
|
84
|
+
|
85
|
+
* 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)
|
86
|
+
|
87
|
+
|
88
|
+
<a name="4.2.1"></a>
|
89
|
+
## [4.2.1](https://github.com/w3c/epubcheck/compare/v4.2.0...v4.2.1) (2019-05-20)
|
90
|
+
|
91
|
+
### Bug Fixes
|
92
|
+
|
93
|
+
* 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)
|
94
|
+
* update schemas from upstream HTML Checker ([4d5a24d](https://github.com/w3c/epubcheck/commit/4d5a24d))
|
95
|
+
|
96
|
+
|
97
|
+
<a name="4.2.0"></a>
|
98
|
+
## [4.2.0](https://github.com/w3c/epubcheck/compare/v4.2.0-rc...v4.2.0) (2019-04-23)
|
99
|
+
|
100
|
+
### Bug Fixes
|
101
|
+
|
102
|
+
* 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)
|
103
|
+
* check trailing spaces in mimetype file ([123c69f](https://github.com/w3c/epubcheck/commit/123c69f))
|
104
|
+
* remove restrictions on MathML annotation-xml ([8a1b650](https://github.com/w3c/epubcheck/commit/8a1b650)), closes [#1024](https://github.com/w3c/epubcheck/issues/1024)
|
105
|
+
* report ZIP checks after the 'Validating…' message ([73b0ee8](https://github.com/w3c/epubcheck/commit/73b0ee8)), closes [#1025](https://github.com/w3c/epubcheck/issues/1025)
|
106
|
+
|
107
|
+
### Features
|
108
|
+
|
109
|
+
* add new 'voicing' link relationship ([97e9f1c](https://github.com/w3c/epubcheck/commit/97e9f1c))
|
110
|
+
|
111
|
+
### Localization
|
112
|
+
|
113
|
+
* update localizedmessages for Danish, French, German, Italian, Japanese, Korean, and Spanish. ([2f0d1716](https://github.com/w3c/epubcheck/commit/2f0d1716))
|
114
|
+
|
115
|
+
|
116
|
+
<a name="4.2.0-rc"></a>
|
117
|
+
## [4.2.0-rc](https://github.com/w3c/epubcheck/compare/v4.2.0-beta...v4.2.0-rc) (2019-03-18)
|
118
|
+
|
119
|
+
### Bug Fixes
|
120
|
+
|
121
|
+
* allow `epub:type` on all HTML elements ([2cafe64](https://github.com/w3c/epubcheck/commit/2cafe64)), closes [#986](https://github.com/w3c/epubcheck/issues/986)
|
122
|
+
* 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)
|
123
|
+
* allow images to point to SVG fragments ([18afa9d](https://github.com/w3c/epubcheck/commit/18afa9d)), closes [#987](https://github.com/w3c/epubcheck/issues/987)
|
124
|
+
* 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)
|
125
|
+
* localize singular/plurals variants in summary ([93b700f](https://github.com/w3c/epubcheck/commit/93b700f)), closes [#958](https://github.com/w3c/epubcheck/issues/958)
|
126
|
+
* parse CSS custom properties ([0036e93](https://github.com/w3c/epubcheck/commit/0036e93)), closes [#790](https://github.com/w3c/epubcheck/issues/790)
|
127
|
+
* 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)
|
128
|
+
* report duplicate landmarks nav entries as `ERROR` ([d7be97c](https://github.com/w3c/epubcheck/commit/d7be97c)), closes [#298](https://github.com/w3c/epubcheck/issues/298)
|
129
|
+
* revert FXL SVG rules to EPUB 3.0.1’s logic ([ced3c15](https://github.com/w3c/epubcheck/commit/ced3c15))
|
130
|
+
* revert the deprecation of `display-seq` ([f81d8b8](https://github.com/w3c/epubcheck/commit/f81d8b8)), closes [#990](https://github.com/w3c/epubcheck/issues/990)
|
131
|
+
* script data blocks don’t need to be declared ([05e5ac2](https://github.com/w3c/epubcheck/commit/05e5ac2))
|
132
|
+
* support ARIA global attributes in SVG ([56ebcd8](https://github.com/w3c/epubcheck/commit/56ebcd8)), closes [#846](https://github.com/w3c/epubcheck/issues/846)
|
133
|
+
|
134
|
+
### Features
|
135
|
+
|
136
|
+
* 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)
|
137
|
+
* allow remote resources in scripted content ([1c90ae9](https://github.com/w3c/epubcheck/commit/1c90ae9)), closes [#869](https://github.com/w3c/epubcheck/issues/869)
|
138
|
+
* 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)
|
139
|
+
* check image sources in `picture` and `srcset` ([11bf628](https://github.com/w3c/epubcheck/commit/11bf628)), closes [#781](https://github.com/w3c/epubcheck/issues/781)
|
140
|
+
* 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)
|
141
|
+
* 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)
|
142
|
+
* 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)
|
143
|
+
|
144
|
+
### Localization
|
145
|
+
|
146
|
+
* new localization: Danish ([28ef69b](https://github.com/w3c/epubcheck/commit/28ef69b), [40f7b64](https://github.com/w3c/epubcheck/commit/40f7b64))
|
147
|
+
* new localization: Chinese (Taiwan) ([46195ad](https://github.com/w3c/epubcheck/commit/46195ad))
|
148
|
+
* update localized messages for German ([40f7b64](https://github.com/w3c/epubcheck/commit/40f7b64))
|
149
|
+
* update localized messages for Italian ([d954ae7](https://github.com/w3c/epubcheck/commit/d954ae7), [864282a](https://github.com/w3c/epubcheck/commit/864282a))
|
150
|
+
|
151
|
+
Note: the new messages introduced in v4.2.0 are _not_ localized yet.
|
152
|
+
|
153
|
+
|
154
|
+
<a name="4.2.0-beta"></a>
|
155
|
+
## [4.2.0-beta](https://github.com/w3c/epubcheck/compare/v4.1.1...v4.2.0-beta) (2019-02-25)
|
156
|
+
|
157
|
+
### Bug Fixes
|
158
|
+
|
159
|
+
* allow foreign namespaces in SVG content documents ([ca29c89](https://github.com/w3c/epubcheck/commit/ca29c89)), closes [#491](https://github.com/w3c/epubcheck/issues/491)
|
160
|
+
* 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)
|
161
|
+
* 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)
|
162
|
+
* 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)
|
163
|
+
|
164
|
+
|
165
|
+
### Features
|
166
|
+
|
167
|
+
* add `application/javascript` as core media type ([f4566b6](https://github.com/w3c/epubcheck/commit/f4566b6)), closes [#874](https://github.com/w3c/epubcheck/issues/874)
|
168
|
+
* add new MO-only `aside` epub:type value ([4404fff](https://github.com/w3c/epubcheck/commit/4404fff))
|
169
|
+
* 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)
|
170
|
+
* basic schema support for HTML custom elements ([356fac0](https://github.com/w3c/epubcheck/commit/356fac0)), closes [#932](https://github.com/w3c/epubcheck/issues/932)
|
171
|
+
* 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)
|
172
|
+
* improve wording of message OPF-025 ([cecaa76](https://github.com/w3c/epubcheck/commit/cecaa76)), closes [#959](https://github.com/w3c/epubcheck/issues/959)
|
173
|
+
* remove `epubsc` from reserved prefixes ([02397ec](https://github.com/w3c/epubcheck/commit/02397ec)), closes [#875](https://github.com/w3c/epubcheck/issues/875)
|
174
|
+
* report CSS absolute/fixed positioning as USAGE ([672ac6d](https://github.com/w3c/epubcheck/commit/672ac6d)), closes [#889](https://github.com/w3c/epubcheck/issues/889)
|
175
|
+
* 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)
|
176
|
+
* 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)
|
177
|
+
* suppress a couple irrelevant USAGE reports ([b342db2](https://github.com/w3c/epubcheck/commit/b342db2))
|
178
|
+
* update Jing (schema processor) to v20181222 ([cfca41b](https://github.com/w3c/epubcheck/commit/cfca41b))
|
179
|
+
* 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)
|
180
|
+
* 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)
|
181
|
+
* update the HTML schemas to the latest Nu HTML Checker version ([8d3c77e](https://github.com/w3c/epubcheck/commit/8d3c77e))
|
182
|
+
|
183
|
+
|
184
|
+
<a name="4.2.0-alpha-1"></a>
|
185
|
+
## [4.2.0-alpha-1](https://github.com/w3c/epubcheck/compare/v4.1.0...v4.2.0-alpha-1) (2019-01-14)
|
186
|
+
|
187
|
+
### Bug Fixes
|
188
|
+
|
189
|
+
* 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)
|
190
|
+
* messages of missing/incorrect locale cannot be translated ([91fac12](https://github.com/w3c/epubcheck/commit/91fac12))
|
191
|
+
|
192
|
+
|
193
|
+
### Features
|
194
|
+
|
195
|
+
* add 'authority' and 'term' as valid package metadata properties ([2fe66cd](https://github.com/w3c/epubcheck/commit/2fe66cd))
|
196
|
+
* 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)
|
197
|
+
* 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)
|
198
|
+
* report aria-describedat as an ERROR ([b4a9e7c](https://github.com/w3c/epubcheck/commit/b4a9e7c)), closes [#896](https://github.com/w3c/epubcheck/issues/896)
|
199
|
+
* 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)
|
200
|
+
* 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)
|
201
|
+
* **API:** deprecate `EpubChecker#processEpubFile` ([3ed77fe](https://github.com/w3c/epubcheck/commit/3ed77fe))
|
202
|
+
|
203
|
+
<a name="4.1.1"></a>
|
204
|
+
## [4.1.1](https://github.com/w3c/epubcheck/compare/v4.1.0...v4.1.1) (2019-01-22)
|
205
|
+
|
206
|
+
### Bug Fixes
|
207
|
+
|
208
|
+
* `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)
|
209
|
+
* better check remote resources ([85b5f77](https://github.com/w3c/epubcheck/commit/85b5f77)), closes [#852](https://github.com/w3c/epubcheck/issues/852)
|
210
|
+
* better support the EPUB Accessibility Vocabulary ([8a9cf63](https://github.com/w3c/epubcheck/commit/8a9cf63)), closes [#810](https://github.com/w3c/epubcheck/issues/810)
|
211
|
+
* consider all `video/*` as video media types ([27ad571](https://github.com/w3c/epubcheck/commit/27ad571))
|
212
|
+
* 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)
|
213
|
+
* 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)
|
214
|
+
* keep on processing after failing to read GIFs ([2a244e7](https://github.com/w3c/epubcheck/commit/2a244e7))
|
215
|
+
* messages of missing/incorrect locale cannot be translated ([91fac12](https://github.com/w3c/epubcheck/commit/91fac12))
|
216
|
+
* resolve relative URIs against their base ([d42ccd6](https://github.com/w3c/epubcheck/commit/d42ccd6)), closes [#527](https://github.com/w3c/epubcheck/issues/527)
|
217
|
+
* valid JPEG files were considered 'corrupted' ([c4a2cfa](https://github.com/w3c/epubcheck/commit/c4a2cfa)), closes [#850](https://github.com/w3c/epubcheck/issues/850)
|
218
|
+
* 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)
|
219
|
+
|
220
|
+
|
221
|
+
### Features
|
222
|
+
|
223
|
+
* update localized messages for several languages ([116e61b](https://github.com/w3c/epubcheck/commit/116e61b))
|
224
|
+
|
225
|
+
<a name="4.1.0"></a>
|
226
|
+
## [4.1.0](https://github.com/w3c/epubcheck/compare/v4.0.2...v4.1.0) (2018-11-26)
|
227
|
+
|
228
|
+
### Bug Fixes
|
229
|
+
|
230
|
+
* silence a Saxon warning (Schematron XSLT) ([5045d78b](https://github.com/w3c/epubcheck/commit/5045d78b)), closes #859
|
231
|
+
* fix path resolution in EpubNCXCheck (ctc package) ([f572a861](https://github.com/w3c/epubcheck/commit/f572a861))
|
232
|
+
* handle `IllegalStateException` in NCX checker ([25336894](https://github.com/w3c/epubcheck/commit/25336894)), closes #666
|
233
|
+
* check that the `mimetype` file is uncompressed ([6764e250](https://github.com/w3c/epubcheck/commit/6764e250)), closes #303
|
234
|
+
* fix wrong exit message for single file validation ([68af5a9a](https://github.com/w3c/epubcheck/commit/68af5a9a)), closes #740
|
235
|
+
* allow ARIA `role` attributes in SVG ([49412e05](https://github.com/w3c/epubcheck/commit/49412e05)), closes #769
|
236
|
+
* allow empty `xml:lang` attributes ([392c2f68](https://github.com/w3c/epubcheck/commit/392c2f68)), closes #777
|
237
|
+
* handle no src uri in fonts, correct embedded font boolean in the XML output ([a26f9c13](https://github.com/w3c/epubcheck/commit/a26f9c13)), closes #773
|
238
|
+
* fix issues with landmarks checks `ACC-008` ([74d0bdd1](https://github.com/w3c/epubcheck/commit/74d0bdd1)), closes #457, #734
|
239
|
+
* fix focus issue when using EPUBCheck in a GUI app ([cd63a166](https://github.com/w3c/epubcheck/commit/cd63a166)), closes #665
|
240
|
+
* fix incorrect warning `ACC_011` ([5e6a69af](https://github.com/w3c/epubcheck/commit/5e6a69af)), closes #680
|
241
|
+
* make the `type` attribute optional on SVG `style` elements ([275f6b6a](https://github.com/w3c/epubcheck/commit/275f6b6a)), closes #688
|
242
|
+
* exit with error when directory is not found in expanded mode ([e42d189c](https://github.com/w3c/epubcheck/commit/e42d189c)), closes #525
|
243
|
+
* fix a `NullPointerException` when checking an empty meta rendition element in OPF ([42d75297](https://github.com/w3c/epubcheck/commit/42d75297)), closes #727
|
244
|
+
* fix `DefaultReportImpl` to avoid duplicate path info in message locations ([9321355b](https://github.com/w3c/epubcheck/commit/9321355b)), closes #729
|
245
|
+
* fix broken `OPF_060` and `OPF_061` message format ([9f0e7d12](https://github.com/w3c/epubcheck/commit/9f0e7d12)), closes #658
|
246
|
+
* fix broken `OPF_060` and `OPF_061` checks for duplicate ZIP entries ([05e96f40](https://github.com/w3c/epubcheck/commit/05e96f40)), closes #728
|
247
|
+
|
248
|
+
### Features
|
249
|
+
|
250
|
+
* allow the configuration of EPUBCheck’s locale ([9b249956](https://github.com/w3c/epubcheck/commit/9b249956)), closes #650, #498
|
251
|
+
* report invalid `dc:identifier` UUIDs validation (as `WARNING`) ([48800a04](https://github.com/w3c/epubcheck/commit/48800a04)), closes #853
|
252
|
+
* change `--version` and `-version` command line options to output EPUBCheck version ([e498c61d](https://github.com/w3c/epubcheck/commit/e498c61d)), closes #743
|
253
|
+
* check files with extensions other than `.epub` ([1b67e046](https://github.com/w3c/epubcheck/commit/1b67e046)), closes #490
|
254
|
+
* report `file://` URL as `INFO` ([8f7a2b7d](https://github.com/w3c/epubcheck/commit/8f7a2b7d)), closes #289
|
255
|
+
* improve messages for `OPF-058` and `OPF-059` ([5e33645e](https://github.com/w3c/epubcheck/commit/5e33645e)), closes #804
|
256
|
+
* enable `NCX_001` check also for EPUB 3 when an NCX file is present ([9715c352](https://github.com/w3c/epubcheck/commit/9715c352))
|
257
|
+
* report non-matching identifiers in OPF and NCX as an error again ([515682dc](https://github.com/w3c/epubcheck/commit/515682dc))
|
258
|
+
* improved css font size validation ([25c0b372](https://github.com/w3c/epubcheck/commit/25c0b372)), closes #529
|
259
|
+
* issue a `WARNING` when landmarks anchors are not unique ([557308ef](https://github.com/w3c/epubcheck/commit/557308ef)), closes #493
|
260
|
+
* issue a `WARNING` when guide/reference elements are not unique ([25f28c01](https://github.com/w3c/epubcheck/commit/25f28c01)), closes #493
|
261
|
+
* 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
|
262
|
+
* display error/warning count in EPUBCheck results ([b7babedf](https://github.com/w3c/epubcheck/commit/b7babedf)), closes #655
|
263
|
+
* add file path info in `uri` attributes of the XML report ([c958c117](https://github.com/w3c/epubcheck/commit/c958c117)), closes #540
|
264
|
+
* update the XHTML 1.1 RelaxNG schema to latest version ([4c6fb49a](https://github.com/w3c/epubcheck/commit/4c6fb49a))
|
265
|
+
* update the OPF20 RNG schema in sync with official schema to validate empty guide elements ([6540b03d](https://github.com/w3c/epubcheck/commit/6540b03d))
|
266
|
+
* report an `ERROR` when `@clipBegin` equals `@clipEnd` in SMIL Media Overlays ([00716768](https://github.com/w3c/epubcheck/commit/00716768)), closes #568
|
267
|
+
* improve Nav Doc validation ([d32de854](https://github.com/w3c/epubcheck/commit/d32de854)), closes #763, #759
|
268
|
+
* update the NCX RelaxNG schema to add fixed list of `pageTarget` type values ([b2c9e939](https://github.com/w3c/epubcheck/commit/b2c9e939)), closes #761
|
269
|
+
* improve URL checks ([a44a596b](https://github.com/w3c/epubcheck/commit/a44a596b)), closes #708
|
270
|
+
* rephrase messages `RSC-005`, `RSC-016`, `RSC-017` ([5ef44973](https://github.com/w3c/epubcheck/commit/5ef44973))
|
271
|
+
* add JHove XSD schema declaration in XML output ([e55039c9](https://github.com/w3c/epubcheck/commit/e55039c9)), closes #736
|
272
|
+
* add detailed resource info in `RSC-008` messages ([5f5ef7b7](https://github.com/w3c/epubcheck/commit/5f5ef7b7)), closes #720
|
273
|
+
* add detailed resource info in `RSC-007` messages ([71a76ee4](https://github.com/w3c/epubcheck/commit/71a76ee4)), closes #475
|
274
|
+
|
275
|
+
### Maintenance
|
276
|
+
|
277
|
+
* change the project name to 'EPUBCheck' ([dfd7fd27](https://github.com/w3c/epubcheck/commit/dfd7fd27))
|
278
|
+
* update the minimum source code compatibility to Java 1.7 ([9b249956](https://github.com/w3c/epubcheck/commit/9b249956))
|
279
|
+
* update the Saxon dependency to v9.8 ([bf10f380](https://github.com/w3c/epubcheck/commit/bf10f380))
|
280
|
+
* update the Apache `commons-compress` dependency to v1.18 ([e7dfedd8](https://github.com/w3c/epubcheck/commit/e7dfedd8))
|
281
|
+
* update the Google Guava dependency to v24.0 ([befd9fc3](https://github.com/w3c/epubcheck/commit/befd9fc3))
|
282
|
+
* update the continuous integration build matrix, now testing from Java 7 up to Java 11 ([fb84b23c](https://github.com/w3c/epubcheck/commit/fb84b23c))
|
283
|
+
* 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.
|