[
Lists Home |
Date Index |
Thread Index
]
- To: "bryan" <bry@itnisk.com>,<xml-dev@lists.xml.org>
- Subject: RE: [xml-dev] mime types and xml dialects
- From: "Chris Wilper" <cwilper@cs.cornell.edu>
- Date: Fri, 19 Sep 2003 10:35:53 -0400
- Thread-index: AcN+mdFsLuMkjvwBTtihQoFBDx0D0wAIBKrA
- Thread-topic: [xml-dev] mime types and xml dialects
HTTP 1.1 has content negotation:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html#sec12
But you might be after something simpler.
Ideally your xml-based formats would have their own media types,
and the fact that they end in "+xml" (as they should) would
signal to a client that they can be processed in either a
specialized or generic way.
- Chris
-----Original Message-----
From: bryan [mailto:bry@itnisk.com]
Sent: Friday, September 19, 2003 6:32 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] mime types and xml dialects
Hi,
When returning a mime type of a resource, if that resource is a dialect
of xml then the more general type is text/xml but the more specific type
can be application/rdf+xml which in turn can be even more closely
specified as a subset of RDF.
Currently what I'm doing is returning text/xml for generic xml
documents, and application/rdf+xml for all dialects of rdf; what I'm
considering is the possibility of adding http headers that specify that
there is a range of mime types possible for a resource, and their
likelihood of being the best type for a resource.
Anyone done anything with that, pointers to discussions, projects and
similar stuff in the past would be helpful.
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
|