neilg 2003/01/22 08:46:16 Modified: java/samples/xni Counter.java DocumentTracer.java Writer.java xerces.properties XMLGrammarBuilder.java Log: change default configuration from IntegratedParserConfiguration to XML11Configuration Revision Changes Path 1.10 +3 -3 xml-xerces/java/samples/xni/Counter.java Index: Counter.java =================================================================== RCS file: /home/cvs/xml-xerces/java/samples/xni/Counter.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Counter.java 24 Sep 2002 22:36:50 -0000 1.9 +++ Counter.java 22 Jan 2003 16:46:16 -0000 1.10 @@ -124,9 +124,9 @@ // default settings - /** Default parser configuration (org.apache.xerces.parsers.IntegratedParserConfiguration). */ + /** Default parser configuration (org.apache.xerces.parsers.XML11Configuration). */ protected static final String DEFAULT_PARSER_CONFIG = - "org.apache.xerces.parsers.IntegratedParserConfiguration"; + "org.apache.xerces.parsers.XML11Configuration"; /** Default repetition (1). */ protected static final int DEFAULT_REPETITION = 1; 1.21 +3 -3 xml-xerces/java/samples/xni/DocumentTracer.java Index: DocumentTracer.java =================================================================== RCS file: /home/cvs/xml-xerces/java/samples/xni/DocumentTracer.java,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- DocumentTracer.java 16 Dec 2002 01:27:43 -0000 1.20 +++ DocumentTracer.java 22 Jan 2003 16:46:16 -0000 1.21 @@ -123,9 +123,9 @@ // default settings - /** Default parser configuration (org.apache.xerces.parsers.IntegratedParserConfiguration). */ + /** Default parser configuration (org.apache.xerces.parsers.XML11Configuration). */ protected static final String DEFAULT_PARSER_CONFIG = - "org.apache.xerces.parsers.IntegratedParserConfiguration"; + "org.apache.xerces.parsers.XML11Configuration"; /** Default namespaces support (true). */ protected static final boolean DEFAULT_NAMESPACES = true; 1.15 +3 -3 xml-xerces/java/samples/xni/Writer.java Index: Writer.java =================================================================== RCS file: /home/cvs/xml-xerces/java/samples/xni/Writer.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- Writer.java 24 Sep 2002 22:36:50 -0000 1.14 +++ Writer.java 22 Jan 2003 16:46:16 -0000 1.15 @@ -115,9 +115,9 @@ // default settings - /** Default parser configuration (org.apache.xerces.parsers.IntegratedParserConfiguration). */ + /** Default parser configuration (org.apache.xerces.parsers.XML11Configuration). */ protected static final String DEFAULT_PARSER_CONFIG = - "org.apache.xerces.parsers.IntegratedParserConfiguration"; + "org.apache.xerces.parsers.XML11Configuration"; /** Default namespaces support (true). */ protected static final boolean DEFAULT_NAMESPACES = true; 1.2 +2 -2 xml-xerces/java/samples/xni/xerces.properties Index: xerces.properties =================================================================== RCS file: /home/cvs/xml-xerces/java/samples/xni/xerces.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- xerces.properties 17 Jan 2003 23:53:33 -0000 1.1 +++ xerces.properties 22 Jan 2003 16:46:16 -0000 1.2 @@ -88,5 +88,5 @@ # the currently-recommended default configuration; if you know # which configuration you want, you may substitute that class # name for what we've provided here. -org.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.IntegratedParserConfiguration +org.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XML11Configuration 1.5 +3 -3 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.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- XMLGrammarBuilder.java 24 Sep 2002 22:36:51 -0000 1.4 +++ XMLGrammarBuilder.java 22 Jan 2003 16:46:16 -0000 1.5 @@ -58,7 +58,7 @@ package xni; import org.apache.xerces.parsers.XMLGrammarPreparser; -import org.apache.xerces.parsers.IntegratedParserConfiguration; +import org.apache.xerces.parsers.XML11Configuration; import org.apache.xerces.util.ObjectFactory; import org.apache.xerces.util.SymbolTable; import org.apache.xerces.util.XMLGrammarPoolImpl; @@ -284,7 +284,7 @@ // Now we have a grammar pool and a SymbolTable; just // build a configuration and we're on our way! if(parserConfiguration == null) { - parserConfiguration = new IntegratedParserConfiguration(sym, grammarPool); + parserConfiguration = new XML11Configuration(sym, grammarPool); } else { // set GrammarPool and SymbolTable... parserConfiguration.setProperty(SYMBOL_TABLE, sym);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]