You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Fredrik Lagerblad <fr...@ausys.se> on 2001/01/10 11:30:21 UTC

Schema-bug?

Hi, I was wondering if this is a bug or not.

When validating an XML file with a schema, and the schema file can not be
found, the error method gets called even though it's an fatal error and the
exception message also says that it's a fatal error. So it doesn't stop
validating, even though it should. (Having set the
continue-after-fatal-error to false.)

The exception received by the error(SAXParseException exception) method.

org.xml.sax.SAXParseException: General Schema Error: Stopping after fatal
error: File "file:///xml/personal.xsd" not found.

When using an XML file with dtd file validation, it stops correctly.

Best regards,
Fredrik.



> 			Fredrik Lagerblad
> 			AU-System AB
> 			Box 47612,117 94 Stockholm
> 			Tel. 08-5791 1114 Mobil 070-305 1114
> 			fredrik.lagerblad@ausys.se
> 			http://www.ausys.se
> 
>