neilg       2003/02/12 12:08:30

  Modified:    java/tools xml-apis.jar xml-apis--src.zip
  Log:
  Under some JDK's (notably both Sun and IBM 1.4.0), getClassLoader(), when invoked
  on the JAXP or SAX classes, it returns null.  This means that
  the fallback mechanism in these API's may not work correctly:  in
  particular, when an attempt to invoke an unknown Parser/XMLReader
  implementation is made in SAX, a NullPointerException rather than the correct
  ClassNotFoundException results.  This patch fixes this problem,
  by using Class.forName() in the event that the bootstrap
  classloader is not returned in this particular situation.
  
  Note that these API's and source *do not* correspond to a
  tagged version in xml-commons; they should be replaced by files built from such a 
version
  before the next Xerces release!
  
  Revision  Changes    Path
  1.5       +212 -221  xml-xerces/java/tools/xml-apis.jar
  
        <<Binary file>>
  
  
  1.4       +70 -75    xml-xerces/java/tools/xml-apis--src.zip
  
        <<Binary file>>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to