Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MERGE: PR 634 XML-hul code review fixes #724

Merged
merged 9 commits into from
Apr 8, 2022
18 changes: 18 additions & 0 deletions jhove-bbt/scripts/create-1.25-target.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,21 @@ fi
echo " - ISSUE:662 PDF result patch 1."
find "${targetRoot}" -type f -name "issue_662.pdf.jhove.xml" -exec sed -i 's/^ <value>AutoCAD Architecture 2010 2010 (18.0s (LMS Tech<\/value>$/ <value>AutoCAD Architecture 2010 2010 (18.0s (LMS Tech))<\/value>/' {} \;

# Copy the XML result of examples/modules/XML-hul/jhoveconf.xml.jhove.xml
# changed by https://github.com/openpreserve/jhove/pull/634
if [[ -f "${candidateRoot}/examples/modules/XML-hul/jhoveconf.xml.jhove.xml" ]]; then
echo " - PR:634 XML result patch 1."
cp "${candidateRoot}/examples/modules/XML-hul/jhoveconf.xml.jhove.xml" "${targetRoot}/examples/modules/XML-hul/jhoveconf.xml.jhove.xml"
fi
if [[ -f "${candidateRoot}/examples/modules/XML-hul/external-parsed-entity.ent.jhove.xml" ]]; then
echo " - PR:634 XML result patch 2."
cp "${candidateRoot}/examples/modules/XML-hul/external-parsed-entity.ent.jhove.xml" "${targetRoot}/examples/modules/XML-hul/external-parsed-entity.ent.jhove.xml"
fi
if [[ -f "${candidateRoot}/examples/modules/XML-hul/external-unparsed-entity.ent.jhove.xml" ]]; then
echo " - PR:634 XML result patch 3."
cp "${candidateRoot}/examples/modules/XML-hul/external-unparsed-entity.ent.jhove.xml" "${targetRoot}/examples/modules/XML-hul/external-unparsed-entity.ent.jhove.xml"
fi
if [[ -f "${candidateRoot}/examples/modules/XML-hul/valid-external.dtd.jhove.xml" ]]; then
echo " - PR:634 XML result patch 4."
cp "${candidateRoot}/examples/modules/XML-hul/valid-external.dtd.jhove.xml" "${targetRoot}/examples/modules/XML-hul/valid-external.dtd.jhove.xml"
fi
1 change: 0 additions & 1 deletion jhove-installer/src/main/config/ext-modules/jhove.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
</module>
<module>
<class>edu.harvard.hul.ois.jhove.module.XmlModule</class>
<param>schema=http://www.example.com/schema;/home/schemas/exampleschema.xsd</param>
</module>
<module>
<class>edu.harvard.hul.ois.jhove.module.HtmlModule</class>
Expand Down
1 change: 0 additions & 1 deletion jhove-installer/src/main/config/jhove.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
</module>
<module>
<class>edu.harvard.hul.ois.jhove.module.XmlModule</class>
<param>schema=http://www.example.com/schema;/home/schemas/exampleschema.xsd</param>
</module>
<module>
<class>edu.harvard.hul.ois.jhove.module.HtmlModule</class>
Expand Down
Loading