Re: Fwd: Atom format interpretation question

2007-01-07 Thread Sam Ruby
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/ - Sam Ruby

Re: Fwd: Atom format interpretation question

2007-01-07 Thread James Holderness
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

Re: Fwd: Atom format interpretation question

2007-01-07 Thread James M Snell
Ahhh... a slight ambiguity presents itself. The treatment of text/ types in RFC 4287 is a bit underspecified. I've always worked off the assumption that text/* types do not require base64 encoding (that's what Abdera expects). - James James Holderness wrote: Sam Ruby wrote: James M Snell

Re: Fwd: Atom format interpretation question

2007-01-07 Thread Sam Ruby
James M Snell wrote: Ahhh... a slight ambiguity presents itself. The treatment of text/ types in RFC 4287 is a bit underspecified. I've always worked off the assumption that text/* types do not require base64 encoding (that's what Abdera expects). On second read, JamesH is right (as were

Re: Fwd: Atom format interpretation question

2007-01-05 Thread Bob Wyman
On 1/4/07, James M Snell [EMAIL PROTECTED] wrote: If the NewsML folks want to be able to use a proper mediatype to identify their stuff AND treat it as XML, they should come upwith an appropriate media type registration (e.g.application/newsml+xml, etc). Did the +xml convention ever get

Re: Fwd: Atom format interpretation question

2007-01-05 Thread Bjoern Hoehrmann
* Bob Wyman wrote: Did the +xml convention ever get formalized in some RFC? I know we all *think* that tacking +xml onto the end of something means that it is some use of XML, however, if I remember correctly, this little bit of syntax has never actually been formalized... Or have I missed

Re: Fwd: Atom format interpretation question

2007-01-05 Thread Joe Gregorio
On 1/5/07, Bob Wyman [EMAIL PROTECTED] wrote: On 1/4/07, James M Snell [EMAIL PROTECTED] wrote: If the NewsML folks want to be able to use a proper mediatype to identify their stuff AND treat it as XML, they should come upwith an appropriate media type registration

Re: Fwd: Atom format interpretation question

2007-01-05 Thread Asbjørn Ulsberg
On Fri, 05 Jan 2007 05:22:30 +0100, Tim Bray [EMAIL PROTECTED] wrote: John Cowan wrote: Am I right in thinking that content which is in fact in XML but is labeled with a media type that is neither generic XML nor ends in +xml cannot be included inline in an Atom entry? The NewsML community

Re: Fwd: Atom format interpretation question

2007-01-05 Thread Asbjørn Ulsberg
On Fri, 05 Jan 2007 05:56:29 +0100, James M Snell [EMAIL PROTECTED] wrote: If the NewsML folks want to be able to use a proper media type to identify their stuff AND treat it as XML, they should come up with an appropriate media type registration (e.g. application/newsml+xml, etc). - Or

Fwd: Atom format interpretation question

2007-01-04 Thread Tim Bray
Begin forwarded message: From: John Cowan [EMAIL PROTECTED] Date: January 4, 2007 8:08:06 AM PST (CA) To: [EMAIL PROTECTED] Subject: Atom format interpretation question Am I right in thinking that content which is in fact in XML but is labeled with a media type that is neither generic XML nor

Re: Fwd: Atom format interpretation question

2007-01-04 Thread James M Snell
If it's well-formed XML then I'd think dropping it into atom:content using type=application/xml would be acceptable. You'd just end up losing that bit of semantic metadata that tells you exactly what kind of XML it is. If you want to use the text/vnd.IPTC.NewsML media type to identify the type