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

[XML] Very long processing of XML output for big XMP content #817

Closed
tledoux opened this issue Jan 11, 2023 · 0 comments · Fixed by #818
Closed

[XML] Very long processing of XML output for big XMP content #817

tledoux opened this issue Jan 11, 2023 · 0 comments · Fixed by #818
Labels
bug A product defect that needs fixing

Comments

@tledoux
Copy link
Contributor

tledoux commented Jan 11, 2023

When processing images (TIFF or JPEG) containing big amount (7Ko) of XMP data, the processing of the XML output takes more than 5 minutes !!!

Whe processing the same file but outputting in TEXT or JSON, the computing time is in seconds.

The encoding method for XML values goes through the values at least 5 times and uses a StringBuffer !!!

@tledoux tledoux added the bug A product defect that needs fixing label Jan 11, 2023
tledoux added a commit to tledoux/jhove that referenced this issue Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A product defect that needs fixing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant