- From: Philip Fennell <Philip.Fennell@marklogic.com>
- Date: Fri, 4 Nov 2011 07:06:14 -0700
- To: Alex Milowski <alex@milowski.org>, XProc Dev <xproc-dev@w3.org>
Alex, > Do you mean in the p:http-request step? Yes, I should have been a bit more explicit and given an example. > As such, I don't think any XProc implementation would support > such a protocol scheme. I was probably being a bit naive to assume that it would be that straight forward. > We should consider a step definition for SMTP. That'd probably be quite handy. Thanks for giving my question some thought. Regards Philip -----Original Message----- From: alex@milowski.com [mailto:alex@milowski.com] On Behalf Of Alex Milowski Sent: Friday, November 04, 2011 5:57 AM To: XProc Dev Subject: Re: Sending e-mails from a pipeline... On Thu, Nov 3, 2011 at 2:19 AM, Philip Fennell <Philip.Fennell@marklogic.com> wrote: > I was just experimenting with sending the result of a pipeline as an e-mail > and I got this response from Calabash: > > Severity: error > Description: protocol = mailto host = null > > Should I deduce from this that the mailto protocol is not supported? > Do you mean in the p:http-request step? Per the mailto RFC [1]: The "mailto" URL has unusual semantics because resolving such a URL does not cause an immediate interaction. Instead, the client creates a message to the designated address with the various header fields set as default. The user can edit the message, send this message unedited, or choose not to send the message. The operation of how any URL scheme is resolved is not mandated by the URL specifications. As such, I don't think any XProc implementation would support such a protocol scheme. We should consider a step definition for SMTP. [1] http://tools.ietf.org/html/rfc2368 -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote of Principles of Mathematics
Received on Friday, 4 November 2011 14:10:02 UTC