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

Account for empty arrays in XMP data #624

Merged
merged 3 commits into from
Aug 7, 2023
Merged

Conversation

GreyWyvern
Copy link
Contributor

The previous version of Document::extractXMPMetadata() did not account for empty arrays as values. When encountered, use the empty string as a value for this property.

There is no test, because in the future this behaviour might change based on the outcome of #617.

Sorry, I am trying to commit all my small changes before any big ones. :)

The previous version of Document::extractXMPMetadata() did not account for empty arrays as values. When encountered, use the empty string as a value for this property.
@k00ni
Copy link
Collaborator

k00ni commented Aug 5, 2023

Sorry, I am trying to commit all my small changes before any big ones. :)

A bit off topic: If you plan any bigger changes, we could have a short chat or audio call to coordinate. I really appreciate that you taking the time to improve PFDParser.

GreyWyvern and others added 2 commits August 5, 2023 13:13
Co-authored-by: Konrad Abicht <hi@inspirito.de>
Remove blank line
@k00ni
Copy link
Collaborator

k00ni commented Aug 7, 2023

There is no test, because in the future this behaviour might change based on the outcome of #617.

The change is appropriate. Also, I am OK for making an exception in this case, because you have proven to be reliable.

@k00ni k00ni merged commit 053086a into smalot:master Aug 7, 2023
26 checks passed
@GreyWyvern GreyWyvern deleted the xmp-empty branch August 8, 2023 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants