cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boisvert, Éric" <ebois...@nrcan.gc.ca>
Subject RE: CInclude behavior in 2.1.5.1 ang 2.1.6
Date Tue, 31 May 2005 15:15:09 GMT
has anybody solved this issue ? 
I have the same setup and the same problem.

-----Message d'origine-----
De : Mesut Ali Ergin [mailto:ergin@eden.rutgers.edu]
Envoyé : 15 février, 2005 10:38
À : users@cocoon.apache.org
Objet : CInclude behavior in 2.1.5.1 ang 2.1.6


Hi,

I have a setup that POSTs to some external server to get an output of a 
php script. I make use of CInclude for the purpose.  As I upgraded to 
2.1.6 from 2.1.5.1, CInclude started to make a GET request instead of 
POST. Additionally, GET request encodes parameters into XML with UTF-8 
encoding. The sitemap snippet and remote web server log is appended at 
the end. 2.1.5.1 still works fine with this setup. Any help would be 
greatly appreciated. Thanks.

--
Mesut Ali Ergin


SITEMAP:

            <map:match pattern="getThat.xml">
                <map:generate src="details.xml"/>
                <map:transform type="cinclude"/>
                <map:serialize type="xml"/>
            </map:match>

DETAILS.XML:

<data xmlns:cinclude="http://apache.org/cocoon/include/1.0">

<cinclude:includexml>
    <cinclude:src>http://localhost/theScript.php</cinclude:src>
    <cinclude:configuration>
    <cinclude:parameter>
      <cinclude:name>method</cinclude:name>
      <cinclude:value>POST</cinclude:value>
    </cinclude:parameter>
    </cinclude:configuration>
    <cinclude:parameters>
     <cinclude:parameter>
         <cinclude:name>login</cinclude:name>
         <cinclude:value>y</cinclude:value>
     </cinclude:parameter>
       ....
    </cinclude:parameters>
</cinclude:includexml>

</data>


APACHE ACCESS.LOG:

127.0.0.1 - - [14/Feb/2005:21:58:59 -0500] "GET 
/theScript.php?login=%3C%3Fxml%20version%3D\"1.0\"%20encoding%3D\"UTF-8\"%3F
%3Ey  
HTTP/1.1" 200 3907


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message