System: win10 with AdoptOpenJDK 11, couldn't reproduce under Linux
example catalog to reproduce:
<catalog
xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:oasis:names:tc:entity:xmlns:xml:catalog
http://www.oasis-open.org/committees/entity/release/1.1/catalog.xsd"
prefer="public">
<public publicId="value" uri="https://google.ca" />
</catalog>
System: win10 with AdoptOpenJDK 11, couldn't reproduce under Linux
example catalog to reproduce: