W3C home > Mailing lists > Public > www-tag@w3.org > February 2002

Re: Revised Internet-Draft: Media Feature - xmlns

From: Mark Nottingham <mnot@mnot.net>
Date: Tue, 19 Feb 2002 16:20:07 -0800
To: "Simon St.Laurent" <simonstl@simonstl.com>
Cc: www-tag@w3.org, ietf-xml-mime@imc.org
Message-ID: <20020219162007.C27739@mnot.net>

I like Simon's proposal [1], with one important caveat;

  It's currently difficult/impossible to do HTTP content negotiation
  on an XML-based format unless you define a media type for it.

One could arrange to do negiotiation on Content-Features, but AFAIK
this isn't defined for HTTP, and certainly not implemented.

This seems at odds with XML's easy extensibility and the lost
overhead of using XML namespaces; to do conneg on any format that I
create, I have to write an I-D, get it approved as Informational, and
then register it with IANA.

Might I suggest that any revision of RFC3023 include a new parameter
for application/xml and text/xml (say, 'rootNS') that contains the
root element's namespace URI, to allow HTTP content negotiation with
current implementations? Yes, this won't address cases where there is
a need to negotiate on more than one namespace in the document, but
it will certainly help with the simple cases, where dispatch is based
upon the root element's namespace (which seems to be the direction
things are going in).

Cheers,


[1] http://www.ietf.org/internet-drafts/draft-stlaurent-feature-xmlns-01.txt


-- 
Mark Nottingham
http://www.mnot.net/
 
Received on Tuesday, 19 February 2002 19:20:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:04 GMT