Skip to content

Commit

Permalink
Fix #701
Browse files Browse the repository at this point in the history
  • Loading branch information
hhrutter committed Sep 9, 2023
1 parent 2a899ed commit c5e4405
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/pdfcpu/validate/nameTree.go
Expand Up @@ -429,6 +429,9 @@ func validateEmbeddedFilesNameTreeValue(xRefTable *model.XRefTable, o types.Obje
// Value is a file specification for an embedded file stream.

// Version check
if xRefTable.ValidationMode == model.ValidationRelaxed {
sinceVersion = model.V13
}
err := xRefTable.ValidateVersion("EmbeddedFilesNameTreeValue", sinceVersion)
if err != nil {
return err
Expand Down

0 comments on commit c5e4405

Please sign in to comment.