When I was having a similar problen, I found a resource on the net that
would parse XML and return much better error messages than RB was. I don't
remember the site at the moment, but here's one you might try... 
http://www.javacommerce.com/displaypage.jsp?name=parser.sql&id=18238

Steve
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc
Zeedar
Sent: Wednesday, April 05, 2006 2:36 PM
To: REALbasic NUG
Subject: Re: What's a "malformed XML, invalid token" error? (CDATA doesn't
help)


Okay, now I'm REALLY puzzled.

Based on suggestions here, I explored the CDATA approach; it appears the
CDATA commands DO exist in RB5.5 -- they just aren't in the language
reference. Nice.

It was a simple change to make the text save as CDATA instead of a text
node; however, this caused no change -- the file generates the same
XMLException on open except now it's claiming the error is in line 1 (which
is the XML header and is the same as always).

The only thing I can think of now is bad data inside an Attribute value (I
do use those heavily). However, in my earlier testing, those seemed to
handle Unicode (i.e Japanese text) just fine and the file in question seems
to be just regular English text. Are there characters I can't use iniside
Attributes?

Any other ideas?


--
Marc Zeedar
Publisher
REALbasic Developer Magazine
http://www.rbdeveloper.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to