dk.brics.dsd
Interface ValidationErrorHandler


public interface ValidationErrorHandler

Validation error handler interface.


Method Summary
 boolean error(Node node, Element element, String message, Element dsd)
          Validation error handler method.
 

Method Detail

error

public boolean error(Node node,
                     Element element,
                     String message,
                     Element dsd)
Validation error handler method. Called when a validation error occurs, that is, the instance document or summary graph does not validate.

Parameters:
node - summary graph node containing element, null if not validating a summary graph
element - element that does not validate
message - brief description of the error
dsd - part of schema, null if not applicable
Returns:
true iff validation should continue


Copyright © 2002 Anders Møller.