|
|
|
|
|
|
| Author |
Message |
ryan *nix forums beginner
Joined: 22 Apr 2004
Posts: 8
|
Posted: Thu Jun 29, 2006 11:07 am Post subject:
DB XML Xpath problem
|
|
|
Hi,
I am evaluating DB XML to see if I can store very large XML files in it
i.e. total size of data could be several hundred megabytes.
I have so far written some code to break up a large file (17 mb) into
smaller ones and link them using Xlink.
I have been able to load these files into a single container using DB
XML but when I try to perform any query on them I get the following
message:
BDB XML: Optimizer - Started parse
BDB XML: Optimizer - Finished parse, time taken = 30.856ms
BDB XML: Query - Starting query execution
Error executing query: com.sleepycat.dbxml.XmlException: Error: An
attempt was made to perform an axis step when the Context Item was not
a node [err:XPTY0020], errcode = XPATH_EVALUATION_ERROR
I am pretty sure my XML data is ok and I don't understand why the Xpath
part of the query should fail the node test.
Hope someone out there has some ideas?
thanks,
Ryan. |
|
| Back to top |
|
 |
George Feinberg *nix forums beginner
Joined: 21 Nov 2005
Posts: 11
|
Posted: Thu Jun 29, 2006 9:18 pm Post subject:
Re: DB XML Xpath problem
|
|
|
Ryan,
Please provide an example of a query that fails, along
with a snippet of code that calls the query.
Send to me directly, as I do not read this newsgroup on a
regular basis.
This sort of question is usually better handled by the BDB XML
mailing list -- xml@sleepycat.com
Regards,
George
ryan wrote:
| Quote: | Hi,
I am evaluating DB XML to see if I can store very large XML files in it
i.e. total size of data could be several hundred megabytes.
I have so far written some code to break up a large file (17 mb) into
smaller ones and link them using Xlink.
I have been able to load these files into a single container using DB
XML but when I try to perform any query on them I get the following
message:
BDB XML: Optimizer - Started parse
BDB XML: Optimizer - Finished parse, time taken = 30.856ms
BDB XML: Query - Starting query execution
Error executing query: com.sleepycat.dbxml.XmlException: Error: An
attempt was made to perform an axis step when the Context Item was not
a node [err:XPTY0020], errcode = XPATH_EVALUATION_ERROR
I am pretty sure my XML data is ok and I don't understand why the Xpath
part of the query should fail the node test.
Hope someone out there has some ideas?
thanks,
Ryan. |
|
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Tue Dec 02, 2008 1:51 pm | All times are GMT
|
|
Online Loans | Fast Loans | Mortgage Calculator | Free Myspace Comments | Mobile Phones
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|