Sam Ruby wrote:
James M Snell wrote:
If you want to use the text/vnd.IPTC.NewsML media type to
identify the type of XML, then you'd have to escape the markup and treat
it like text.
s/escape/Base64/
s/like text/as binary/
Are you sure? From RFC 4287, section 4.1.3.3:
5. If the value of "type" begins with "text/" (case insensitive), the
content of atom:content MUST NOT contain child elements.
6. For all other values of "type", the content of atom:content MUST be a
valid Base64 encoding, as described in [RFC3548], section 3.
In this case the type begins with "text/" so surely rule 5 applies, not rule
6.
Regards
James