Hi, This is an issue with the XML 1.1 scanner. Any reference to the data buffer needs to be removed, that is, the content copied, when the buffer is reloaded with new data. The fix is to duplicate the solution from the XML 1.0 scanner. webrev: http://cr.openjdk.java.net/~joehw/jdk9/8027359/webrev/ Thanks, Joe