> 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 incrementally with two additional commits since the last revision: - fixup! Fix: javax.xml.stream.XMLEventReader produces incorrect START_DOCUMENT event - fixup! Fix: javax.xml.stream.XMLEventReader produces incorrect START_DOCUMENT event ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/1056/files - new: https://git.openjdk.java.net/jdk/pull/1056/files/0fa81e46..68ab39aa Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1056&range=03 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1056&range=02-03 Stats: 79 lines in 4 files changed: 25 ins; 46 del; 8 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