Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 709 → Rev 710

/sun/xmleditor/trunk/src/parser/Validator.java
4,10 → 4,10
* Coded by: Group 5, software practice summer 2003
* University of Bielefeld, Germany
*
* @version $Revision: 1.46 $
* @version $Revision: 1.47 $
*
* Last modification: $Date: 2003/07/21 12:03:33 $
* $Id: Validator.java,v 1.46 2003/07/21 12:03:33 smcsporr Exp $
* Last modification: $Date: 2003/07/21 18:19:58 $
* $Id: Validator.java,v 1.47 2003/07/21 18:19:58 smcsporr Exp $
*/
 
package src.parser;
48,7 → 48,7
*
* @author S. McSporran
*
* @version $Revision: 1.46 $ Last modification: $Date: 2003/07/21 12:03:33 $
* @version $Revision: 1.47 $ Last modification: $Date: 2003/07/21 18:19:58 $
*/
public class Validator {
 
378,7 → 378,9
try {
/* Use the StringBuffer as a new InputSource for parsing. */
InputSource inputSrc = new InputSource(new StringReader(buffer.toString()));
inputSrc.setSystemId(docFile.getPath());
if (docFile != null) {
inputSrc.setSystemId(docFile.getPath());
}
activeParser.parse(inputSrc);
}