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/03/25 20:29:41 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/parsers DOMBuilderImpl.java DOMASBuilderImpl.java DTDXSParserConfiguration.java
neilg 02/03/25 11:29:41
Modified: java/src/org/apache/xerces/parsers DOMBuilderImpl.java
DOMASBuilderImpl.java
Removed: java/src/org/apache/xerces/parsers
DTDXSParserConfiguration.java
Log:
removing unneeded file. This class did the same thing as StandardParserConfiguration except less flexibly--even when using DTDXSParserConfiguration, it is still necessary to set the appropriate features to have schema validation take effect.
Revision Changes Path
1.8 +4 -4 xml-xerces/java/src/org/apache/xerces/parsers/DOMBuilderImpl.java
Index: DOMBuilderImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/DOMBuilderImpl.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- DOMBuilderImpl.java 29 Jan 2002 23:16:43 -0000 1.7
+++ DOMBuilderImpl.java 25 Mar 2002 19:29:41 -0000 1.8
@@ -207,10 +207,10 @@
//
/**
- * Constructs a DOM Builder using the dtd/xml schema parser configuration.
+ * Constructs a DOM Builder using the standard parser configuration.
*/
public DOMBuilderImpl() {
- this(new DTDXSParserConfiguration());
+ this(new StandardParserConfiguration());
} // <init>
/**
@@ -254,7 +254,7 @@
* Constructs a DOM Builder using the specified symbol table.
*/
public DOMBuilderImpl(SymbolTable symbolTable) {
- this(new DTDXSParserConfiguration(symbolTable));
+ this(new StandardParserConfiguration(symbolTable));
} // <init>(SymbolTable)
@@ -263,7 +263,7 @@
* grammar pool.
*/
public DOMBuilderImpl(SymbolTable symbolTable, XMLGrammarPool grammarPool) {
- this(new DTDXSParserConfiguration(symbolTable, grammarPool));
+ this(new StandardParserConfiguration(symbolTable, grammarPool));
}
/**
1.14 +4 -4 xml-xerces/java/src/org/apache/xerces/parsers/DOMASBuilderImpl.java
Index: DOMASBuilderImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/parsers/DOMASBuilderImpl.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- DOMASBuilderImpl.java 15 Mar 2002 23:04:28 -0000 1.13
+++ DOMASBuilderImpl.java 25 Mar 2002 19:29:41 -0000 1.14
@@ -93,7 +93,7 @@
*
* @author Pavani Mukthipudi, Sun Microsystems Inc.
* @author Neil Graham, IBM
- * @version $Id: DOMASBuilderImpl.java,v 1.13 2002/03/15 23:04:28 sandygao Exp $
+ * @version $Id: DOMASBuilderImpl.java,v 1.14 2002/03/25 19:29:41 neilg Exp $
*
*/
@@ -145,7 +145,7 @@
* Constructs a DOM Builder using the dtd/xml schema parser configuration.
*/
public DOMASBuilderImpl() {
- super(new DTDXSParserConfiguration());
+ super(new XMLGrammarCachingConfiguration());
} // <init>
/**
@@ -159,7 +159,7 @@
* Constructs a DOM Builder using the specified symbol table.
*/
public DOMASBuilderImpl(SymbolTable symbolTable) {
- super(new DTDXSParserConfiguration(symbolTable));
+ super(new XMLGrammarCachingConfiguration(symbolTable));
} // <init>(SymbolTable)
@@ -168,7 +168,7 @@
* grammar pool.
*/
public DOMASBuilderImpl(SymbolTable symbolTable, XMLGrammarPool grammarPool) {
- super(new DTDXSParserConfiguration(symbolTable, grammarPool));
+ super(new XMLGrammarCachingConfiguration(symbolTable, grammarPool));
fGrammarPool = grammarPool;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org