Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] fire-xquery | FileNotFoundException

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Anoop kumar V <anoopkumarv AT gmail.com>
  • To: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>, xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] fire-xquery | FileNotFoundException
  • Date: Sat, 24 Dec 2005 19:00:33 -0500

Perfect, Yes - that was it. Thank you.

Also if you could help me further ...... Where can I find the sample java
programs written to work with NUX - there are references to the samples in
the documentation but I could not find them in my download (nux 4.1)

Thanks again,
Anoop

On 12/24/05, Wolfgang Hoschek <wolfgang.hoschek AT mac.com> wrote:
>
> I think escaping characters is different on Windows than on Unix. On
> Windows try using double quotes, as in
>
> --query="{count(//*)}"
>
> or similar. (Sorry, I'm not really a Windows guy).
>
> Wolfgang.
>
> On Dec 24, 2005, at 12:43 PM, Anoop kumar V wrote:
>
> > Hi All,
> >
> > I have just downloaded nux and am learning the ropes of how to use
> > it. I
> > read some things about XQuery and I think it will help in my work a
> > lot.
> > But when I try to run the fire-xquery utility from the command
> > prompt I keep
> > getting this error - I have tried various combinations - like
> > running it
> > from under samples/data. Adding fire-xquery.bat to my path env
> > variable etc
> > etc... but I have not been able to get this to work...
> >
> > C:\tools\nux\bin>fire-xquery --debug --query='{count(//*)}'
> > ..\samples\data\*.xml
> > Oopsla: java.io.FileNotFoundException: '{count(\*)}' (The system
> > cannot find
> > the path specified)
> > at java.io.FileInputStream.open(Native Method)
> > at java.io.FileInputStream.<init>(FileInputStream.java:106)
> > at nux.xom.pool.XQueryFactory.createXQuery
> > (XQueryFactory.java:140)
> > at nux.xom.pool.XQueryPool.getXQuery(XQueryPool.java:190)
> > at nux.xom.tests.XQueryCommand.run(XQueryCommand.java:538)
> > at nux.xom.tests.CmdLineProgram.doMain(CmdLineProgram.java:62)
> > at nux.xom.tests.XQueryCommand.main(XQueryCommand.java:132)
> >
> > Can somebody help me by pointing out what I am doing wrong??
> >
> > I hope this is the right mailing list - coz nux itself did not have
> > one. If
> > not please redirect me to the right mailing list.
> >
> > --
> > Thanks and best regards,
> > Anoop
> > _______________________________________________
> > XOM-interest mailing list
> > XOM-interest AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/xom-interest
> >
>
>


--
Thanks and best regards,
Anoop




Archive powered by MHonArc 2.6.24.

Top of Page