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/09/06 16:22:28 UTC

cvs commit: xml-xerces/java/docs faq-grammars.xml

neilg       2002/09/06 07:22:28

  Modified:    java/docs faq-grammars.xml
  Log:
  use a constant rather than an undefined variable in this sample code.
  
  Revision  Changes    Path
  1.2       +1 -1      xml-xerces/java/docs/faq-grammars.xml
  
  Index: faq-grammars.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/docs/faq-grammars.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- faq-grammars.xml	20 Jun 2002 17:49:43 -0000	1.1
  +++ faq-grammars.xml	6 Sep 2002 14:22:28 -0000	1.2
  @@ -317,7 +317,7 @@
       <source>
           XMLParserConfiguration config = new
           StandardParserConfiguration();
  -        config.setProperty(GrammarPoolString, myFullGrammarPool);
  +        config.setProperty("http://apache.org/xml/properties/internal/grammar-pool", myFullGrammarPool);
           (SAX|DOM)Parser parser = new (SAX|DOM)Parser(config);
       </source>
       <p>
  
  
  

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