JDK-6463661 : JAXP's StAX impl does not use stax.properites as defined by JSR 173
  • Type: Bug
  • Component: xml
  • Sub-Component: javax.xml.stream
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-08-24
  • Updated: 2012-04-25
  • Resolved: 2006-08-30
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.
JDK 6
6 b98Fixed
Description
the Javadoc for StAX's XMLInputFactory:

https://java.sun.com/javase/6/docs/api/javax/xml/stream/XMLInputFactory.html#newInstance()

call out the use of stax.properties.
the current JAXP impl of StAX does not refer to these properties.
this is a violation of JSR 173.
it can also cause problems for people that want to use existing applications on J2SE 6.0.

Comments
EVALUATION the is a reproducible bug and is being accepted. a request will be made to integrate this into Mustang as a show-stopper. the unit test: https://jaxp-sources.dev.java.net/source/browse/jaxp-sources/jaxp-ri/src/unit-test/javax/xml/stream/TestFactoryFind.java?r1=1.1&r2=1.2 the fix: https://jaxp-sources.dev.java.net/source/browse/jaxp-sources/jaxp-api/src/javax/xml/stream/FactoryFinder.java?r1=1.4&r2=1.5
24-08-2006