Hello again, It looks as if these types aren't being marshalled properly in the SDP library. (They should be treated identically to SDP_TEXT_STR.) The current code causes 1 byte too many to be allocated to them in the marshalled form which results in garbage when it is read out of the buffer. The attached patch treats them the same as SDP_TEXT_STR, aside from the DTD of course. Cheers, Steve