JDK-6490921 : The transformer API sometimes ignores the property org.xml.sax.driver
  • Type: Bug
  • Component: xml
  • Sub-Component: javax.xml.transform
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2006-11-07
  • Updated: 2012-04-25
  • Resolved: 2006-11-09
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 6u2Fixed 7Fixed
Description
According to the Javadoc for SAXSource, the Transformer and the SAXTransformerFactory creates a reader via XMLReaderFactory, which in turn uses the value of the property 'org.xml.sax.driver'. Due to caching on thread locals, the transformer API sometimes ignores the value of this property and uses an instance of XMLReader of a different type. 

Unit test added to JAXP RI workspace.

Comments
EVALUATION Problem resolved. Ensure XMLReaderManager returns an instance of the appropriate XMLReader class.
07-11-2006