- From: Norman Walsh <ndw@nwalsh.com>
- Date: Wed, 29 Jul 2009 09:34:39 -0400
- To: XProc Dev <xproc-dev@w3.org>
Received on Wednesday, 29 July 2009 13:35:23 UTC
"Toman_Vojtech@emc.com" <Toman_Vojtech@emc.com> writes:
> Um. What kind of filesystem are you using that tells you the content
> type?
I run everything through java.net.URL for consistency since a p:data
URI can be any protocol.
Opening a connection to a file: URI reports a content type, presumably
based on what the OS reports. For a .txt file, it reports text/plain,
at least on my Mac.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Who knows whether the best of men be
http://nwalsh.com/ | known? or whether there be not more
| remarkable persons forgot, than any
| that stand remembered in the known
| account of time.--Sir Thomas Browne
Received on Wednesday, 29 July 2009 13:35:23 UTC