RFR: 8306055: Add a built-in Catalog to JDK XML module

Alan Bateman alanb at openjdk.org
Sun Nov 19 08:49:32 UTC 2023


On Sun, 19 Nov 2023 08:44:01 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Implement the built-in Catalog.
>
> src/java.xml/share/classes/jdk/xml/internal/jdkcatalog/JDKCatalog.xml line 34:
> 
>> 32:     <group id="javadtds" prefer = "system" xml:base = "java/dtd/">
>> 33:         <system systemId="http://java.sun.com/dtd/preferences.dtd" uri="J2SE/preferences.dtd"/>
>> 34:         <system systemId="http://java.sun.com/dtd/properties.dtd" uri="J2SE/properties.dtd"/>
> 
> Would it be possible to provide a summary on how the relative uri in the "uri" attribute is handled? Asking as it's not clear to me how the decoding is handling, meaning this is a relative URI, not a relative file path.

Can we move DTD in the JDK's catalog to a "Java" or "JavaSE" directory, only because "J2SE" feels a bit yesterday.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16719#discussion_r1398355546


More information about the core-libs-dev mailing list