hamid.farhadi.nsc schrieb am 23.02.2010 um 15:24:48 (+0330):
> C:\Documents and Settings\hamit ina>java edu.ncsu.tiaa.gui.GUI
> File not found!
>  Processing the knowledge base: Put hyper-alert types into the database
> org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema
> document 'newKnowledgeBase.xsd', because 1) could not find the
>  document; 2) the document could not be read; 3) the root element of the
> document is not <xsd:schema>.

You schema is fine, so you can exclude (3).

You can exclude (2) by writing a simple program reading the file using
an absolute path and having it run under the same process.

My bet is (1) is your problem.

> another point is that the file is in linux format and i'm reading it
> in windows. i have also converted it into windows format and i got the
> same error.

Should be irrelevant.

-- 
Michael Ludwig

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to