[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception while Storing



i had the same problem a little time ago.

the dtd was in the same dir as the file i was trying to store.

now adding the file to the database gave errors 
(the database is stated from a different dir )
i sovled this by putting the dtd in the dir  the database is running.
so mabe use absolute path or maybe (i dont know)
parse at client side , right Falko?

Kees Jongenbuger


On Fri, 12 May 2000, Lars Martin wrote:

> Hi Rajiv,
> 
> Thu, 11 May 2000 Rajiv Rawal wrote:
> >I get an exception while Storing the an xml file with sample Store
> >application.
> >
> >It gives me an error on 
> >
> >
> ><!DOCTYPE workflow-model SYSTEM "http://test/somedtd.dtd" > 
> >
> >
> >
> >
> >java.io.IOException
> >        at
> >org.ozoneDB.xml.util.OzoneDOMParser.storeDocument(OzoneDOMParser.java
> >:98)
> >        at Store.store_parseAtClientSide(Store.java:83)
> >        at Store.main(Store.java:62)
> >
> 
> I don't think that this is a problem of ozoneXML. I guess your DTD
> can't be found by the DOM parser you use (Xerces?). You would get
> the exception also if you use a standalone Xerces. Why do you use
> "http" if it is a local DTD?
> 
> Regards,
> Lars
> --
> ________________________________________________________________
> Lars Martin                         mailto:lars@softwarebuero.de
> softwarebuero m&b (SMB)              http://www.softwarebuero.de
>