473,387 Members | 3,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

XPathReader bug?

I am using XPathReader 1.1, a free download:

http://msdn2.microsoft.com/en-gb/library/ms950778.aspx

....I am building C# on 64bit Windows 2k3, and I am having problems when I
use the XmlPathCollection.Add() method **after** I have already started using
"ReadUntilMatch()." Basically, all XPath expressions added dynamically this
way "after the fact" wil fail to match, unless they are EXACTLY of this form:

//<child>

So, it will fail if I do any of these:

//<child>/<grandchild>
//@<attribute>
../<child>

I thought perhaps there is some kind of "re-initialize" method I need to
call, but I can't find any such thing (nor does the literature suggest it).
I've also tried both forms of the XmlPathCollection.Add() method, one that
takes a string and the other a XmlPathQuery. Anyone run into this problem
before?

Nov 21 '06 #1
0 1114

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bnaya Eshet | last post by:
I do like XPath, I really do. But I'm working on the compact framework which XPath is not included. So I come to understanding that if XPath do not come to the mountain,
1
by: Steve Taylor | last post by:
I've got a custom XPathNavigator that encapsulates a stream. I'm using xpath expressions to seek forward to various positions within the stream. Using a limited set of xpaths, I can get my stream...
2
by: JerryShea | last post by:
My program runs out of memory when I do this: string filename = @"large.xml"; XPathDocument doc = new XPathDocument(filename); XPathNavigator nav = doc.CreateNavigator(); XPathNodeIterator...
1
by: CodeMonkey | last post by:
Hi, I am reading values from an Xml file using XPathDocument / NodeIterators etc. My question is, is it possible to retrieve the XML for a node as a string so that i can use XML Serialization...
1
by: Damon Allison | last post by:
Hello, My program is being sent a large XML file, anywhere between 500k - 1MB. Of the entire file, I need to allow a user to view/edit approximately 5% of it. To make matters a bit more...
1
by: John A Grandy | last post by:
I've got an app that has hundreds of medium-sized (100s of elements) XML files on disk (not in db). Right now these are loaded via XMLDocument.Load and searched with XPATH. The performance has...
5
by: Julia | last post by:
Strategy to read part of XML log file Hi, My log file will contains entries formatted as XML(i use this format since some time i would like to log entire objects) I am going to use ...
5
by: John A Grandy | last post by:
In 2.0 what is the fastest way to iterate through an element set in a read-only forward-only XMLDocument ? For example , load the key/value pairs in the following xml doc into a hashtable : ...
0
by: billsahiker | last post by:
Where is XPathReader 1.1 available for download? I have 1.0 and found the 2005 MS announcement for 1.1 but the link was for godotnet which no longer exists. Nothing shows up in a search at the MS...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.