From: Emmanuel d'O. <ed...@ab...> - 2008-03-28 21:41:17
|
Hi Andrzej, I'll follow your guidance. I'm going to do some further testing and let you know what happens. Thanks for your help. Emmanuel 2008/3/28, Andrzej Jan Taramina <an...@ch...>: > > Emmanuel: > > > I submitted an XHTML fragment from FCKeditor (post method) and tried to > > retrieve it in eXist using request:get-data(), but it returned nothing. > > Which version of eXist are you using? > > > When posted to a PHP script ($_POST["myFCKeditor"]), the XHTML fragment > is > > composed of several top-level nodes. > > Is it a well formed XML fragment (eg. one root element) or does it have > multiple root nodes? > > > I understand from the mailing list and the documentation that this > > function returns either an XML node, a xs:base64Binary or a string. In > > this case I was expecting a string. > > A string is what you should get if the data is not parseable, AFAIK. > > > I would like to know a little more about this function and the > recommended way > > to handle POST data in eXist. > > I would try a few different things. > > Might be useful to put in a quick HTTP Monitor function in between your > editor and eXist. The TCPMon utility that comes with Apache Axis is very > handy, since it will let you see the actual HTTP data that is going in > both > directions. Then you can see specifically what FCKeditor is sending. > > Post the HTTP transmission here (or email it to me) and I'll try and test > it > at my end. > > Another thing to try is to craft a quick XQuery script that uses the > httpclient extension to send similar data using a post to your original > XQuery for testing purposes. > > > > > > Andrzej Jan Taramina > Chaeron Corporation: Enterprise System Solutions > http://www.chaeron.com > > -- ------------------------------------------------------------- Emmanuel d'ORNANO // AB STUDIO 28 rue de Strasbourg - 94300 Vincennes M: 06.61.22.12.34 E: ed...@ab... W: www.abstudio.com ------------------------------------------------------------- Ce message ainsi que tout fichier attaché est confidentiel et à l'attention exclusive du destinataire. Il est interdit à toute autre personne que le destinataire de lire, copier, dupliquer et/ou diffuser le contenu à un tiers. Si vous n'êtes pas destinataire de ce message, merci de le détruire et d'avertir l'expéditeur. This message and any attachment are confidential and transmitted for the exclusive use of the intended recipient. It is prohibited for anyone else than the recipient to read, copy, duplicate and/or disclose the content to any third person. Should you receive this message by mistake, please delete it and contact the sender by return e-mail. ------------------------------------------------------------- |