From 404f780be6e2315836d2ab867c21a10bcf6bd8a3 Mon Sep 17 00:00:00 2001 From: Maxim Date: Tue, 8 Oct 2024 23:19:42 +0300 Subject: [PATCH] Tagged structure merger. Update rule about structure tree --- .../java/org/verapdf/tools/tagged/StructureRuleCreator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagged-structure-merger/src/main/java/org/verapdf/tools/tagged/StructureRuleCreator.java b/tagged-structure-merger/src/main/java/org/verapdf/tools/tagged/StructureRuleCreator.java index 160662a..e99400f 100644 --- a/tagged-structure-merger/src/main/java/org/verapdf/tools/tagged/StructureRuleCreator.java +++ b/tagged-structure-merger/src/main/java/org/verapdf/tools/tagged/StructureRuleCreator.java @@ -161,7 +161,7 @@ private Rule getRuleAboutStructTreeRoot(List annex_l_reference, int t StructureTag.STRUCTURE_TAG.getTag(), "The logical structure of the conforming file shall be described by a structure hierarchy rooted " + "in the StructTreeRoot entry of the document catalog dictionary, as described in ISO 32000-2:2020, 14.7", - "StructTreeRoot_size == 1", + "containsStructTreeRoot == true", Profiles.errorFromValues("StructTreeRoot entry is not present in the document catalog", Collections.emptyList()), annex_l_reference); }