Actually the XEP does mention the GET request limit in 18.2, just below example 40 (emphasis mine):
Although RFC 2616 does not limit the length of HTTP URIs, the runtime > environment of the client might restrict the length of the URI that it can > include in each GET request. > [30<http://www.xmpp.org/extensions/xep-0124.html#nt-id2266059>] > In these cases the client MUST reduce the content of the <body/> element > accordingly and send the remaining content in subsequent HTTP GET requests > wrapped in new <body/> elements (with incremented 'rid' attributes). This is > possible since, unlike Pure Syntax, with Script Syntax the connection > manager *MUST treat the string of characters between the opening and > closing <body> tags of each request as part of an octet stream instead of as > a set of complete XML stanzas. The content of any one <body/> element MUST > NOT be parsed in isolation from the rest of the stream*. > My interpretation of this is that each <body> can contain partial stanzas including unclosed tags that are closed subsequent <body>s. xmpp4js does not currently do this, in part because I am unsure that I'm interpreting it correctly, and in part because I haven't experienced a limit (though it's probably a matter of time). An example illustrating this in the XEP would be useful. Harlan On Mon, Jul 21, 2008 at 1:06 PM, Jack Moffitt <[EMAIL PROTECTED]> wrote: > > Part of xep-0124 allows cross-domain communication though an alternative > > script syntax. I just implemented it in xmpp4js: > > http://xmpp4js.sourceforge.net. JSJaC could easily be modified to > support it > > as well, and I can't speak for strophe. I think it took all of a dozen > lines > > of code for mine to support it. > > We can add it to Strophe pretty easily as well. > > One thing that I didn't see mentioned in the spec is that there are > restrictions on the length of GET requests, so the alternative script > syntax actually suffers from quite a serious limitation. I'm pretty > sure it would not work for many common things like getting avatars, > etc. > > According to http://www.boutell.com/newfaq/misc/urllength.html the > limit of IE is about 2k characters, which is too small for things > without some changes in how XMPP does rosters and vcard avatars, etc. > > It would be nice if the XEP was updated to reflect these limitations. > > jack. >
