jhove-service 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +1 -0
  3. data/bin/aiff-hul-1.6.1-RC1.jar +0 -0
  4. data/bin/ascii-hul-1.4.1.jar +0 -0
  5. data/bin/cache/xhtml-attribs-1.xsd +73 -0
  6. data/bin/cache/xhtml-base-1.xsd +36 -0
  7. data/bin/cache/xhtml-bdo-1.xsd +71 -0
  8. data/bin/cache/xhtml-blkphras-1.xsd +160 -0
  9. data/bin/cache/xhtml-blkpres-1.xsd +37 -0
  10. data/bin/cache/xhtml-blkstruct-1.xsd +49 -0
  11. data/bin/cache/xhtml-csismap-1.xsd +96 -0
  12. data/bin/cache/xhtml-datatypes-1.xsd +242 -0
  13. data/bin/cache/xhtml-edit-1.xsd +39 -0
  14. data/bin/cache/xhtml-events-1.xsd +130 -0
  15. data/bin/cache/xhtml-form-1.xsd +327 -0
  16. data/bin/cache/xhtml-framework-1.xsd +66 -0
  17. data/bin/cache/xhtml-hypertext-1.xsd +47 -0
  18. data/bin/cache/xhtml-image-1.xsd +46 -0
  19. data/bin/cache/xhtml-inlphras-1.xsd +163 -0
  20. data/bin/cache/xhtml-inlpres-1.xsd +39 -0
  21. data/bin/cache/xhtml-inlstruct-1.xsd +50 -0
  22. data/bin/cache/xhtml-inlstyle-1.xsd +27 -0
  23. data/bin/cache/xhtml-link-1.xsd +45 -0
  24. data/bin/cache/xhtml-list-1.xsd +99 -0
  25. data/bin/cache/xhtml-meta-1.xsd +54 -0
  26. data/bin/cache/xhtml-object-1.xsd +76 -0
  27. data/bin/cache/xhtml-param-1.xsd +51 -0
  28. data/bin/cache/xhtml-pres-1.xsd +51 -0
  29. data/bin/cache/xhtml-ruby-1.xsd +170 -0
  30. data/bin/cache/xhtml-script-1.xsd +71 -0
  31. data/bin/cache/xhtml-ssismap-1.xsd +43 -0
  32. data/bin/cache/xhtml-struct-1.xsd +130 -0
  33. data/bin/cache/xhtml-style-1.xsd +53 -0
  34. data/bin/cache/xhtml-table-1.xsd +272 -0
  35. data/bin/cache/xhtml-target-1.xsd +49 -0
  36. data/bin/cache/xhtml-text-1.xsd +67 -0
  37. data/bin/cache/xhtml11-model-1.xsd +716 -0
  38. data/bin/cache/xhtml11-modules-1.xsd +605 -0
  39. data/bin/cache/xhtml11.xsd +104 -0
  40. data/bin/cache/xml.xsd +287 -0
  41. data/bin/gif-hul-1.4.2-RC1.jar +0 -0
  42. data/bin/html-hul-1.4.1.jar +0 -0
  43. data/bin/jhove-apps-1.24.0-RC1.jar +0 -0
  44. data/bin/jhove-ext-modules-1.24.0-RC1.jar +0 -0
  45. data/bin/jhove.conf +40 -2
  46. data/bin/jhoveToolkit.sh +34 -2
  47. data/bin/jpeg-hul-1.5.2-RC1.jar +0 -0
  48. data/bin/jpeg2000-hul-1.4.2-RC1.jar +0 -0
  49. data/bin/pdf-hul-1.12.2-RC1.jar +0 -0
  50. data/bin/tiff-hul-1.9.2-RC1.jar +0 -0
  51. data/bin/utf8-hul-1.7.1.jar +0 -0
  52. data/bin/wave-hul-1.8.1-RC1.jar +0 -0
  53. data/bin/xml-hul-1.5.1.jar +0 -0
  54. data/lib/jhove_service.rb +3 -3
  55. metadata +52 -6
  56. data/bin/jhove-apps-1.20.1.jar +0 -0
  57. data/bin/jhove-ext-modules-1.20.1.jar +0 -0
