#27350

Obviously PD4ML has no info about URL base of the document and it cannot resolve the relative path to an absolute one.

A possible reason – you render the HTML to PDF with

render(java.io.StringReader isr, java.io.OutputStream os)
and the document has no <base> tag.

A solution is to use

render(java.io.StringReader isr, java.io.OutputStream os, java.net.URL base)

instead.

If the explanation does not match your PD4ML usage scenario, please provide more info.