> 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.
Marius Volkhart has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits: - Adjust test so it works with jtreg - Fix: javax.xml.stream.XMLEventReader produces incorrect START_DOCUMENT event 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. - Add test for XmlInputFactory ------------- Changes: https://git.openjdk.java.net/jdk/pull/1056/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1056&range=02 Stats: 47 lines in 2 files changed: 46 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/1056.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1056/head:pull/1056 PR: https://git.openjdk.java.net/jdk/pull/1056