XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] RE: Why does my browser treat the XML Schema documentat a URL as an XML document?

> The media (MIME) type in this 
> case is, as usual, specified by the server.

Resources have no intrinsic type, but their representations do.  Either
you negotiate for a type or you accept the default provided by the server.

When there is a choice, the default is _normally_ text/html, not some flavour of
xml.  Normally, but not in this case, because the server serves this xml with
a stylesheet which converts the xml to html in the browser.  But not all clients
are browsers, especially if they are requesting XML. 

Sometimes by context the client can know to negotiate for a particular type.
But in general, the client needs a hint regarding what to negotiate for, and this
is what @rel and @type are for.

Peter


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS