[jdom-interest] schema validation again.
Clas Forsberg
clas.forsberg at omgroup.com
Tue Nov 14 04:19:04 PST 2000
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: File
"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 "C:\Clazze\OMexus\log\log.xsd"
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"
xsi:noNamespaceSchemaLocation="C:\Clazze\OMexus\log\log.xsd">
More information about the jdom-interest
mailing list