On 6/30/2025 9:59 AM, christian_kule...@me.com.INVALID wrote:
I took another look at the behaviour on my side but found nothing to
indicate the wrong library. I will investigate this again today and
hopefully get back to you with some helpful information.
Try this: with your previous code, run your project in debug mode and
set a breakpoint in XmpSerializer.save(), below the line
Transformer transformer = transformerFactory.newTransformer();
then find out what class "transformer" is.
It might also work to do this yourself before calling XmpSerializer,
just by using this code:
Transformer transformer = TransformerFactory.newInstance().newTransformer();
and then log what class "transformer" is. I expect it to be different in
test and production.
Tilman
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org