[Home] [By Thread] [By Date] [Recent Entries]
> I don't understand what this means. For example, xsi:schemaLocation?
xsi:schemaLocation _is_ a typed link, the type is implied by the design/context of this attribute. It's just that
there's no media type apart from application/xml to go with it.
Regarding
http://www.w3.org/2001/xml, when accessed with no media type preference, you get application/xml
with an xml-stylesheet PI which styles the result to HTML. However, most
'properly configured web servers' would
provide an html representation and an xml representation, and not use the
xml-stylesheet trick.
Take xsi:schemaLocation="http://www.w3.org/2001/xml" On
a 'properly configured web server', there would be
different representations of that resource, and it would be up to the client
to negotiate for the right one. There
would likely be a default representation, one which would be served in
the absence of an Accept header, or where
the media type ranges provided by the Accept value could not be honoured.
Mostly on the web this is text/html,
but where the most common use is in an xml toolchain it makes sense to
make the default application/xml,
as is the case here.
> The content-type of a resource is independant of any entity which links to it.
Yes. But there can be more than one view of that content type.
Cheers,
Peter
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