@@ -0,0 +1,104 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ targetNamespace="http://www.w3.org/1999/xhtml"
5
+ xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
6
+ xmlns="http://www.w3.org/1999/xhtml"
7
+ elementFormDefault="qualified" >
8
+ <xs:annotation>
9
+ <xs:documentation>
10
+ This is the XML Schema driver for XHTML 1.1.
11
+ Please use this namespace for XHTML elements:
12
+
13
+ "http://www.w3.org/1999/xhtml"
14
+
15
+ $Id: xhtml11.xsd,v 1.7 2009/02/03 15:14:49 ahby Exp $
16
+ </xs:documentation>
17
+ <xs:documentation source="xhtml-copyright-1.xsd"/>
18
+ </xs:annotation>
19
+ <xs:annotation>
20
+ <xs:documentation>
21
+ This is XHTML, a reformulation of HTML as a modular XML application
22
+ The Extensible HyperText Markup Language (XHTML)
23
+ Copyright &#169;1998-2007 World Wide Web Consortium
24
+ (Massachusetts Institute of Technology, European Research Consortium
25
+ for Informatics and Mathematics, Keio University).
26
+ All Rights Reserved.
27
+
28
+ Permission to use, copy, modify and distribute the XHTML Schema
29
+ modules and their accompanying xs:documentation for any purpose
30
+ and without fee is hereby granted in perpetuity, provided that the above
31
+ copyright notice and this paragraph appear in all copies.
32
+ The copyright holders make no representation about the suitability of
33
+ these XML Schema modules for any purpose.
34
+
35
+ They are provided "as is" without expressed or implied warranty.
36
+ </xs:documentation>
37
+ </xs:annotation>
38
+ <xs:annotation>
39
+ <xs:documentation>
40
+ This is the Schema Driver file for XHTML1.1
41
+ Document Type
42
+
43
+ This schema
44
+ + imports external schemas (xml.xsd)
45
+ + refedines (and include)s schema modules for XHTML1.1 Document Type.
46
+ + includes Schema for Named content model for the
47
+ XHTML1.1 Document Type
48
+
49
+ XHTML1.1 Document Type includes the following Modules
50
+ XHTML Core modules (Required for XHTML Family Conformance)
51
+ + text
52
+ + hypertext
53
+ + lists
54
+ + structure
55
+ Other XHTML modules
56
+ + Edit
57
+ + Bdo
58
+ + Presentational
59
+ + Link
60
+ + Meta
61
+ + Base
62
+ + Scripting
63
+ + Style
64
+ + Image
65
+ + Applet
66
+ + Object
67
+ + Param (Applet/Object modules require Param Module)
68
+ + Tables
69
+ + Forms
70
+ + Client side image maps
71
+ + Server side image maps
72
+ + Ruby
73
+ </xs:documentation>
74
+ </xs:annotation>
75
+ <xs:import
76
+ namespace="http://www.w3.org/XML/1998/namespace"
77
+ schemaLocation="http://www.w3.org/2001/xml.xsd">
78
+ <xs:annotation>
79
+ <xs:documentation>
80
+ This import brings in the XML namespace attributes
81
+ The XML attributes are used by various modules.
82
+ </xs:documentation>
83
+ </xs:annotation>
84
+ </xs:import>
85
+ <xs:include
86
+ schemaLocation="https://www.w3.org/MarkUp/SCHEMA/xhtml11-model-1.xsd">
87
+ <xs:annotation>
88
+ <xs:documentation>
89
+ Document Model module for the XHTML1.1 Document Type.
90
+ This schema file defines all named models used by XHTML
91
+ Modularization Framework for XHTML1.1 Document Type
92
+ </xs:documentation>
93
+ </xs:annotation>
94
+ </xs:include>
95
+ <xs:include
96
+ schemaLocation="https://www.w3.org/MarkUp/SCHEMA/xhtml11-modules-1.xsd">
97
+ <xs:annotation>
98
+ <xs:documentation>
99
+ Schema that includes all modules (and redefinitions)
100
+ for XHTML1.1 Document Type.
101
+ </xs:documentation>
102
+ </xs:annotation>
103
+ </xs:include>
104
+ </xs:schema>
@@ -0,0 +1,287 @@
1
+ <?xml version='1.0'?>
2
+ <?xml-stylesheet href="../2008/09/xsd.xsl" type="text/xsl"?>
3
+ <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace"
4
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
+ xmlns ="http://www.w3.org/1999/xhtml"
6
+ xml:lang="en">
7
+
8
+ <xs:annotation>
9
+ <xs:documentation>
10
+ <div>
11
+ <h1>About the XML namespace</h1>
12
+
13
+ <div class="bodytext">
14
+ <p>
15
+ This schema document describes the XML namespace, in a form
16
+ suitable for import by other schema documents.
17
+ </p>
18
+ <p>
19
+ See <a href="http://www.w3.org/XML/1998/namespace.html">
20
+ http://www.w3.org/XML/1998/namespace.html</a> and
21
+ <a href="http://www.w3.org/TR/REC-xml">
22
+ http://www.w3.org/TR/REC-xml</a> for information
23
+ about this namespace.
24
+ </p>
25
+ <p>
26
+ Note that local names in this namespace are intended to be
27
+ defined only by the World Wide Web Consortium or its subgroups.
28
+ The names currently defined in this namespace are listed below.
29
+ They should not be used with conflicting semantics by any Working
30
+ Group, specification, or document instance.
31
+ </p>
32
+ <p>
33
+ See further below in this document for more information about <a
34
+ href="#usage">how to refer to this schema document from your own
35
+ XSD schema documents</a> and about <a href="#nsversioning">the
36
+ namespace-versioning policy governing this schema document</a>.
37
+ </p>
38
+ </div>
39
+ </div>
40
+ </xs:documentation>
41
+ </xs:annotation>
42
+
43
+ <xs:attribute name="lang">
44
+ <xs:annotation>
45
+ <xs:documentation>
46
+ <div>
47
+
48
+ <h3>lang (as an attribute name)</h3>
49
+ <p>
50
+ denotes an attribute whose value
51
+ is a language code for the natural language of the content of
52
+ any element; its value is inherited. This name is reserved
53
+ by virtue of its definition in the XML specification.</p>
54
+
55
+ </div>
56
+ <div>
57
+ <h4>Notes</h4>
58
+ <p>
59
+ Attempting to install the relevant ISO 2- and 3-letter
60
+ codes as the enumerated possible values is probably never
61
+ going to be a realistic possibility.
62
+ </p>
63
+ <p>
64
+ See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
65
+ http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
66
+ and the IANA language subtag registry at
67
+ <a href="http://www.iana.org/assignments/language-subtag-registry">
68
+ http://www.iana.org/assignments/language-subtag-registry</a>
69
+ for further information.
70
+ </p>
71
+ <p>
72
+ The union allows for the 'un-declaration' of xml:lang with
73
+ the empty string.
74
+ </p>
75
+ </div>
76
+ </xs:documentation>
77
+ </xs:annotation>
78
+ <xs:simpleType>
79
+ <xs:union memberTypes="xs:language">
80
+ <xs:simpleType>
81
+ <xs:restriction base="xs:string">
82
+ <xs:enumeration value=""/>
83
+ </xs:restriction>
84
+ </xs:simpleType>
85
+ </xs:union>
86
+ </xs:simpleType>
87
+ </xs:attribute>
88
+
89
+ <xs:attribute name="space">
90
+ <xs:annotation>
91
+ <xs:documentation>
92
+ <div>
93
+
94
+ <h3>space (as an attribute name)</h3>
95
+ <p>
96
+ denotes an attribute whose
97
+ value is a keyword indicating what whitespace processing
98
+ discipline is intended for the content of the element; its
99
+ value is inherited. This name is reserved by virtue of its
100
+ definition in the XML specification.</p>
101
+
102
+ </div>
103
+ </xs:documentation>
104
+ </xs:annotation>
105
+ <xs:simpleType>
106
+ <xs:restriction base="xs:NCName">
107
+ <xs:enumeration value="default"/>
108
+ <xs:enumeration value="preserve"/>
109
+ </xs:restriction>
110
+ </xs:simpleType>
111
+ </xs:attribute>
112
+
113
+ <xs:attribute name="base" type="xs:anyURI"> <xs:annotation>
114
+ <xs:documentation>
115
+ <div>
116
+
117
+ <h3>base (as an attribute name)</h3>
118
+ <p>
119
+ denotes an attribute whose value
120
+ provides a URI to be used as the base for interpreting any
121
+ relative URIs in the scope of the element on which it
122
+ appears; its value is inherited. This name is reserved
123
+ by virtue of its definition in the XML Base specification.</p>
124
+
125
+ <p>
126
+ See <a
127
+ href="http://www.w3.org/TR/xmlbase/">http://www.w3.org/TR/xmlbase/</a>
128
+ for information about this attribute.
129
+ </p>
130
+ </div>
131
+ </xs:documentation>
132
+ </xs:annotation>
133
+ </xs:attribute>
134
+
135
+ <xs:attribute name="id" type="xs:ID">
136
+ <xs:annotation>
137
+ <xs:documentation>
138
+ <div>
139
+
140
+ <h3>id (as an attribute name)</h3>
141
+ <p>
142
+ denotes an attribute whose value
143
+ should be interpreted as if declared to be of type ID.
144
+ This name is reserved by virtue of its definition in the
145
+ xml:id specification.</p>
146
+
147
+ <p>
148
+ See <a
149
+ href="http://www.w3.org/TR/xml-id/">http://www.w3.org/TR/xml-id/</a>
150
+ for information about this attribute.
151
+ </p>
152
+ </div>
153
+ </xs:documentation>
154
+ </xs:annotation>
155
+ </xs:attribute>
156
+
157
+ <xs:attributeGroup name="specialAttrs">
158
+ <xs:attribute ref="xml:base"/>
159
+ <xs:attribute ref="xml:lang"/>
160
+ <xs:attribute ref="xml:space"/>
161
+ <xs:attribute ref="xml:id"/>
162
+ </xs:attributeGroup>
163
+
164
+ <xs:annotation>
165
+ <xs:documentation>
166
+ <div>
167
+
168
+ <h3>Father (in any context at all)</h3>
169
+
170
+ <div class="bodytext">
171
+ <p>
172
+ denotes Jon Bosak, the chair of
173
+ the original XML Working Group. This name is reserved by
174
+ the following decision of the W3C XML Plenary and
175
+ XML Coordination groups:
176
+ </p>
177
+ <blockquote>
178
+ <p>
179
+ In appreciation for his vision, leadership and
180
+ dedication the W3C XML Plenary on this 10th day of
181
+ February, 2000, reserves for Jon Bosak in perpetuity
182
+ the XML name "xml:Father".
183
+ </p>
184
+ </blockquote>
185
+ </div>
186
+ </div>
187
+ </xs:documentation>
188
+ </xs:annotation>
189
+
190
+ <xs:annotation>
191
+ <xs:documentation>
192
+ <div xml:id="usage" id="usage">
193
+ <h2><a name="usage">About this schema document</a></h2>
194
+
195
+ <div class="bodytext">
196
+ <p>
197
+ This schema defines attributes and an attribute group suitable
198
+ for use by schemas wishing to allow <code>xml:base</code>,
199
+ <code>xml:lang</code>, <code>xml:space</code> or
200
+ <code>xml:id</code> attributes on elements they define.
201
+ </p>
202
+ <p>
203
+ To enable this, such a schema must import this schema for
204
+ the XML namespace, e.g. as follows:
205
+ </p>
206
+ <pre>
207
+ &lt;schema . . .>
208
+ . . .
209
+ &lt;import namespace="http://www.w3.org/XML/1998/namespace"
210
+ schemaLocation="http://www.w3.org/2001/xml.xsd"/>
211
+ </pre>
212
+ <p>
213
+ or
214
+ </p>
215
+ <pre>
216
+ &lt;import namespace="http://www.w3.org/XML/1998/namespace"
217
+ schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
218
+ </pre>
219
+ <p>
220
+ Subsequently, qualified reference to any of the attributes or the
221
+ group defined below will have the desired effect, e.g.
222
+ </p>
223
+ <pre>
224
+ &lt;type . . .>
225
+ . . .
226
+ &lt;attributeGroup ref="xml:specialAttrs"/>
227
+ </pre>
228
+ <p>
229
+ will define a type which will schema-validate an instance element
230
+ with any of those attributes.
231
+ </p>
232
+ </div>
233
+ </div>
234
+ </xs:documentation>
235
+ </xs:annotation>
236
+
237
+ <xs:annotation>
238
+ <xs:documentation>
239
+ <div id="nsversioning" xml:id="nsversioning">
240
+ <h2><a name="nsversioning">Versioning policy for this schema document</a></h2>
241
+ <div class="bodytext">
242
+ <p>
243
+ In keeping with the XML Schema WG's standard versioning
244
+ policy, this schema document will persist at
245
+ <a href="http://www.w3.org/2009/01/xml.xsd">
246
+ http://www.w3.org/2009/01/xml.xsd</a>.
247
+ </p>
248
+ <p>
249
+ At the date of issue it can also be found at
250
+ <a href="http://www.w3.org/2001/xml.xsd">
251
+ http://www.w3.org/2001/xml.xsd</a>.
252
+ </p>
253
+ <p>
254
+ The schema document at that URI may however change in the future,
255
+ in order to remain compatible with the latest version of XML
256
+ Schema itself, or with the XML namespace itself. In other words,
257
+ if the XML Schema or XML namespaces change, the version of this
258
+ document at <a href="http://www.w3.org/2001/xml.xsd">
259
+ http://www.w3.org/2001/xml.xsd
260
+ </a>
261
+ will change accordingly; the version at
262
+ <a href="http://www.w3.org/2009/01/xml.xsd">
263
+ http://www.w3.org/2009/01/xml.xsd
264
+ </a>
265
+ will not change.
266
+ </p>
267
+ <p>
268
+ Previous dated (and unchanging) versions of this schema
269
+ document are at:
270
+ </p>
271
+ <ul>
272
+ <li><a href="http://www.w3.org/2009/01/xml.xsd">
273
+ http://www.w3.org/2009/01/xml.xsd</a></li>
274
+ <li><a href="http://www.w3.org/2007/08/xml.xsd">
275
+ http://www.w3.org/2007/08/xml.xsd</a></li>
276
+ <li><a href="http://www.w3.org/2004/10/xml.xsd">
277
+ http://www.w3.org/2004/10/xml.xsd</a></li>
278
+ <li><a href="http://www.w3.org/2001/03/xml.xsd">
279
+ http://www.w3.org/2001/03/xml.xsd</a></li>
280
+ </ul>
281
+ </div>
282
+ </div>
283
+ </xs:documentation>
284
+ </xs:annotation>
285
+
286
+ </xs:schema>
287
+
Binary file
Binary file
@@ -37,8 +37,46 @@
37
37
  </module>
