Bjoern Hoehrmann wrote:
* Carsten Orthbandt wrote:
Bjoern Hoehrmann schrieb:
Why don't you use less &, <, and ]]> sequences in the content and wrap
it into <x>...</x>?
If my response body is (literal example)

---snip---
ut:7325
ubc:0
---snap---

there's obviously some hesitation to wrap that as

---snip---
<?xml version="1.0"?>
<x>
ut:7325
ubc:0
</x>
---snap---

It would be sufficient to use <x>ut:7325,ubc:0</x>. The massive amount
of overhead generated by the connection setup and request and response
headers hardly compare to those 7 bytes.

Or even

  <x ut="7325" ubc="0"/>

, removing the need for a custom parser.

Best regards, Julian

Reply via email to