RFR [14/java.xml] 8176447: javax.xml.validation.Validator validates incorrectly on uniqueness constraint

Joe Wang huizhe.wang at oracle.com
Tue Jul 16 16:34:30 UTC 2019

Please review a fix for the uniqueness constraint. The fix is at line 
403 where the variable for tracking matches is reset. Without the reset, 
subsequent matches would have been skipped, thus not catching duplicate 

As the report's workaround indicated, this issue was fixed in Apache 
Xerces. This patch now brings the class up-to-date with the upstream source.

All tests passed.

JBS: https://bugs.openjdk.java.net/browse/JDK-8176447
webrevs: http://cr.openjdk.java.net/~joehw/jdk14/8176447/webrev/


More information about the core-libs-dev mailing list