On Wed, 4 Nov 2020 14:01:53 GMT, Marius Volkhart
<[email protected]> wrote:
> The default implementation of javax.xml.stream.XMLEventReader produced a
> StartDocument event that always indicated that the "standalone" attribute was
> set.
>
> The root cause of this was that the
> com.sun.xml.internal.stream.events.XMLEventAllocatorImpl always set the
> "standalone" attribute, rather than asking streamReader.standaloneSet()
> before setting the property of the StartDocumentEvent being created.
test/jdk/javax/xml/stream/XmlInputFactoryTest.java line 12:
> 10: import static org.testng.Assert.assertTrue;
> 11:
> 12: public class XmlInputFactoryTest {
This test is written correctly for regular TestNG, but I don't know if it's
"right" for jtreg. I'm happy to make any changes necessary.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1056