users@jaxb.java.net

Re: DefaultValidationEventHandler

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Sat, 19 May 2007 16:48:30 +0200

Hi.

                        InputStream in = new FileInputStream("
> listaPrecios.xml ");
> if(in == null) {
> System.out.println("No encuentro el
> fichero");
> return;
> }//if


in will not be null in any case.

My XML is:


...

and my Schema is:


...

It looks allright. Are you sure you have recompiled/refreshed everyting?
Perform a clean build.

Bye.
/lexi