38
38
  <module>
39
39
  <class>edu.harvard.hul.ois.jhove.module.XmlModule</class>
40
- <param>schema=http://www.example.com/schema;/home/schemas/exampleschema.xsd</param>
41
- </module>
40
+ <param>schema=http://www.w3.org/markUp/schema/xhtml11.xsd;cache/xhtml11.xsd</param>
41
+ <param>schema=http://www.w3.org/2001/xml.xsd;cache/xml.xsd</param>
42
+ <param>schema=http://www.w3.org/markUp/schema/xhtml11-model-1.xsd;cache/xhtml11-model-1.xsd</param>
43
+ <param>schema=https://www.w3.org/markUp/schema/xhtml11-model-1.xsd;cache/xhtml11-model-1.xsd</param>
44
+ <param>schema=http://www.w3.org/markUp/schema/xhtml11-modules-1.xsd;cache/xhtml11-modules-1.xsd</param>
45
+ <param>schema=https://www.w3.org/markUp/schema/xhtml11-modules-1.xsd;cache/xhtml11-modules-1.xsd</param>
46
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-attribs-1.xsd;cache/xhtml-attribs-1.xsd</param>
47
+ <param>schema=https://www.w3.org/markUp/schema/xhtml-attribs-1.xsd;cache/xhtml-attribs-1.xsd</param>
48
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-base-1.xsd;cache/xhtml-base-1.xsd</param>
49
+ <param>schema=https://www.w3.org/markUp/schema/xhtml-blkphras-1.xsd;cache/xhtml-blkphras-1.xsd</param>
50
+ <param>schema=https://www.w3.org/markUp/schema/xhtml-blkpres-1.xsd;cache/xhtml-blkpres-1.xsd</param>
51
+ <param>schema=https://www.w3.org/markUp/schema/xhtml-blkstruct-1.xsd;cache/xhtml-blkstruct-1.xsd</param>
52
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-bdo-1.xsd;cache/xhtml-bdo-1.xsd</param>
53
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-csismap-1.xsd;cache/xhtml-csismap-1.xsd</param>
54
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-datatypes-1.xsd;cache/xhtml-datatypes-1.xsd</param>
55
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-edit-1.xsd;cache/xhtml-edit-1.xsd</param>
56
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-events-1.xsd;cache/xhtml-events-1.xsd</param>
57
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-form-1.xsd;cache/xhtml-form-1.xsd</param>
58
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-framework-1.xsd;cache/xhtml-framework-1.xsd</param>
59
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-hypertext-1.xsd;cache/xhtml-hypertext-1.xsd</param>
60
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-image-1.xsd;cache/xhtml-image-1.xsd</param>
61
+ <param>schema=https://www.w3.org/markUp/schema/xhtml-inlphras-1.xsd;cache/xhtml-inlphras-1.xsd</param>
62
+ <param>schema=https://www.w3.org/markUp/schema/xhtml-inlpres-1.xsd;cache/xhtml-inlpres-1.xsd</param>
63
+ <param>schema=https://www.w3.org/markUp/schema/xhtml-inlstruct-1.xsd;cache/xhtml-inlstruct-1.xsd</param>
64
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-inlstyle-1.xsd;cache/xhtml-inlstyle-1.xsd</param>
65
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-link-1.xsd;cache/xhtml-link-1.xsd</param>
66
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-list-1.xsd;cache/xhtml-list-1.xsd</param>
67
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-meta-1.xsd;cache/xhtml-meta-1.xsd</param>
68
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-object-1.xsd;cache/xhtml-object-1.xsd</param>
69
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-param-1.xsd;cache/xhtml-param-1.xsd</param>
70
+ <param>schema=https://www.w3.org/markUp/schema/xhtml-param-1.xsd;cache/xhtml-param-1.xsd</param>
71
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-pres-1.xsd;cache/xhtml-pres-1.xsd</param>
72
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-ruby-1.xsd;cache/xhtml-ruby-1.xsd</param>
73
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-script-1.xsd;cache/xhtml-script-1.xsd</param>
74
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-ssismap-1.xsd;cache/xhtml-ssismap-1.xsd</param>
75
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-struct-1.xsd;cache/xhtml-struct-1.xsd</param>
76
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-style-1.xsd;cache/xhtml-style-1.xsd</param>
77
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-table-1.xsd;cache/xhtml-table-1.xsd</param>
78
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-target-1.xsd;cache/xhtml-target-1.xsd</param>
79
+ <param>schema=http://www.w3.org/markUp/schema/xhtml-text-1.xsd;cache/xhtml-text-1.xsd</param> </module>
42
80
  <module>
