JDK-6306251 : XMLOutputFactory.newInstance(factoryId, classLoader) returns XMLInputFactory
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2005-08-04
  • Updated: 2012-06-11
  • Resolved: 2005-09-29
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
1.4.0Resolved
Description
XMLOutputFactory.newInstance(java.lang.String factoryId, java.lang.ClassLoader classLoader) returns XMLInputFactory 

------------------------ XMLOutputFactory src has ----------------------------------
  public static XMLInputFactory newInstance(String factoryId,
                                            ClassLoader classLoader)
    throws FactoryConfigurationError
  {
    return (XMLInputFactory) FactoryFinder.find(
      factoryId,
      "com.sun.xml.stream.ZephyrWriterFactory",
      classLoader);
  }
----------------------------------------------------------------------------

Comments
EVALUATION This is a bug in the spec and the responsible people have been notified.
29-09-2005