By looking at the code, I can see that you are setting the error handler
after performing the parse action. You need to set the error handler before
parsing the document.
Also, since you are using the Java version of the parser, you need
to post your messages to the xercesj dev list.
Regards,
Kha
On Fri, 12 Jan 2001, Alain De wrote:
> public ParseTest() {
> try {
>
> domParser.setFeature("http://xml.org/sax/features/validation";,
> true);
> } catch (Exception e) {
> e.printStackTrace();
> }
> InputSource source = null;
> source = new InputSource("/pizza.xml");
> try {
> domPars