We are sorry for the confusion. I have tested your scenario with shared HTML document using Aspose.Pdf for Java 10.8.0 and managed to observe the reported URL case issue. For further investigation, I have logged an issue in our issue tracking system as PDFNEWJAVA-35300 and also linked your request to it. We will keep you updated via this thread regarding the issue status.
We are sorry for the inconvenience caused.