[jdom-interest] schema validation again.

Kesav Kumar kesavk at voquette.com
Tue Nov 14 14:45:45 PST 2000

Why don't you try to give the URL for the file like
in your xml file.

Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:kesavk at voquette.com

-----Original Message-----
From: Clas Forsberg [mailto:clas.forsberg at omgroup.com]
Sent: Tuesday, November 14, 2000 4:19 AM
To: jdom-interest at jdom.org
Subject: [jdom-interest] schema validation again.

When I try to validate my xml file

SAXBuilder builder = new SAXBuilder(true);
 Document doc = builder.build(new File(filename));

I get this message:

xml.class successfully loaded
[Fatal Error] :0:0: File "C:\Clazze\OMexus\log\log.xsd" not found.
org.jdom.JDOMException: General Schema Error: Stopping after fatal error:
"C:\Clazze\OMexus\log\log.xsd" not found..: Error on line 2 of document
file:/C:/Clazze/OMexus/log/OMexus.xml: General
Schema Error: Stopping after fatal error: File
not found..

Why ? The File "C:\Clazze\OMexus\log\log.xsd exists in this directory.

This is line 2
<LOG xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"

To control your jdom-interest membership:

More information about the jdom-interest mailing list