[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
There's a much more serious issue that people are missing here. XSLT is deeply incompatible with POST. By design XSLT is a functional language. This means that it is allowed to call any function at any time, and may call it more than once for reasons of optimization. There is no guarantee that the document function is called any particular number of times or at any particular time for any given URL.
This is perfectly OK for side-effect free GET. However, it could be actively dangerous for POST. The lack of POST support in XSLT is not an oversight. It's quite deliberate.
Re: [xsl] Document() function: GET vs. POST
Subject: Re: [xsl] Document() function: GET vs. POST From: Elliotte Harold <elharo@xxxxxxxxxxxxxxx> Date: Fri, 18 Nov 2005 13:33:56 -0500 |
There's a much more serious issue that people are missing here. XSLT is deeply incompatible with POST. By design XSLT is a functional language. This means that it is allowed to call any function at any time, and may call it more than once for reasons of optimization. There is no guarantee that the document function is called any particular number of times or at any particular time for any given URL.
This is perfectly OK for side-effect free GET. However, it could be actively dangerous for POST. The lack of POST support in XSLT is not an oversight. It's quite deliberate.
-- o;?Elliotte Rusty Harold elharo@xxxxxxxxxxxxxxx XML in a Nutshell 3rd Edition Just Published! http://www.cafeconleche.org/books/xian3/ http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Document() function: GET , granam | Thread | RE: [xsl] Document() function: GET , Michael Kay |
RE: [xsl] Problems transforming a <, Michael Kay | Date | RE: [xsl] Document() function: GET , Michael Kay |
Month |