TCPConnect strange behaviour
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57045
interpreted = N
texte = Hi everyone,When I access an XML page via browser, everything is fine. When I do thesame via [TCPConnect] everything is ALMOST fine.In only one area of the XML, it randomly adds in a couple of extra carriagereturns with a few odd characters in the middle. No problem. I used grep toget rid of them. Trouble is, now these random acts of carriage return areembedding themselves in the actual XML tags, which is what [middle] uses toget the data I need.Has anyone ever experience this kind of behaviour?Here's URL:http://xoap.weather.com/weather/local/ASXX0057?cc=*&dayf=2Here's WebDNA:[text]crlf=[unurl]%0D%0A[/unurl][/text][tcpconnect host=xoap.weather.com&port=80][tcpsend skipheader=T]GET /weather/local/ASXX0057?cc=*&dayf=2HTTP/1.1[crlf][!][/!]Host: xoap.weather.com[crlf][!][/!][crlf][!][/!][/tcpsend][/tcpconnect]Here's the offending output:
28 Mostly Cloudy1f0t>Should be: 28 Mostly CloudyNOTE: the problem is that it occurs in different places with differentcharacters...Any help/comments appreciated.Regards,Tim-- Tim Robinsonidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +612 9908 4837-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi everyone,When I access an XML page via browser, everything is fine. When I do thesame via [tcpconnect] everything is ALMOST fine.In only one area of the XML, it randomly adds in a couple of extra carriagereturns with a few odd characters in the middle. No problem. I used grep toget rid of them. Trouble is, now these random acts of carriage return areembedding themselves in the actual XML tags, which is what [middle] uses toget the data I need.Has anyone ever experience this kind of behaviour?Here's URL:http://xoap.weather.com/weather/local/ASXX0057?cc=*&dayf=2Here's WebDNA:[text]crlf=[unurl]%0D%0A[/unurl][/text][tcpconnect host=xoap.weather.com&port=80][tcpsend skipheader=T]GET /weather/local/ASXX0057?cc=*&dayf=2HTTP/1.1[crlf][!][/!]Host: xoap.weather.com[crlf][!][/!][crlf][!][/!][/tcpsend][/tcpconnect]Here's the offending output: 28 Mostly Cloudy1f0t>Should be: 28 Mostly CloudyNOTE: the problem is that it occurs in different places with differentcharacters...Any help/comments appreciated.Regards,Tim-- Tim Robinsonidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +612 9908 4837-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Tim Robinson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
search double negative comparison (2001)
Allow-Deny: Solved with [Getchars] (1998)
WebCatalog2 Feature Feedback (1996)
search form problem.. (1997)
RE: 2nd WebCatalog2 Feature Request (1996)
Max Record length (1997)
Multiple prices (1997)
WebCatalog 2.0 b 15 mac (1997)
Character limit in [Search]? (1998)
Problems with webcat 2.01 for NT (1997)
Boolean Tests with dereferenced arrays are broken in (2003)
refreshing IE with posted .tmpl (1997)
Protect vs Authenicate (1997)
Bannerad Demo (1998)
Trouble with formula.db (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
(1997)
WebCat2b13MacPlugIn - [include] (1997)
authenticating a second user (1997)
[WebDNA] Version 7 Config problem (2011)