Re: CPIM and URIs

[email protected] (John D. Ramsdell)
Newsgroups gmane.ietf.impp
Message-ID <[email protected]>
Graham Klyne <[email protected]> writes:

> >In addition, I am unclear about the issue of quoting.  As I understand
> >RFC 2822 and RFC 2396,
> >
> >     "John D. Ramsdell"@mitre.org
> >
> >is a valid Email address, but
> >
> >     im:"John D. Ramsdell"@mitre.org
> >
> >is not a valid URI.  One must write
> >
> >     im:%22John%20D.%20Ramsdell%[email protected]
> >
> 
> I would then say that the correct form of your example URI should be:
> 
>      im:John%20D.%[email protected]
> 
> #g

Just to be perfectly clear, I would like to understand the
implications of your encoding of an Email address as a URI.

When given an opaque URI, one can compute the decoded scheme specific
part, which is a string in which all the % escaped characters are
replaced by their ASCII values.

Given a valid email address, one can also compute a decoded string in
which all the invisible characters in an email address are removed.

Graham, does the following statement correctly describe the essential
property of an instant inbox URI encoding you have in mind?

  URI u encodes an email address e as an instant inbox URI if and only
  if all of the following are true:

        * The scheme of u is the string "im".

        * The decoded scheme specific part of u is identical to e
          after all invisible characters in e are removed.

        * The fragment part of u is absent.

If so, I think it would be helpful to spell this out in CPIM.

John


  [reminder: [email protected] for non-technical discussions, please]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.