43
81
  <class>edu.harvard.hul.ois.jhove.module.HtmlModule</class>
44
82
  </module>
@@ -30,14 +30,44 @@
30
30
  # adjust your shell's path or revert to the old way (commented out).
31
31
  # Configuration constants:
32
32
 
33
- JHOVE_HOME=`dirname $0`
34
- JHOVE_VERSION=1.20.1
33
+ # Infer JHOVE_HOME from script location
34
+ SCRIPT="${0}"
35
35
 
36
+ echo ${SCRIPT}
37
+
38
+ # Resolve absolute and relative symlinks
39
+ while [ -h "${SCRIPT}" ]; do
40
+ LS=$( ls -ld "${SCRIPT}" )
41
+ LINK=$( expr "${LS}" : '.*-> \(.*\)$' )
42
+ if expr "${LINK}" : '/.*' > /dev/null; then
43
+ SCRIPT="${LINK}"
44
+ else
45
+ SCRIPT="$( dirname "${SCRIPT}" )/${LINK}"
46
+ fi
47
+ done
48
+
49
+ # Store absolute location
50
+ CWD="$( pwd )"
51
+ JHOVE_HOME="$( cd "$(dirname "${SCRIPT}" )" && pwd )"
52
+ cd "${CWD}" || exit
36
53
  export JHOVE_HOME
