[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] Why does my browser treat the XML Schema document ata URL as an XML document?
- From: "Rushforth, Peter" <Peter.Rushforth@NRCan-RNCan.gc.ca>
- To: Richard Salz <rsalz@us.ibm.com>
- Date: Mon, 10 Sep 2012 14:49:39 +0000
Rich,
I understood you perfectly. Maybe there should be a content-type for a W3C XML Schema document?
The W3C web server serves it as xml, and through sleight of hand (xml-stylesheet), as html too. The normal config for a web server
that wanted to serve two or more formats for a resource would be to negotiate for the format and serve it as application/xml *and* text/html.
Peter
Peter,
> It's just that there's no media type apart from application/xml to go with it.
Exactly what I said when I answered Roger. There is no content-type for a W3C XML Schema document. So a properly configured web server can do nothing but say "it's XML."
Sorry if I was too terse or not clear.
/r$
--
STSM, WebSphere Appliance Architect
https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/
> https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]