dbTalk Databases Forums  

DB XML Xpath problem

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss DB XML Xpath problem in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ryan
 
Posts: n/a

Default DB XML Xpath problem - 06-29-2006 , 06:07 AM






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.


Reply With Quote
  #2  
Old   
George Feinberg
 
Posts: n/a

Default Re: DB XML Xpath problem - 06-29-2006 , 04:18 PM






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 (AT) sleepycat (DOT) 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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.