JDK-6631274 : sjsxp issue 38 : createXMLEventReader fails with DOMSource input
  • Type: Bug
  • Component: xml
  • Sub-Component: javax.xml.stream
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-11-17
  • Updated: 2012-04-25
  • Resolved: 2007-11-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6 JDK 7
1.4.0 1.4Fixed 6u18Fixed 7Fixed
Related Reports
Relates :  
Description
I receive an XMLStreamException trying to create an EventReader with a DOMSource
as argument. Using the sjsxp from JAX-WS RI 2.1.

Stacktrace:
javax.xml.stream.XMLStreamException
	at com.sun.xml.stream.XMLReaderImpl.setInputSource(XMLReaderImpl.java:197)
	at com.sun.xml.stream.XMLReaderImpl.<init>(XMLReaderImpl.java:180)
	at
com.sun.xml.stream.ZephyrParserFactory.createXMLStreamReader(ZephyrParserFactory.java:139)
	at
com.sun.xml.stream.ZephyrParserFactory.createXMLEventReader(ZephyrParserFactory.java:92)
	at javanet.staxutils.XMLStreamUtils.copy(XMLStreamUtils.java:481)

Comments
EVALUATION The fix was ported into jaxp 1.4 on 8/23/2007.
17-11-2007