View previous topic :: View next topic |
Author |
Message |
uvedese Contributor


Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Sun Feb 07, 2010 3:15 pm Post subject: XMLDOC possible BUG |
|
|
Hi guys
I'm working on a new program that saves data in an XML structure. The data are bit of HTML code.
When data is encoded using ISO-8859-1 characters "<" and ">" are codified into "<" and ">", ... but when VDS finds "><" only encodes the first character and we obtain a registration error: "><"
The only solution: the VDS program itself must replaces "<" and ">".
Does anyone have any alternatives?
Thank in advance
_________
uVeDeSe
_________ |
|
Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sun Feb 07, 2010 6:03 pm Post subject: |
|
|
I have yet to use the XML features of VDS myself. I've always made my own parse routine for processing HTML or XML from within VDS.
Maybe not the solution you were hoping for but at least a solution if no other solution can be found. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
 |
stewcam Newbie
Joined: 30 Sep 2006 Posts: 21
|
Posted: Mon Feb 08, 2010 1:36 am Post subject: |
|
|
I did try using the XML features of VDS6 in a project last year. In the end I found it was more effective and quicker to manipulate the data as text using Dread's excellent StringDLL. |
|
Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Tue Feb 09, 2010 10:07 pm Post subject: |
|
|
I moved this to the General Help forum since this is not a bug. The XMLDOC commands and functions do not convert the XML and they expect the XML to be well formed meaning they expect the >< to be the actual character and not the HTML equivalent (> <). When extracting the XML from the HTML you should search and replace all the HTML equivalent values with their real values before sending the XML to the XMLDOC commands and functions. _________________ Home of
Give VDS a new purpose!
 |
|
Back to top |
|
 |
|