This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7538 - Media Type for xhtml document should be application/xhtml+xml
Summary: Media Type for xhtml document should be application/xhtml+xml
Status: RESOLVED FIXED
Alias: None
Product: Amaya
Classification: Unclassified
Component: Templates (show other bugs)
Version: 11.2
Hardware: PC Linux
: P4 enhancement
Target Milestone: ---
Assignee: Emilien Kia
QA Contact: Vatton
URL: http://www.faqs.org/rfcs/rfc3236.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-07 18:03 UTC by Philippe Cochy
Modified: 2016-10-06 11:02 UTC (History)
7 users (show)

See Also:


Attachments

Description Philippe Cochy 2009-09-07 18:03:34 UTC
The media type application/xhtml+xml, conversely to text/html allows to build a composed document with, for example, a SVG namespace.
The RFC 3236 describe this media type.
Note that it is NOT application/xml+xhtml as sometimes inserted inside a head meta tag by Amaya.
Browsers assume that .xhtml files are application/xhtml+xml. This suffix should be applied for new xhtml documents.

Thanks a lot for AMAYA, that I use to build these xhtml sites:
http://cll-corse.org
http://corsica.bz
http://levante.fr
http://pecita.com
http://pecita.eu

An this svg site :
http://pecita.fr

Regards,
Philippe Cochy
Comment 1 Vatton 2009-11-12 09:29:10 UTC
(In reply to comment #0)
> The media type application/xhtml+xml, conversely to text/html allows to build a
> composed document with, for example, a SVG namespace.

Not sure that new IE versions support this media type

> The RFC 3236 describe this media type.
> Note that it is NOT application/xml+xhtml as sometimes inserted inside a head
> meta tag by Amaya.

As I know Amaya generates application/xhtml+xml

> Browsers assume that .xhtml files are application/xhtml+xml. This suffix should
> be applied for new xhtml documents.
> 
> Thanks a lot for AMAYA, that I use to build these xhtml sites:
> http://cll-corse.org
> http://corsica.bz
> http://levante.fr
> http://pecita.com
> http://pecita.eu
> 
> An this svg site :
> http://pecita.fr
> 
> Regards,
> Philippe Cochy
>