Home > Archive > dBASE Web Applications > November 2006 > Streaming text and XML









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Streaming text and XML
Christopher F. Neumann

2006-11-17, 7:12 pm

I am able to stream an XML result back, but I am trying to return just a
number. This is what I set up to stream text back:

Content-Type: text/plain
2


The problem I am having is IE wants to open/run webimage when this runs. Is
there something missing?


http://landisc.com/cgi-bin/webimage...wtown&ParcelID='B0301023'&ImageCounter=t
for text
http://landisc.com/cgi-bin/webimage...wtown&ParcelID='B0301023'&ImageCounter=x
for XML


--


Christopher F. Neumann

[dBASE Gold Charter Member 107]
Blue Star Visual dBASE graduate
IWA-HWG Web Technologies Certified
IWA-HWG Web Programming Certified
ICCP TCP/IP Network Analyst
Data Communications Engineer
IEEE-CS Affiliate
http://cfneumann.us

"Just hanging out on the Sagittarian arm of the Milky Way"


David Ball

2006-11-24, 7:13 pm

Hi Christopher

"Christopher F. Neumann" <chris@cfneumann.us> wrote

> I am able to stream an XML result back, but I am trying to return just a
> number. This is what I set up to stream text back:
> Content-Type: text/plain
> 2
> The problem I am having is IE wants to open/run webimage when this runs.

Is
> there something missing?


Sorry I don't know enough about XML / browser interactions, but in this
case,
one thing I could suggest would be to rename some things, as "webimage"
appears as the dBASE app name, an XML tag and as an XSD reference, whatever
that is. Perhaps IE is getting confused with all the webimages.

Are you doing this using dBASE and AJAX ?
(see
http://www.dbase.com/Knowledgebase/..._and_dbase.html )

Starting with their examples, I have created apps that return a small text
stream into an existing page and I have not had any problems with IE or
Firefox. Perhaps building yours in an AJAX framework would make the problem
go away?

IE, up to version 6, has not always been 100% standards-compliant. IE7 is,
supposely, closer to how things are supposed to be. Not sure if it applies
to _your_ problem, though.

Good luck
David Ball
www.ChelseaData.ca


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com