You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/03/27 08:34:53 UTC

[Bug 921] Changed - make xerces the default XML Parser

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

*** shadow/921	Fri Mar  9 18:42:47 2001
--- shadow/921.tmp.17045	Mon Mar 26 22:34:53 2001
***************
*** 5,11 ****
  |       Status: NEW                         Version: 2.0.0                   |
  |   Resolution:                            Platform: All                     |
  |     Severity: Minor                    OS/Version: All                     |
! |     Priority:                           Component: javax.xml               |
  +----------------------------------------------------------------------------+
  |  Assigned To: xalan-dev@xml.apache.org                                     |
  |  Reported By: patmoore@ieee.org                                            |
--- 5,11 ----
  |       Status: NEW                         Version: 2.0.0                   |
  |   Resolution:                            Platform: All                     |
  |     Severity: Minor                    OS/Version: All                     |
! |     Priority: High                      Component: javax.xml               |
  +----------------------------------------------------------------------------+
  |  Assigned To: xalan-dev@xml.apache.org                                     |
  |  Reported By: patmoore@ieee.org                                            |
***************
*** 34,37 ****
  BuilderFactoryImpl");
  ---
  >                                                                        "org.ap
! ache.xerces.jaxp.DocumentBuilderFactoryImpl");
--- 34,61 ----
  BuilderFactoryImpl");
  ---
  >                                                                        "org.ap
! ache.xerces.jaxp.DocumentBuilderFactoryImpl");
! 
! ------- Additional Comments From garyp@firstech.com  2001-03-26 22:34 -------
! The default factory specified in these calls is used only if no other factory 
! specification can be found.  In the case of SAXParserFactory, a factory 
! specification is searched for as follows:
! 1.  System property javax.xml.parsers.SAXParserFactory
! 2.  <java.home>/lib/jaxp.properties, property javax.xml.parsers.SAXParserFactory
! 3.  File META-INF/services/javax.xml.parsers.SAXParserFactory
! 4.  The default:  org.apache.crimson.jaxp.SAXParserFactoryImpl
! 
! Xalan currently supplies a file in the META-INF subdirectory (in xalan.jar) 
! that contains
! 
!   org.apache.xerces.jaxp.SAXParserFactoryImpl
! 
! as its contents.  Do people think we should eliminate the default or change it 
! to the Xerces ParserFactory or leave it at Crimson, the way it is now.
! 
! This discussion also applies to the DocumentBuilder Factory.
! 
! If there is no opposition, I agree with Pat that we should change the default 
! to Xerces.
! 
! Gary