[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xml over http - RFC 3023

  • From: Julian Reschke <julian.reschke@g...>
  • To: Andrew Welch <andrew.j.welch@g...>
  • Date: Thu, 27 Nov 2008 13:34:46 +0100

Re:  xml over http - RFC 3023
Andrew Welch wrote:
> Hi all,
> 
> There's a very good article here about the problem of reading feeds
> from all over the world in different encodings:
> 
> http://www.xml.com/pub/a/2004/07/21/dive.html
> 
> It describes how you (sometimes) have the encoding in the http content
> type but also the encoding in the xml prolog, and the problems of
> choosing which to use.
> 
> It also talks of RFC 3023 which sounds like it was an attempt to sort
> it out.  The article is dated July 2004 and I'm wondering if there's
> any more recent information?  Is there any support in modern parsers -
> for example can I give the parser a URL and it takes care of the rest?

I think many parsers can read from a web resource, but few use the 
encoding information from the content type.

> At the moment it all seems pretty complicated... especially
> considering XML was designed for the web.  The problem of parsing
> feeds from all over the world must have tackled a few times over by
> now?

There's a related HTTPbis issue -- HTTP/1.1 (RFC 2616) defines a default 
encoding for text/* -- in retrospective a bad idea, at least for XML -- 
see <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/20>.

Of course the simple workaround is not to use a text/* content type (so 
this is one of the many problems you don't have with Atom).

BR, Julian


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.