🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #633

Re: TCppWebrowser xml combination problems

#633
From: Danny Abbenhuis
Date: Tue, 06 Jun 2006 07:57
38 lines
2669 bytes
Sure, I'could and it would be a sollution, but it is not quit the one I am 
looking for. The sollution i use at this moment ought to work correctly and 
should not
give me any problems, it would be nice if anyone could tell me what the 
problem or give me alternative sollutions, other than parsing the file 
myself.

Offcourse i've done some more testing and it appears that whenever opening 
any xml file (also whithout stylesheets) that is larger than 4k gives 
problems at some point.
Sometimes the file can be openen over a hundred times seemingly without any 
problems, but at a certain point the application will crash, either after 
several time or after several hundreds of time.

Going into a deeper study of the problem I've used AQTime to check what 
exactely happens and it appears that whenever a xml file over 4k is opened 
in de webbrowser several exceptions are generated in  the msxml.dll file. 
Propebly these exceptions are handled in some way, because the application 
is able to continue, but at the end it goes wrong some time. When opening 
xml files under 4k nothing seems to be wrong.

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> schreef in bericht 
news:44807fc6$3@newsgroups.borland.com...
>
> "Danny Abbenhuis" <d_j_daan@hotmail.com> wrote in message
> news:447fd208@newsgroups.borland.com...
>
>> we are using a webbrowser because the xml file to print
>> contains stylesheets. Simply send the file to printer doesn't
>> apply the stylesheets.
>
> You could parse and apply the stylesheet manually when writing directly to
> the printer..
>
>
> Gambit
>
> 
Technical Details
Message-ID: <448535ec@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <447eadbe@newsgroups.borland.com> <447eb24c$1@newsgroups.borland.com> <447fd208@newsgroups.borland.com> <44807fc6$3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,63922eaac5b0c033
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Danny Abbenhuis" <d_j_daan@hotmail.com>
From: "Danny Abbenhuis" <d_j_daan@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <447eadbe@newsgroups.borland.com> <447eb24c$1@newsgroups.borland.com> <447fd208@newsgroups.borland.com> <44807fc6$3@newsgroups.borland.com>
Subject: Re: TCppWebrowser xml combination problems
Date: Tue, 6 Jun 2006 09:57:42 +0200
Lines: 40
Organization: Moba B.V.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 212.142.8.15
Message-ID: <448535ec@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1149580780 212.142.8.15 (6 Jun 2006 00:59:40 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail