SAXParserFactory factory = SAXParserFactory.newInstance();
factory.setNamespaceAware(true);
final RELAXCoreReader reader = new RELAXCoreReader(null,factory,null);
Checker checker = new Checker(){
public void check( String propertyName ) {
// if the specified property doesn't exist, this will throw an error
System.out.println(
reader.localizeMessage(propertyName,new Object[]{"@@@","@@@","@@@","@@@","@@@"}));
}