W3C home > Mailing lists > Public > site-comments@w3.org > February 2008

Wrong Content-Type for RELAX NG schemas

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sat, 16 Feb 2008 19:35:46 +0200
Message-Id: <84D5EE11-F6D5-46AA-877C-D4F2F020C748@iki.fi>
To: site-comments@w3.org

Hi,

w3.org is sending .rng files (e.g. http://www.w3.org/Graphics/SVG/1.2/rng/Tiny-1.2/Tiny-1.2.rng) 
  and .rnc files (e.g. http://www.w3.org/TR/2006/WD-its-20060222/its.rnc) 
  as text/plain. This prevents processing by agents that honor  
Authoritative Metadata:
http://www.w3.org/2001/tag/doc/mime-respect

.rng is XML but doesn't have a specific */*+xml type. Therefore, the  
most appropriate MIME type for .rng is application/xml. .rnc has a  
registered MIME type:
http://www.iana.org/assignments/media-types/application/relax-ng-compact-syntax

Best regards,
-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Saturday, 16 February 2008 17:36:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:30 GMT