What Simon says is correct.
XMLForamting the packet replaces all of the

< > " ' & symbols with &lt; &gt;

The WDDX serializer also attempts to replace all of
these symbols in your *conent* inside of the packet.

One behavior I have noted that is even given a properly
formatted packet before IE submits the form it re-converts
all of the non literal values &amp; &lt; with their
literal values and THEN submits the form. It does this
and no CF code touches it. It is posted to the exact same
form with only a CFOUTPUT of the packet and a CFABORT
in the application.cfm

It does not do this ine very browser (I was using IE 5.5)

I think it occurs randomly from browser to browser.. What
a pain. I have had several other folks check this out
and they all noted the same behavior with certain browsers.

So just be wary of this.. I am not exactly sure what causes
this behavior ro occur or if it is just me and the people
I had test this behaviors imagination.

Jeremy Allen
elliptIQ Inc.

>-----Original Message-----
>From: Carol Bluestein [mailto:[EMAIL PROTECTED]]
>Sent: Friday, February 02, 2001 3:36 PM
>To: CF-Talk
>Subject: Help: WDDX deserialize problem
>
>
>I'm sure this is a Friday problem and I'm just brain dead but I
>have no idea
>what is going wrong or what the message directs me to correct.
>Something is
>happening and I've no idea how to fix it or where to look.  Would
>appreciate it
>if someone could point me in right direction.  It is probably
>right under my
>nose but it has eluded me for longer than I care to say.
>
><CFWDDX action="cfml2wddx" input="#result_data#" output="wddxPacket">
><cf_dump var='#wddxPacket#'>
>
>Works fine: dump shows all info, no problem  (fields that have
>NULL in them are
>showing up empty)
>
>#HTMLEditFormat(wddxPacket)#  : also shows everything, no problem
>
>OK.  Stick in a form.
>
><FORM NAME="search" ACTION="sync_main_action2.cfm" METHOD="post">
><INPUT type="hidden"
>    name="wddxContent"
>    VALUE="#HTMLEditFormat(wddxPacket)#">
><input TYPE="submit" TITLE="Continue"  NAME="submit" VALUE="Continue"
>TITLE="Continue and process" ACCESSKEY="C" >
></FORM
>
>Go to Action page:
>
>Deserialize in "sync_main_action2.cfm"
>
><CFWDDX
>    input="#Form.wddxContent#"
>    output="qRowInfo"
>    action="WDDX2CFML">
>
>BOOOOMMMM!
>
>Error Diagnostic Information
>XML parsing error: not well-formed (error code 4, line 1, column 15, buffer
>offset 15)
>The error occurred while processing an element with a general identifier of
>(CFWDDX), occupying document position (50:1) to (53:20) in the
>template file
>/albweb/inet/docs/intranet/cfapps/star/sync/sync_main_action2.cfm
>The specific sequence of files included or processed is:
>/albweb/inet/docs/intranet/cfapps/star/sync/sync_main_action2.cfm .
>Date/Time: Fri Feb 02 15:32:13 2001
>Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)
>Remote Address: 10.57.92.152
>HTTP Referer: http://albwebdev2/cfapps/star/sync/sync_main_action.cfm
>Template: /albweb/inet/docs/intranet/cfapps/star/sync/sync_main_action2.cfm
>
>Thanks, in advance,
>Carol
>
>
>Carol L. Bluestein
>Senior Programmer
>NYS Office of Real Property
>518-486-6335
>[EMAIL PROTECTED]
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to