Hi WG,

In RFC 3195, page 15, the samples reads


---
 This would be relayed as follows:

         C: MSG 1 0 . 2235 242
         C: Content-Type: application/beep+xml
         C:
         C: <entry facility='160' severity='6'
         C:   hostname='bomb'
         C:   deviceFQDN='bomb.terrorist.net' deviceIP='10.0.0.83'
         C:   timestamp='Oct 22 01:00:04'
         C:  >&lt;166> 1990 Oct 22 01:00:00 bomb tick[0]: BOOM!</entry>
         C: END
         S: RPY 1 0 . 978 45
         S: Content-Type: application/beep+xml
         S:
         S: <ok/>
         S: END
---

Shouldn't that be

---
 This would be relayed as follows:

         C: MSG 1 0 . 2235 242
         C: Content-Type: application/beep+xml
         C:
         C: <entry facility='160' severity='6'
         C:   hostname='bomb'
         C:   deviceFQDN='bomb.terrorist.net' deviceIP='10.0.0.83'
         C:   timestamp='Oct 22 01:00:04'
         C:  >&lt;166&gt; 1990 Oct 22 01:00:00 bomb tick[0]:
BOOM!</entry>
         C: END
         S: RPY 1 0 . 978 45
         S: Content-Type: application/beep+xml
         S:
         S: <ok/>
         S: END
---

The difference is in this line:

         C:  >&lt;166&gt; 1990 Oct 22 01:00:00 bomb tick[0]:
BOOM!</entry>

I think the ">" needs to be escaped to &gt; - am I right?

Rainer


Reply via email to