4,10 → 4,10 |
* Coded by: Group 5, software practice summer 2003 |
* University of Bielefeld, Germany |
* |
* @version $Revision: 1.53 $ |
* @version $Revision: 1.54 $ |
* |
* Last modification: $Date: 2003/07/25 11:41:53 $ |
* $Id: Validator.java,v 1.53 2003/07/25 11:41:53 smcsporr Exp $ |
* Last modification: $Date: 2003/07/25 11:52:30 $ |
* $Id: Validator.java,v 1.54 2003/07/25 11:52:30 smcsporr Exp $ |
*/ |
|
package src.parser; |
53,7 → 53,7 |
* |
* @author S. McSporran |
* |
* @version $Revision: 1.53 $ Last modification: $Date: 2003/07/25 11:41:53 $ |
* @version $Revision: 1.54 $ Last modification: $Date: 2003/07/25 11:52:30 $ |
*/ |
public class Validator { |
|
130,7 → 130,7 |
eHandler.setStatusInterface(statInterfaceReference); |
|
/* Activate the needed parser features. */ |
activateNamespaceProcessing(); |
//activateNamespaceProcessing(); |
activateValidation(); |
activateSchemaSupport(); |
} |
149,7 → 149,7 |
eHandler.setLogInterface(logInterfaceReference); |
|
/* Activate the needed parser features. */ |
activateNamespaceProcessing(); |
//activateNamespaceProcessing(); |
activateValidation(); |
activateSchemaSupport(); |
} |
407,7 → 407,7 |
try { |
/* Use the StringBuffer as a new InputSource for parsing. */ |
InputSource inputSrc = new InputSource(new StringReader(buffer.toString())); |
if (docFile != null) { |
if ((docFile != null)) { |
inputSrc.setSystemId(docFile.getPath()); |
} |
activeParser.parse(inputSrc); |