Re: CPIM and URIs
[email protected] (John D. Ramsdell)
| Newsgroups | gmane.ietf.impp |
|---|---|
| Message-ID | <[email protected]> |
Graham Klyne <[email protected]> writes: > You've lost me now. The syntax I mentioned allows exactly one '@' in > an im: URI. I was worried about URIs that contain the string "%40", the escaped version of '@'. The point I tried to make is that with your syntax, one cannot make use of a generic URI scheme specific part decoder. This is because '@' and "%40" both translate into the same code, so that '@' no longer can be relied on to separate the local part from the domain. Java provides the java.net.URI class that includes a method which supplies the decoded scheme specific part, the string that results after replacing each escaped sequence with its ASCII value. Let me emphasize, this is not a big issue with me. I just wanted to note one downside of your syntax. On another topic, an example I gave was flawed. > >... After removing the invisible characters from the following > >two examples, tell me how to separate the local part from the domain. > > > > a@[@\[@] > > > > "a@]"@[@] It should have been the following. a@[@\[@] "a@["@[@] John [reminder: [email protected] for non-technical discussions, please]