Re: [jdev] Re: Question on XMPP URIs?

2006-12-15 Thread Tomasz Sterna
Dnia 15-12-2006, pią o godzinie 18:22 +0100, Jacek Konieczny napisał(a): > In most cases users don't need to see the URIs and application and web > site developers should know what they are doing. Yeah... Right... But it's a REAL world we're living in... -- Tomasz Sterna Xiaoka Grp. http://www.

Re: [jdev] XHTML-IM XEP implementation

2006-12-15 Thread Bernhard Zwischenbrugger
Depends on encoding   is encoding="us-ascii" > Is it possible to use   ? > > UTF-8 does not allow   use   Bernhard

Re: [jdev] XHTML-IM XEP implementation

2006-12-15 Thread Oleg Motienko
On 12/15/06, Tomasz Sterna <[EMAIL PROTECTED]> wrote: And last, but not least... HTML is squashing whitespace. So.. Bye bye indentation. All pasted code, tables etc. ends up completely unreadable. Is it possible to use   ? -- Regards, Oleg

RE: [jdev] Re: XHTML-IM XEP implementation

2006-12-15 Thread JD Conley
We (especially Chris Mullins) also brought this up many many many many many many many times during the experimental stages of this XEP Of course, there is nothing stopping you from creating a XHTML-Body XEP that allows free form... -JD > -Original Message- > From: [EMAIL PROTECTED] [

Re: [jdev] Re: Question on XMPP URIs?

2006-12-15 Thread Jacek Konieczny
On Fri, Dec 15, 2006 at 02:51:41PM +0100, Tomasz Sterna wrote: > There's to much ambiguity in this form. > xmpp:[EMAIL PROTECTED] and xmpp://[EMAIL PROTECTED] look to similar. But they are different. Like http://www.xmpp.org/ is different than mailto:[EMAIL PROTECTED] And in most cases xmpp://[EMA

[jdev] Re: XHTML-IM XEP implementation

2006-12-15 Thread Alexander Gnauck
Hi Tomasz, i brought up this discussion multiple times in the past. As you said creating the X-HTML is the biggest problem. Another problem is that we allow only a small subset of tags and attributes. There are toolkits which you can use to create (X)HTML, but the output is not valid accordin

[jdev] Re: Question on XMPP URIs?

2006-12-15 Thread Magnus Henoch
Tomasz Sterna <[EMAIL PROTECTED]> writes: > Dnia 15-12-2006, pią o godzinie 13:38 +0100, Magnus Henoch napisał(a): > >> Speaking of which, I want to encourage client authors to support the >> form xmpp://[EMAIL PROTECTED] to mean "set up this account for use". > > > -1 > > There's to much ambiguit

[jdev] Re: Question on XMPP URIs?

2006-12-15 Thread Magnus Henoch
Ralph Meijer <[EMAIL PROTECTED]> writes: > Interesting use case. However, I would expect something more along the > lines of the following: > >xmpp://example.com/[EMAIL PROTECTED] > > or >xmpp://example.com/example.com?register;username=test > > or, as I am not too fond of actions inside U

[jdev] XHTML-IM XEP implementation

2006-12-15 Thread Tomasz Sterna
Hi. I am wondering, whether we didn't shoot our foot with this spec. I'm implementing it now, and it's a real PITA. It's clear for me now, why many clients implemented reading XHTML-IM messages, but not writing them. To display it, you just put an HTML-enabled text control from your GUI toolkit o

Re: [jdev] Re: Question on XMPP URIs?

2006-12-15 Thread Tomasz Sterna
Dnia 15-12-2006, pią o godzinie 13:38 +0100, Magnus Henoch napisał(a): > Speaking of which, I want to encourage client authors to support the > form xmpp://[EMAIL PROTECTED] to mean "set up this account for use". -1 There's to much ambiguity in this form. xmpp:[EMAIL PROTECTED] and xmpp://[EMAI

Re: [jdev] Re: Question on XMPP URIs?

2006-12-15 Thread Ralph Meijer
On Fri, 2006-12-15 at 13:38 +0100, Magnus Henoch wrote: > Ralph Meijer <[EMAIL PROTECTED]> writes: > > > If you wanted to have a specific service to connect to before accessing > > the resource, you'd do: > > > > xmpp://[EMAIL PROTECTED]/[EMAIL PROTECTED]/Home > > > > This means: open an XMPP

Re: [jdev] Question on XMPP URIs?

2006-12-15 Thread Norman Rasmussen
On 12/15/06, Ishan De Silva <[EMAIL PROTECTED]> wrote: Is there a way that we can map an XMPP URI to the general URI format where we don't have the "node@" component? I mean can we have xmpp://example.com/node/Home? Are you thinking for example pubsub nodes? xmpp:pubsub.jabber.org/node/over/he

[jdev] Re: Question on XMPP URIs?

2006-12-15 Thread Magnus Henoch
Ralph Meijer <[EMAIL PROTECTED]> writes: > If you wanted to have a specific service to connect to before accessing > the resource, you'd do: > > xmpp://[EMAIL PROTECTED]/[EMAIL PROTECTED]/Home > > This means: open an XMPP connection to the server at example.org using > account 'test', and then

Re: [jdev] Question on XMPP URIs?

2006-12-15 Thread Ralph Meijer
On Fri, 2006-12-15 at 13:08 +0100, Ralph Meijer wrote: > Complementing Cecil Sorry, I meant Cedric. Misfired neuron, probably. -- Groetjes, ralphm

Re: [jdev] Question on XMPP URIs?

2006-12-15 Thread Ralph Meijer
On Fri, 2006-12-15 at 16:38 +0530, Ishan De Silva wrote: > Hi, > > Generally a URI is of the form "scheme://authority/path". For example > http://www.example.com/index.html > > A JID is of the form [EMAIL PROTECTED]/resource. If we have a JID > [EMAIL PROTECTED]/Home, according to RFC 4622, the

Re: [jdev] Question on XMPP URIs?

2006-12-15 Thread Cedric Hyppolite
Hi, This page from the Java doc gives an short non java related introduction on URI http://java.sun.com/j2se/1.4.2/docs/api/index.html -Quote- A hierarchical URI is subject to further parsing according to the syntax [scheme:][//authority][path][?query][#fragment] where the charact

[jdev] Question on XMPP URIs?

2006-12-15 Thread Ishan De Silva
Hi, Generally a URI is of the form "scheme://authority/path". For example http://www.example.com/index.html A JID is of the form [EMAIL PROTECTED]/resource. If we have a JID [EMAIL PROTECTED]/Home, according to RFC 4622, the XMPP URI take the form xmpp://[EMAIL PROTECTED]/Home. Is there a