[Mod_transform] meta tag created but not wanted, and not ended
Edward Rudd
urkle at outoforder.cc
Tue Dec 7 18:57:51 EST 2004
On Tue, 2004-12-07 at 10:45, Stanislas Ormieres wrote:
> Thank you for your quick answer, now it is better... but (I am sorry for
> this 'but') I get this message from mozilla and firefox :
>
[snip]
> > Adding the following should 'fix' it:
> > <xsl:output
> > method="xml"
> > version = "1.0"
> > encoding="UTF-8"
> > omit-xml-declaration="no"
> > indent="yes"
> > doctype-public="-//W3C//DTD XHTML 1.1//EN"
> > doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
> > />
Add an attribute of media-type="text/html" to the xsl:output tag.
*side note* the media-type SHOULD be application/xhtml+xml, however
Microsoft IE does not accept that mime type as it should. Only
Mozilla/firefox, opera, and safari correctly accept that mime-type.
The solution that outoforder.cc is using is not specifying the
media-type parameter, and using mod_xhtml_neg with the following
configuration
AddType text/html .xml
XhtmlNegActive On
XhtmlNegTypes .xml application/xhtml+xml;charset=UTF-8 text/html;q=0.7
XhtmlNegStarsIgnore 2
--
Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_transform/attachments/20041207/914ca077/attachment.bin
More information about the Mod_transform
mailing list