XML query

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Gaurav Kataria (gauravk@andrew.cmu.edu)
Date: 02/02/03


1.Is the demodataone.xml tree actually supposed to work on the OA for PSF?
I tried and it doesn't work. Is there a xml tree available to check OA
query response.

I want to know what's going on at OA?

2. Any notes on the correct way to query the OA? Syntax?? I got the
following error when I queried the example query given in IRIS paper.........

command > query 128.2.70.1
//usRegion[@id='NE']/state[@id='PA']/county[@id=['Allegheny'/city[@id='Pittsburgh']/neighborhood[@id='Oakland']/block/parkingSpace[available='yes']
//usRegion[@id='NE']/state[@id='PA']/county[@id=['Allegheny'/city[@id='Pittsburgh']/neighborhood[@id='Oakland']/block/parkingSpace[available='yes']
==> / java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:486)
        at java.util.ArrayList.get(ArrayList.java:302)
        at de.fzi.XPath.LocationPath.getStep(LocationPath.java:71)
        at
com.intel.sensors.oa.QueryAnalysis.getRoot(QueryAnalysis.java:515)
        at com.intel.sensors.oa.CommandLine.query(CommandLine.java:174)
        at
com.intel.sensors.oa.CommandLine.processCommand(CommandLine.java:199)
at com.intel.sensors.oa.CommandLine.callMainLoop(CommandLine.java:295)
        at com.intel.sensors.oa.CommandLine.main(CommandLine.java:317)

Gaurav


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : 06/10/04 EDT