Mon Jan 20 00:12:23 CET 2020: Unable to pull from remote repository: https://bitbucket.org/nclarkekb/jhove2-iipc - [warning: connecting to bitbucket.org using legacy security technology (TLS 1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info, abort: error: _ssl.c:492: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure] - pulling from https://bitbucket.org/nclarkekb/jhove2-iipc
Clone
 

rnanders@507d08b6-3e80-4f80-935c-3d33354f88f8 in JHove2-IIPC

Changed the logic for reporting validity to make it more robust. Report validity "undeterminded" if validation is disabled by SAX feature settings, or if external entities cannot be resolved.
Added a sample XML file containing schema references, a set of schema xsd files, and a class for testing the use of XML Catalog
    • -0
    • +8
    /src/test/resources/examples/xml/catalog/dtd-catalog.xml
    • -0
    • +12
    /src/test/resources/examples/xml/catalog/schema-catalog.xml
    • -0
    • +1423
    /src/test/resources/examples/xml/catalog/schema/mets.xsd
    • -0
    • +2226
    /src/test/resources/examples/xml/catalog/schema/mix10.xsd
    • -0
    • +271
    /src/test/resources/examples/xml/samples/schema-sample.xml
Checking in additional test files and JUnit tests for XML module.
    • -0
    • +34
    /W3C-TEST-SUITE-LICENSE.txt
    • -0
    • +44
    /src/test/java/org/jhove2/module/format/xml/XmlNotValidTest.java
    • -0
    • +45
    /src/test/java/org/jhove2/module/format/xml/XmlNotationTest.java
Added sample XML files and JUnit test class for XML Module
    • -0
    • +147
    /src/test/resources/config/module/format/xml/test-config.xml
    • -0
    • +28
    /src/test/resources/config/xml-test-config.xml
    • -0
    • +2
    /src/test/resources/examples/xml/samples/minimal-sample.xml
Moved some parse code into SaxParser module for better cohesion. Added Message properties to hold messages from SAX parse exceptions. Eliminated crash if external entity file cannot be found.
Changed scope from singleton to prototype for SaxParser class.
Fixed nullPointerException that occurs in special case when SAX parser fails to trigger the handlers that normally extract XML Declaration information.
...
For XML Module: Added support for XML Catalogs, fixed issues with entity declaration reporting, made capture of comment text optional. Note that pom.xml was updated with the xml-resolver dependency.
Moving droid config files
    • -0
    • +56
    /config/droid/ConfigurationFile.xsd
    • -0
    • +212
    /config/droid/DROID_SignatureFile.xsd
    • -0
    • +8440
    /config/droid/DROID_SignatureFile_V20.xml
    • -0
    • +19
    /config/droid/DROID_config.xml
Changes to reporting of XML comments, root element, and numeric character references
    • -0
    • +81
    /src/main/java/org/jhove2/module/format/xml/RootElement.java
Updated reporting of namespace information, including prefix declarations and schema locations.
Added parse of actual XML Declaration. Revised compartmentalization of NCR parse function.
Revised numeric character reference reporting in XML module. Now normalize code points and present in ascending order using standard Unicode representations
Added a parse of the source input (using pattern matching) to generate an inventory of all numeric character references in the XML document
Added a new Comments class to allow reporting of both the comment text and the total number of comments found.
    • -0
    • +85
    /src/main/java/org/jhove2/module/format/xml/Comments.java
Modified reporting of XML entity references, so that the name

of each entity is presented once, along with a count of how many

occurrences there are of the reference.

Use data from Spring config files to generate maps previously derived from droid2jhove.properties
Commented out a debug print statement
Use data from Spring config files to generate maps previously derived from format2bean.properties and dispatcher.properties
Removed leading space in identifier string constants beginning with http://jhove2.org (introduced by previous commit)
Removed leading space in identifier string constants beginning with http://jhove2.org (introduced by previous commit)
changing the identifier naming scheme from info:jhove2 to http://jhove2.org/terms
Updated Javadoc and completed implementation of SAX2 extension handlers
  1. … 3 more files in changeset.
Isolate SaxParser creation and customization in a separate class. Use Spring to create class and set SAX features. Add reporting of feature settings.
    • -0
    • +112
    /src/main/java/org/jhove2/module/format/xml/SaxParser.java
Capturing Notations and Unparsed Entities in XML Module
Added Capture of Namespace information to Xml Module
Added capture of XML Processing Instructions. Renamed several classes so that display of output looks more readable.
Moved assignment of the SAX2 parser to the Spring config file. If not explicitly specified, then use the default behavior of the XMLReaderFactory.createXMLReader() method.
changed artifactId from displayexperimentjhove2 to jhove2