[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problem while calling Web service through XSL code
Kavita Surana wrote:
Thank you, Mike for your quick reply. GET is part of the HTTP protocol. The length of the GET request is by definition unlimited (see RFC 2616), but practically I believe the limits are around 64K. However, many servers and browsers tend to limit GET requests around 4K already (and with the escaping involved you can sometimes hit that mark quicker than expected). As an example of other limits: IE has a limit of 2K, see http://support.microsoft.com/kb/208427. Another limit is implied by SGML that states that a URL can only be 1024 characters max. Specific schemes may have their own limits. An older URI specification (RFC 2068) said "Servers should be cautious about depending on URI lengths above 255 bytes, because some older client or proxy implementations may not properly support these lengths." Of course, if you specify a URI of the http scheme it is quite likely that an HTTP request (of the form GET) will be issued, but this is not defined by the XSLT standard, which only states that the URI must be valid. I.e., if you use the file scheme or the jar scheme something completely different may go on in the background. So, in summary, XSLT does not limit the lengths, but the server serving your document may. XSLT does not provide support for HTTP POST requests, though an XSLT processor may do so by a special scheme or an extension instruction/function. You can yourself create a way for a POST request by registering your own scheme and use it with, for instance, URIResolver in Saxon/Java. HTH, Cheers, -- Abel Braaksma
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|