http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2230

*** shadow/2230 Mon Jul  2 06:01:32 2001
--- shadow/2230.tmp.6216        Wed Jul 11 00:21:47 2001
***************
*** 2,10 ****
  | Method newTransformer(javax.xml.transform.Source) should not return null,  |
  +----------------------------------------------------------------------------+
  |        Bug #: 2230                        Product: XalanJ2                 |
! |       Status: NEW                         Version: 2.0.x                   |
  |   Resolution:                            Platform: PC                      |
! |     Severity: Minor                    OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: javax.xml               |
  +----------------------------------------------------------------------------+
  |  Assigned To: [EMAIL PROTECTED]                                     |
--- 2,10 ----
  | Method newTransformer(javax.xml.transform.Source) should not return null,  |
  +----------------------------------------------------------------------------+
  |        Bug #: 2230                        Product: XalanJ2                 |
! |       Status: NEW                         Version: 2.1.0                   |
  |   Resolution:                            Platform: PC                      |
! |     Severity: Normal                   OS/Version: All                     |
  |     Priority: Other                     Component: javax.xml               |
  +----------------------------------------------------------------------------+
  |  Assigned To: [EMAIL PROTECTED]                                     |
***************
*** 32,35 ****
  j/apidocs/javax/xml/transform/TransformerFactory.html#newTransformer
  (javax.xml.transform.Source)
  [2] http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/ErrorListener.html
! [3] http://xml.apache.org/xalan-j/apidocs/overview-summary.html
--- 32,48 ----
  j/apidocs/javax/xml/transform/TransformerFactory.html#newTransformer
  (javax.xml.transform.Source)
  [2] http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/ErrorListener.html
! [3] http://xml.apache.org/xalan-j/apidocs/overview-summary.html
! 
! ------- Additional Comments From [EMAIL PROTECTED]  2001-07-11 00:21 -------
! I just found out that the sources of Xalan-J 2.1.0 still have this documentation 
error (if it is one).
! 
! My conf to produce this error:
! - registered an error listener to the TransformerFactory (before passing the 
stylesheet to it)
! - passing a non-wellformed stylesheet (non-whitespace text after the root element)
! 
! The result:
! - method error(TransformerException) gets called, the error text is "Non-whitespace 
text is not allowed in this position in the stylesheet!"
! - 'null' is returned which shouldn't happen according to the docs
! - no exception is thrown by the TransformerFactory
! - I'm left with a Transformer instance that is null

Reply via email to