Clone
 

nclarkekb in JHove2-IIPC

Followup on review.

Switched some of the arc unit tests due to a bug fix in jwat-arc.

Added a strictness configuration for URI validation.

Switched to JWAT-1.0.0.

  1. … 11 more files in changeset.
Added unit tests for ARC, WARC and GZip modules. Minor bug fixes also included.
    • -0
    • +137
    /src/test/java/org/jhove2/module/format/arc/ArcHeaderTest.java
    • -0
    • +61
    /src/test/java/org/jhove2/module/format/arc/ArcModuleTest.java
    • -0
    • +132
    /src/test/java/org/jhove2/module/format/arc/ArcRecordTest.java
    • -0
    • +101
    /src/test/java/org/jhove2/module/format/gzip/GzipModuleTest.java
  1. … 176 more files in changeset.
#155 change added to updated script files.

Completed location unaware env.cmd and jhove2[_debug].cmd invocation support.

Changed File ident module to only initialize upon use.

#155 fix restored.

File module will only initialize upon use.

Location unaware env.cmd and jhove2.cmd completed.

Fixed offset of GZip'ed ARC/WARC record.
GZip, ARC and WARC module should delete temp files according to config now.

Added missing XSLDisplay module and util classes.

Review changes and pom change to get the XSL display module working.
Changed GzipEntryProperty Date to LastModified.
ArcRecordNumber changed to not included VersionBlock. GZipEntryData now copies date field from GzipEntry.

JWAT includes better handling of "-" values. Added another message to ARC, WARC and GZip.

Added BnF script changes to allow jhove2.sh to be called from anywhere. (From Thomas Ledoux/BnF)

    • -0
    • +2
    /config/messages/arc_messages.properties
    • -0
    • +2
    /config/messages/gzip_messages.properties
    • -0
    • +2
    /config/messages/warc_messages.properties
Added LastModified to ARC, WARC and GZip files.

Added startOffset to ARC and WARC. Only correct for uncompressed archives.

Added missing ARC, WARC and GZip messages.

ARC Module was changed to not show and characterize filedesc version blocks with no metadata.

    • -8
    • +12
    /config/messages/arc_messages.properties
    • -6
    • +10
    /config/messages/gzip_messages.properties
    • -6
    • +10
    /config/messages/warc_messages.properties
Copied message properties from ARC to GZip. Changed and added some reportable properties to GZip Module.
    • -0
    • +25
    /config/messages/gzip_messages.properties
Fixed some configuration issues so the FileModule identification now works with ARC.
Switched GZip reader and everything seems to work except the startOffset property. Minor code cleanup in ARC/WARC/GZip modules.
Added filename and file size properties to GZipModule.
Updated to latest JWAT snapshot.

Now also includes filename, filesize and version information for ARC/WARC files.

    • -16
    • +16
    /src/main/scripts/jhove2_debug.sh
Add the modified File module working with the updated JHove2.

It currently does not detect process ARC correctly. Even though file detects ARC.

Trivial update to use JWAT-0.9.0.
Fixed mistake in droid signature file. WARC was x-fmt/289 is now fmt/289.
    • -1
    • +1
    /config/droid/DROID_SignatureFile_V20.xml
Updated to lastest JWAT API.
Fixed some typos and some comments.
    • -30
    • +12
    /config/messages/arc_messages.properties
    • -18
    • +0
    /config/messages/warc_messages.properties
Removed a small batch of tabs..
Maintenance.. updated the ARC/WARC modules to the lastest version of JWAT.
    • -6
    • +42
    /config/messages/arc_messages.properties
    • -16
    • +38
    /config/messages/warc_messages.properties
Cleanup and javadoc.
    • -2
    • +16
    /src/test/resources/config/core/test-config.xml
Cleanup and review changes.
  1. … 3 more files in changeset.
Javadocs, additions to the arc/warc handling, gzip properties, etc.
    • -2
    • +4
    /config/droid/DROID_SignatureFile_V20.xml
    • -0
    • +19
    /config/messages/arc_messages.properties
    • -0
    • +14
    /config/messages/file_messages.properties
    • -0
    • +24
    /config/messages/gzip_messages.properties
    • -0
    • +33
    /config/messages/warc_messages.properties
  1. … 23 more files in changeset.
Tabs to spaces, license header in all files, minor javadocs, removed unused classes.
  1. … 10 more files in changeset.
Basic gzip, arc and warc modules. Cleanup required later.
    • -5
    • +61
    /config/droid/DROID_SignatureFile_V20.xml
    • -0
    • +72
    /config/spring/module/format/arc/jhove2-arc-config.xml
    • -0
    • +187
    /config/spring/module/format/gzip/jhove2-gzip-config.xml
    • -0
    • +88
    /config/spring/module/format/warc/jhove2-warc-config.xml
    • -0
    • +77
    /src/main/java/org/jhove2/module/format/WarcModule.java
    • -0
    • +823
    /src/main/java/org/jhove2/module/format/arc/ArcModule.java
    • -0
    • +26
    /src/main/java/org/jhove2/module/format/arc/ArcRecordSource.java
  1. … 30 more files in changeset.