JKER is an application which aims to report the occurence of errors in XML documents using XPath expression.
JKER is written in Java. It implements SAXParserFactory and it acts as a mediator between parser
and SAX-based application.
Let's suppose we have some jar application which implemets SAXParserFactory.
A simple command to execute this application with some specific parser might look like this:
java -jar -Djavax.xml.parsers.SAXParserFactory=someParserFactory SomeApp.jar
When we want to use JKER we simply set JKER as the default SAXParserFactory, afterwards we assign
the specific parser to JKER. The final commad would look like this:
java -jar -Djavax.xml.parsers.SAXParserFactory=net.sourceforge.jker.Main -Dnet.sourceforge.jker.javax.xml.parsers.SAXParserFactory=someParserFactory SomeApp.jar