Benoit Minisini wrote:
> 
> hXmlDoc.HTMLFromString(sHTML)

Thank you for your reply. I setup a quick test app and using the 
http://www.google.co.uk google  homepage HTML gives me lots of errors when i
call:

hXmlDoc.HTMLFromString(sHTML)

The errors are:
HTML parser error : Tag nobr invalid
age().src='/images/nav_logo3.png'" topmargin=3 marginheight=3><div
id=gbar><nobr
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
r><nobr>Web  "http://images.google.co.uk/imghp?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
r.qs(this) class=gb1 Images   "http://maps.google.co.uk/maps?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
ar.qs(this) class=gb1 Maps   "http://news.google.co.uk/nwshp?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
bar.qs(this) class=gb1 News   "http://www.google.co.uk/prdhp?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
.qs(this) class=gb1 Shopping   "http://mail.google.com/mail/?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
ll &#9660;</small> <div id=gbi>  "http://video.google.co.uk/?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
qs(this) class=gb2 Video   "http://groups.google.co.uk/grphp?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
qs(this) class=gb2 Groups   "http://books.google.co.uk/bkshp?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
s(this) class=gb2 Books   "http://scholar.google.co.uk/schhp?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
is) class=gb2 Scholar   "http://finance.google.co.uk/finance?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
s(this) class=gb2 Finance   "http://blogsearch.google.co.uk/?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
 class=gb2 <div class=gbd></div></div>  "http://uk.youtube.com/?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
) class=gb2 YouTube   http://www.google.com/calendar/render?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
wc Calendar   "http://picasaweb.google.co.uk/home?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
ck=gbar.qs(this) class=gb2 Photos   "http://docs.google.com/?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
 class=gb2 Documents   http://www.google.co.uk/reader/view/?hl=en&tab
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
/?hl=en&tab=wy Reader   http://sites.google.com/?hl=en&tab
                                                                              
^
HTML parser error : Tag nobr invalid
<div align=right id=guser style= <nobr
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
r style="font-size:84%;padding:0 0 4px" width=100%><nobr> /url?sa=p&pref
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
 <nobr> /url?sa=p&pref=ig&pval
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
t-size:84%;padding:0 0 4px <nobr> /url?sa=p&pref=ig&pval=3&q
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
l?sa=p&pref=ig&pval=3&q=http://www.google.co.uk/ig%3Fhl%3Den%26source%3Diglk&usg
                                                                              
^
HTML parser error : htmlParseEntityRef: expecting ';'
href= 
-- 
View this message in context: 
http://www.nabble.com/Web-application---CURL-and-Cookies--tp20435022p20792906.html
Sent from the gambas-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to