forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


XMLDOC possible BUG

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
uvedese
Contributor
Contributor


Joined: 21 Jan 2006
Posts: 159
Location: Spain

PostPosted: Sun Feb 07, 2010 3:15 pm    Post subject: XMLDOC possible BUG Reply with quote

Hi guys Smile

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 "&lt;" and "&gt;", ... but when VDS finds "><" only encodes the first character and we obtain a registration error: "&gt;<" Crying or Very sad

The only solution: the VDS program itself must replaces "<" and ">".

Does anyone have any alternatives? Question

Thank in advance
_________

uVeDeSe
_________
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2144
Location: A House

PostPosted: Sun Feb 07, 2010 6:03 pm    Post subject: Reply with quote

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.)
Necroprogramming FTW! - "Wait.. Is necroprogramming legal?"
http://www.freewarehome.com <-- Freeware listings since 1996
Back to top
View user's profile Send private message
stewcam
Newbie


Joined: 30 Sep 2006
Posts: 20

PostPosted: Mon Feb 08, 2010 1:36 am    Post subject: Reply with quote

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
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Tue Feb 09, 2010 10:07 pm    Post subject: Reply with quote

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 (&gt &lt). 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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group