You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by je...@locus.apache.org on 2000/06/02 07:38:46 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/validators/dtd DTDGrammar.java
jeffreyr 00/06/01 22:38:46
Modified: java/src/org/apache/xerces/validators/dtd DTDGrammar.java
Log:
Changes for new datatype factory architecture
Revision Changes Path
1.4 +3 -3 xml-xerces/java/src/org/apache/xerces/validators/dtd/DTDGrammar.java
Index: DTDGrammar.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/validators/dtd/DTDGrammar.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DTDGrammar.java 2000/05/26 18:59:11 1.3
+++ DTDGrammar.java 2000/06/02 05:38:45 1.4
@@ -66,7 +66,7 @@
import org.apache.xerces.validators.common.Grammar;
import org.apache.xerces.validators.common.XMLAttributeDecl;
import org.apache.xerces.validators.common.XMLElementDecl;
-import org.apache.xerces.validators.datatype.DatatypeValidatorRegistry;
+import org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl;
import org.apache.xerces.validators.schema.XUtil;
import org.w3c.dom.Document;
@@ -85,7 +85,7 @@
* SAX2 DeclHandler callbacks.)
*
* @author Andy Clark
- * @version $Id: DTDGrammar.java,v 1.3 2000/05/26 18:59:11 andyc Exp $
+ * @version $Id: DTDGrammar.java,v 1.4 2000/06/02 05:38:45 jeffreyr Exp $
*/
public class DTDGrammar
extends Grammar
@@ -459,7 +459,7 @@
fAttributeDecl.list = attList;
fAttributeDecl.enumeration = enumeration;
fAttributeDecl.datatypeValidator =
- DatatypeValidatorRegistry.getDatatypeRegistry().getDatatypeValidator(attTypeString);
+ DatatypeValidatorFactoryImpl.getDatatypeRegistry().getDatatypeValidator(attTypeString);
// REVISIT: Don't forget the enumeration
fAttributeDecl.defaultType = attDefaultType;
fAttributeDecl.defaultValue = fStringPool.toString(attDefaultValue);