I want to provide my own message from the validation done in DocumentBuilder, rather than the one from XMLMessages.properties.
Now i see that a property error-reporter needs to be set to a class which extends XMLErrorReporter.
However, I've not been able to get ComponentManager from Document/Builder/Factory.
Can any kind soul gimme code to get it ?
Doing parsing of string in SAXParseException is the last option, but I'm just thinking there may be a 'best practice' way of doing it.