You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2005/06/19 00:59:06 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/jaxp/validation DOMValidatorHelper.java

mrglavas    2005/06/18 15:59:06

  Modified:    java/src/org/apache/xerces/jaxp/validation
                        DOMValidatorHelper.java
  Log:
  Added an import for XMLSchemaValidator.
  
  Revision  Changes    Path
  1.4       +4 -3      xml-xerces/java/src/org/apache/xerces/jaxp/validation/DOMValidatorHelper.java
  
  Index: DOMValidatorHelper.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/jaxp/validation/DOMValidatorHelper.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DOMValidatorHelper.java	25 May 2005 15:43:43 -0000	1.3
  +++ DOMValidatorHelper.java	18 Jun 2005 22:59:06 -0000	1.4
  @@ -32,6 +32,7 @@
   import org.apache.xerces.impl.XMLErrorReporter;
   import org.apache.xerces.impl.validation.EntityState;
   import org.apache.xerces.impl.validation.ValidationManager;
  +import org.apache.xerces.impl.xs.XMLSchemaValidator;
   import org.apache.xerces.impl.xs.util.SimpleLocator;
   import org.apache.xerces.util.SymbolTable;
   import org.apache.xerces.util.XMLAttributesImpl;
  @@ -107,7 +108,7 @@
       private DOMNamespaceContext fDOMNamespaceContext = new DOMNamespaceContext();
       
       /** Schema validator. **/
  -    private org.apache.xerces.impl.xs.XMLSchemaValidator fSchemaValidator;
  +    private XMLSchemaValidator fSchemaValidator;
       
       /** Symbol table **/
       private SymbolTable fSymbolTable;
  @@ -152,7 +153,7 @@
           fComponentManager = componentManager;
           fErrorReporter = (XMLErrorReporter) fComponentManager.getProperty(ERROR_REPORTER);
           fNamespaceContext = (NamespaceContext) fComponentManager.getProperty(NAMESPACE_CONTEXT);
  -        fSchemaValidator = (org.apache.xerces.impl.xs.XMLSchemaValidator) fComponentManager.getProperty(SCHEMA_VALIDATOR);
  +        fSchemaValidator = (XMLSchemaValidator) fComponentManager.getProperty(SCHEMA_VALIDATOR);
           fSymbolTable = (SymbolTable) fComponentManager.getProperty(SYMBOL_TABLE);        
           fValidationManager = (ValidationManager) fComponentManager.getProperty(VALIDATION_MANAGER);
       }
  
  
  

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