You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2002/08/27 01:58:18 UTC

cvs commit: xml-xerces/java/samples/xni XMLGrammarBuilder.java

neilg       2002/08/26 16:58:18

  Modified:    java/samples/xni XMLGrammarBuilder.java
  Log:
  modify code that uses ObjectFactory directly to take account of new signatures.
  
  Revision  Changes    Path
  1.3       +2 -2      xml-xerces/java/samples/xni/XMLGrammarBuilder.java
  
  Index: XMLGrammarBuilder.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/samples/xni/XMLGrammarBuilder.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XMLGrammarBuilder.java	13 Jun 2002 23:06:12 -0000	1.2
  +++ XMLGrammarBuilder.java	26 Aug 2002 23:58:18 -0000	1.3
  @@ -153,7 +153,7 @@
               // create parser
               try {
                   ClassLoader cl = ObjectFactory.findClassLoader();
  -                parserConfiguration = (XMLParserConfiguration)ObjectFactory.newInstance(parserName, cl);
  +                parserConfiguration = (XMLParserConfiguration)ObjectFactory.newInstance(parserName, cl, true);
               }
               catch (Exception e) {
                   parserConfiguration = null;
  
  
  

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