ZodKneelsFirst
Member
- Joined
- Jul 18, 2004
- Messages
- 8
- Programming Experience
- Beginner
Hi.
Getting XML from Google Desktop.
URL works from a browser, so that is correct.
I create a XmlTextReader using the url.
When I do
xmlDoc.Load(xmlReader) I get:
This is an unexpected token. Expected 'WHITESPACE'. Line 1, position 62.
However, accessing the same code segment remotely on a different machine seems to work fine.
The problem is I don't even know where to start with this, and seem to have been going round in circles for days.
I've read a couple of posts saying that GD produces invalid characters. Does anyone know if that's true? If so, how do I proceed. All the parsers I've seen check for well formed XML, not for invalid chars.
Also tried copying source from the browser to a xml file and loading the xmlDoc from there. This works OK.
Could it be something to do with a style sheet setting?
I've never begged on a message board before, but please, please help me.
Getting XML from Google Desktop.
URL works from a browser, so that is correct.
I create a XmlTextReader using the url.
When I do
xmlDoc.Load(xmlReader) I get:
This is an unexpected token. Expected 'WHITESPACE'. Line 1, position 62.
However, accessing the same code segment remotely on a different machine seems to work fine.
The problem is I don't even know where to start with this, and seem to have been going round in circles for days.
I've read a couple of posts saying that GD produces invalid characters. Does anyone know if that's true? If so, how do I proceed. All the parsers I've seen check for well formed XML, not for invalid chars.
Also tried copying source from the browser to a xml file and loading the xmlDoc from there. This works OK.
Could it be something to do with a style sheet setting?
I've never begged on a message board before, but please, please help me.
Last edited: