W3C home > Mailing lists > Public > www-math@w3.org > July 2003

Re: xsl transformation and special characters

From: Paul Libbrecht <paul@activemath.org>
Date: Fri, 04 Jul 2003 15:26:31 +0200
Message-ID: <3F058087.1090904@activemath.org>
To: www-math@w3.org

David Carlisle wrote:
>>we have observed that most browsers do honour always the encoding 
>>given in the file even though the server gives a different header
> 
> touchy subject that. The XML spec states _explictly_ that a browser
> should ignore the file and believe the server if they differ, lots of
> people think this is wrong as it's easy (say for XSLT) to put the right
> xml declaration in the file, but it's a lot harder for people to make
> sure when they upload to a server that it is served with the correct
> header. So many browsers ignore the spec and try to use the "right
> encoding". It's not at all clear that the spec is sensible here, but
> telling browser makers (one in particular:-) that ignoring the spec is
> OK sets a dangerous precedent,

In general, however, I think and hope the servers just DON'T send such 
headers.
If this spec is correct, I know no browser that is applying it (perheaps 
iCab) among the seven or eight I've met...

>>Maybe one of the reasons is that Emacs 20 was still widespread these 
>>last years...
> what other editors are there:-)

jEdit !
(and that's UTF-8 aware!)
Received on Friday, 4 July 2003 09:27:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:55 GMT