W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2009

RE: Dealing with encodings and file: URIs

From: <Toman_Vojtech@emc.com>
Date: Wed, 29 Jul 2009 08:39:56 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7871055EB70@CORPUSMX10A.corp.emc.com>
To: <xproc-dev@w3.org>
> So you try again:
>   <p:data href="windows-1252.txt">
>           content-type="text/plain; charset=windows-1252"/>
> And much to your surprise, you get a botched file again.
> Why?
> Because the implementation of p:data opens windows-1252.txt and the
> filesystem reports that the content type is "text/plain" (without any
> encoding because how can the filesystem tell?)
> "Server" metadata is authoritative so the charset that you specified
> is discarded.

Um. What kind of filesystem are you using that tells you the content
Or are you talking about HTTP here (because you mention a server)?

Received on Wednesday, 29 July 2009 12:40:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 July 2009 12:40:45 GMT