niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Berkeley DB
DB XML Xpath problem
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
ryan
*nix forums beginner


Joined: 22 Apr 2004
Posts: 8

PostPosted: Thu Jun 29, 2006 11:07 am    Post subject: DB XML Xpath problem Reply with 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
George Feinberg
*nix forums beginner


Joined: 21 Nov 2005
Posts: 11

PostPosted: Thu Jun 29, 2006 9:18 pm    Post subject: Re: DB XML Xpath problem Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Tue Dec 02, 2008 1:51 pm | All times are GMT
navigation Forum index » Databases » Berkeley DB
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts bounce problem murkis Postfix 0 Sun Oct 08, 2006 3:45 pm

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
[ Time: 0.3259s ][ Queries: 16 (0.2294s) ][ GZIP on - Debug on ]