Hello,

I've submitted a PR https://github.com/openjdk/jdk/pull/1056 for what I
believe to be a bug I found in the javax.xml module. An issue for this
behavior does not exist in the bug tracker.

The default implementation of javax.xml.stream.XMLEventReader produces a
StartDocument event that always indicates that the "standalone" attribute
was set in the original document.

The root cause of this is 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.

--
Cheers,
Marius Volkhart

Reply via email to