You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ed...@apache.org on 2001/10/24 13:52:44 UTC

cvs commit: xml-xerces/java/src/javax/xml/parsers DocumentBuilderFactory.java SAXParserFactory.java

edwingo     01/10/24 04:52:44

  Modified:    java/src/javax/xml/parsers DocumentBuilderFactory.java
                        SAXParserFactory.java
  Log:
  Add hardwired default fallback factories to xerces jaxp implementations
  until we can figure out why FactoryFinder code does not run as applet in
  Netscape 4.7 correctly.
  
  Revision  Changes    Path
  1.9       +1 -1      xml-xerces/java/src/javax/xml/parsers/DocumentBuilderFactory.java
  
  Index: DocumentBuilderFactory.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/javax/xml/parsers/DocumentBuilderFactory.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DocumentBuilderFactory.java	2001/10/15 19:11:17	1.8
  +++ DocumentBuilderFactory.java	2001/10/24 11:52:44	1.9
  @@ -140,7 +140,7 @@
                   /* The default property name according to the JAXP spec */
                   "javax.xml.parsers.DocumentBuilderFactory",
                   /* The fallback implementation class name */
  -                null);
  +                "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
           } catch (FactoryFinder.ConfigurationError e) {
               throw new FactoryConfigurationError(e.getException(),
                                                   e.getMessage());
  
  
  
  1.7       +1 -1      xml-xerces/java/src/javax/xml/parsers/SAXParserFactory.java
  
  Index: SAXParserFactory.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/javax/xml/parsers/SAXParserFactory.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SAXParserFactory.java	2001/10/15 19:11:17	1.6
  +++ SAXParserFactory.java	2001/10/24 11:52:44	1.7
  @@ -136,7 +136,7 @@
                   /* The default property name according to the JAXP spec */
                   "javax.xml.parsers.SAXParserFactory",
                   /* The fallback implementation class name */
  -                null);
  +                "org.apache.xerces.jaxp.SAXParserFactoryImpl");
           } catch (FactoryFinder.ConfigurationError e) {
               throw new FactoryConfigurationError(e.getException(),
                                                   e.getMessage());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org