Class Slf4jSaxErrorHandler

java.lang.Object
net.ontopia.xml.Slf4jSaxErrorHandler
All Implemented Interfaces:
ErrorHandler

public class Slf4jSaxErrorHandler extends Object implements ErrorHandler
INTERNAL: SAX2 error handler implementation that uses slf4j to log warnings, errors and fatal errors.

Note: You can set the default for ignoring namespace related error messages by setting the boolean system property 'net.ontopia.xml.Slf4jSaxErrorHandler.ignoreNamespaceErrors'. The default can later be overriden by calling the setIgnoreNamespaceError(boolean) method. The system property only has effect when the instance is being creates.