Hi,

Please review a fix for the issue that caused public entries not being searched when prefer='system'. When prefer='system', the Catalog standard only required that public entries were not searched if there is a system identifier.

I added tests to reflect a combination of the settings of prefer, identifier(s), and entry types (public and/or system). The test "matchWithPrefer" covered the three test cases in the JCK mentioned in the bug report plus 9 other scenarios, while "resolveWithPrefer" covered 18 resolution scenarios by a CatalogResolver.

JBS: https://bugs.openjdk.java.net/browse/JDK-8151162
Webrev: http://cr.openjdk.java.net/~joehw/jdk9/8151162/webrev/

Thanks,
Joe

Reply via email to