54
+
55
+ JHOVE_VERSION=1.24.0-RC1
37
56
  JAVA_HOME=/etc/alternatives/jre
38
57
  JAVA=/usr/bin/java
39
58
 
40
59
  CP=${JHOVE_HOME}/jhove-apps-${JHOVE_VERSION}.jar:${JHOVE_HOME}/jhove-ext-modules-${JHOVE_VERSION}.jar
60
+ CP=${CP}:${JHOVE_HOME}/aiff-hul-1.6.1-RC1.jar
61
+ CP=${CP}:${JHOVE_HOME}/ascii-hul-1.4.1.jar
62
+ CP=${CP}:${JHOVE_HOME}/gif-hul-1.4.2-RC1.jar
63
+ CP=${CP}:${JHOVE_HOME}/html-hul-1.4.1.jar
64
+ CP=${CP}:${JHOVE_HOME}/jpeg-hul-1.5.2-RC1.jar
65
+ CP=${CP}:${JHOVE_HOME}/jpeg2000-hul-1.4.2-RC1.jar
66
+ CP=${CP}:${JHOVE_HOME}/pdf-hul-1.12.2-RC1.jar
67
+ CP=${CP}:${JHOVE_HOME}/tiff-hul-1.9.2-RC1.jar
68
+ CP=${CP}:${JHOVE_HOME}/utf8-hul-1.7.1.jar
69
+ CP=${CP}:${JHOVE_HOME}/wave-hul-1.8.1-RC1.jar
70
+ CP=${CP}:${JHOVE_HOME}/xml-hul-1.5.1.jar
41
71
 
42
72
  # Retrieve a copy of all command line arguments to pass to the application.
43
73
  # Since looping over the positional parameters is such a common thing to do in scripts,
@@ -51,5 +81,7 @@ for ARG do
51
81
  ARGS="$ARGS $ARG"
52
82
  done
53
83
 
84
+ echo $JHOVE_HOME
85
+
54
86
  # Set the CLASSPATH and invoke the Java loader.
55
87
  ${JAVA} -Xms128M -Xmx6000M -classpath $CP Jhove $ARGS