robroos
17.01.05, 13:26
Hi dear Friends,
I am trying to get some kind of XML interface working with HomeServer.
However, it appears that in UDP messages the <> characters are changed into []. But when I specify [] in the text prefix or postfix it still doesnt work.
When I send following message :
Please read < for $ and > for % as the tags are otherwise interpreted wrong by the browser.
"$HSFILE%$OTEMP%8.1$/OTEMP%$/HSFILE%"
then in debug I see :
17.01.2005 12:53:39 (Typ: UDP) (Port: 1500) (Absender-IP: 10.0.0.26)
8.1
If I specify the [HSFILE] etc. in the Text Pre and post it still doesnt work.
When I send a UDP message from HS the <> are not translated and are received correctly in the socketlistener on my PC.
So, I tried to send different characters: *|;:=[]@$%&?<>
They are appearing in the debug log like : *|;:=[]@$%&?[] .
To be clear, when I do not use <> then the interface works without problems. But I would like to have the <> characters included.
Is this a bug or restriction on HomeServer ?
CORRECTION from myself : I made a mistake myself. The < and > are only displayed as [ and ] in the debug site.
It didnt work because I misplaced 1 character in the telegram and was confused by the debug site.
Lesson : Dont shout if you didnt double check.
Regards,
Rob Roos
I am trying to get some kind of XML interface working with HomeServer.
However, it appears that in UDP messages the <> characters are changed into []. But when I specify [] in the text prefix or postfix it still doesnt work.
When I send following message :
Please read < for $ and > for % as the tags are otherwise interpreted wrong by the browser.
"$HSFILE%$OTEMP%8.1$/OTEMP%$/HSFILE%"
then in debug I see :
17.01.2005 12:53:39 (Typ: UDP) (Port: 1500) (Absender-IP: 10.0.0.26)
8.1
If I specify the [HSFILE] etc. in the Text Pre and post it still doesnt work.
When I send a UDP message from HS the <> are not translated and are received correctly in the socketlistener on my PC.
So, I tried to send different characters: *|;:=[]@$%&?<>
They are appearing in the debug log like : *|;:=[]@$%&?[] .
To be clear, when I do not use <> then the interface works without problems. But I would like to have the <> characters included.
Is this a bug or restriction on HomeServer ?
CORRECTION from myself : I made a mistake myself. The < and > are only displayed as [ and ] in the debug site.
It didnt work because I misplaced 1 character in the telegram and was confused by the debug site.
Lesson : Dont shout if you didnt double check.
Regards,
Rob Roos