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

Re: Problem with XML sample



Hi,

Well, the file is there, the path is correct.  I can find and parse the
document correctly using the Xerces parser independently.  If you have any
suggestions as to *why* the file cannot be found, that would be most useful.
Thanks,

Judy.

Falko Braeutigam wrote:

> On Thu, 10 May 2001, Judy Cheung wrote:
> > Hi,
> >
> > I've just started using ozone, I'm having problems storing a document, I
> > get the following error message:
> >
> > SAX store: filename=D:\_judy\nugget1.xml
> > SAX store: new container time: 50 ms
> > Exception in thread "main" org.xml.sax.SAXParseException: File
> > "D:\_judy\nugget1
> > .xml" not found.
>
> Well, it seems that it just doesn't find this file!?
>
> Falko
>
> >          at
> > org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1014)
> >         at
> > org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument
> > (DefaultEntityHandler.java:499)
> >         at
> > org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:304)
> >
> >         at
> > org.apache.xerces.framework.XMLParser.parse(XMLParser.java:899)
> >         at
> > org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:430)
> >         at
> > org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:406)
> >         at Client.saxStore(Client.java:248)
> >         at Client.main(Client.java:149)
> >
> > Looking at the Client class, the line which seems to be causing the
> > problem is
> >
> > adapter.parse( filename );
> >
> > within the saxStore method.
> >
> > Has anyone else experienced this problem/know how to fix it please?
> > What should I be checking?
> >
> > Judy.
> --
> ______________________________________________________________________
> Falko Braeutigam                              mailto:falko@smb-tec.com
> SMB GmbH                                        http://www.smb-tec.com