We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23cb416 commit 8eebef6Copy full SHA for 8eebef6
preflight/src/main/java/org/apache/pdfbox/preflight/xobject/XObjFormValidator.java
@@ -82,7 +82,7 @@ public void validate() throws ValidationException
82
protected void checkMandatoryFields()
83
{
84
boolean lastMod = this.xobject.getItem(COSName.LAST_MODIFIED) != null;
85
- boolean pieceInfo = this.xobject.getItem("PieceInfo") != null;
+ boolean pieceInfo = this.xobject.getItem(COSName.PIECE_INFO) != null;
86
// type and subtype checked before to create the Validator.
87
if (lastMod ^ pieceInfo)
88
0 commit comments